drcoms / drcom-generic

Dr.COM/DrCOM 现已覆盖 d p x三版。
GNU Affero General Public License v3.0
1.15k stars 268 forks source link

PC测试正常,脚本在路由器能正常运行但是没有网络(深圳大学) #359

Open chenlele-cll opened 4 years ago

chenlele-cll commented 4 years ago

[login] packet sent. auth svr: 192.168.255.251 username: 381338 password: 05143071 mac: 0xa30c020ce06 bind ip: 0.0.0.0 auth svr: 192.168.255.251 username: 381338 password: 05143071 mac: 0xa30c020ce06 bind ip: 0.0.0.0 auth svr: 192.168.255.251 username: 381338 password: 05143071 mac: 0xa30c020ce06 bind ip: 0.0.0.0 [challenge] recv 02029574938816000a000100f303e8f000000000c0a82df2f000a8a80000e659f16700000000dc02000000000000000000000000000000000000000000000000000000000000000000000000 [DEBUG] challenge: 02029574938816000a000100f303e8f000000000c0a82df2f000a8a80000e659f16700000000dc02000000000000000000000000000000000000000000000000000000000000000000000000 [challenge] challenge packet sent. [mkpkt] 0301001a690ac1063a67ef40ded1e5b8cdd1ff783338313333380000000000000000000000000000000000000000000000000000000000002004ca06c30ada0369cf55e2a9df9a4e82682c172429a7ef01c0a82dac00000000000000000000000053ae76cba35b93b9010000000047494c4947494c49455945000000000000000000000000000000000000000000ca608685c0a82d21000000000000000000000000940000000500000001000000280a00000200000057696e646f77732031300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000008caf9879148bac68b020ce0496e950000a30c020ce064e913 [login] send 0301001a690ac1063a67ef40ded1e5b8cdd1ff783338313333380000000000000000000000000000000000000000000000000000000000002004ca06c30ada0369cf55e2a9df9a4e82682c172429a7ef01c0a82dac00000000000000000000000053ae76cba35b93b9010000000047494c4947494c49455945000000000000000000000000000000000000000000ca608685c0a82d21000000000000000000000000940000000500000001000000280a00000200000057696e646f77732031300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000008caf9879148bac68b020ce0496e950000a30c020ce064e913 [login] packet sent. [login] recv 0400000500000000000000000000000000ff00000000004472636fc0a8fedccf21c0a82df20121b00500030100 [login] loged in [login] login sent package_tail 4472636fc0a8fedccf21c0a82df20121 starting to empty socket buffer exception in empty_socket_buffer emptyed [keep_alive1_challenge] keep_alive1_challenge packet sent. [keep_alive1_challenge] recv 07a01000020000004a609404c0a82df2a8a80000e659f16700000000dc020000 [keep_alive1] send ff000000000000004a60940412aa527471a58b964472636fc0a8fedccf21c0a82df20121742c [keep-alive1]recv 070110000600742c4a609404c0a82df2a8a80000e659f16700000000dc02000003000000010000000100000000000000000000000000000000b84c0affffffff0000000000000000 [keep-alive2] send1 070028000b010f272f12000000000000000000000000000000000000000000000000000000000000 [keep-alive2] recv1 070010010b06dc022f12000000000000a8a80000e659f16700000000dc0200004d5a90000300000004000000ffff0000b800000000000000400000000000000000000000000000000000000000000000000000000000000000000000080100000e1fba0e00b409cd21b8014ccd21546869732070726f6772616d2063616e6e6f742062652072756e20696e20444f53206d6f64652e0d0d0a24000000000000007cc3835a38a2ed0938a2ed0938a2ed096181fe093aa2ed0943bee10939a2ed09bbaab00932a2ed09bbbee3093aa2ed0957bde60939a2ed0957bde7093da2ed0957bde9093aa2ed0938a2ec0981a2ed090e84e9093ba2ed090e84e60930a2ed09ffa4eb0939a2ed09c782e9093ba2ed09 [keep-alive2] recv file, resending.. [keep-alive2] send2 070128000b01dc022f12000000000000000000000000000000000000000000000000000000000000 [keep-alive2] recv2 070128000b02dc022f120000000000004a6094040000000000000000000000000000000000000000 [keep-alive2] send3 070228000b03dc022f120000000000004a6094040000000000000000c0a82dac0000000000000000 [keep-alive2] recv3 070228000b04dc022f120000000000004a6094040000000000000000000000000000000000000000 [keep-alive2] keep-alive2 loop was in daemon. [keep_alive1_challenge] keep_alive1_challenge packet sent. [keep_alive1_challenge] recv 07b410000200000003619404c0a82df2a8a80000e659f16700000000dc020000 [keep_alive1] send ff0000000000000003619404553952a7dc4d38d94472636fc0a8fedccf21c0a82df201217440 [keep-alive1]recv 070110000600744003619404c0a82df2a8a80000e659f16700000000dc020000170000000b0000000d00000000000000000000000000000000b84c0affffffff0000000000000000 [keep_alive2] send 3 070328000b01dc022f120000000000004a6094040000000000000000000000000000000000000000 [keep_alive2] recv 070328000b02dc022f12000000000000036194040000000000000000000000000000000000000000 [keep_alive2] send 4 070428000b03dc022f12000000000000036194040000000000000000c0a82dac0000000000000000 [keep_alive2] recv 070428000b04dc022f12000000000000036194040000000000000000000000000000000000000000 [keep_alive1_challenge] keep_alive1_challenge packet sent. [keep_alive1_challenge] recv 07c8100002000000bd619404c0a82df2a8a80000e659f16700000000dc020000 [keep_alive1] send ff00000000000000bd619404f63cd40bf4a95b964472636fc0a8fedccf21c0a82df201217454 [keep-alive1]recv 0701100006007454bd619404c0a82df2a8a80000e659f16700000000dc0200002b0000000b0000000d00000000000000000000000000000000b84c0affffffff0000000000000000 [keep_alive2] send 5 070528000b01dc022f12000000000000036194040000000000000000000000000000000000000000 [keep_alive2] recv 070528000b02dc022f12000000000000bd6194040000000000000000000000000000000000000000 [keep_alive2] send 6 070628000b03dc022f12000000000000bd6194040000000000000000c0a82dac0000000000000000 [keep_alive2] recv 070628000b04dc022f12000000000000bd6194040000000000000000000000000000000000000000 [challenge] recv 0202c974a68816000a000100f303e8f000000000c0a82df2f000a8a80000e659f16700000000dc02000000000000000000000000000000000000000000000000000000000000000000000000 [DEBUG] challenge: 0202c974a68816000a000100f303e8f000000000c0a82df2f000a8a80000e659f16700000000dc02000000000000000000000000000000000000000000000000000000000000000000000000 [challenge] challenge packet sent. [mkpkt] 0301001a7f153e11ff369b619e388f2c9c8a965c3338313333380000000000000000000000000000000000000000000000000000000000002004dc193c1d1f5296526e47d29177690a37b1b684df15b601c0a82dac000000000000000000000000154c8ee6c914a584010000000047494c4947494c49455945000000000000000000000000000000000000000000ca608685c0a82d21000000000000000000000000940000000500000001000000280a00000200000057696e646f777320313000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000087a01782966306582020cd063c30f0000a30c020ce064e913 [login] send 0301001a7f153e11ff369b619e388f2c9c8a965c3338313333380000000000000000000000000000000000000000000000000000000000002004dc193c1d1f5296526e47d29177690a37b1b684df15b601c0a82dac000000000000000000000000154c8ee6c914a584010000000047494c4947494c49455945000000000000000000000000000000000000000000ca608685c0a82d21000000000000000000000000940000000500000001000000280a00000200000057696e646f777320313000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000087a01782966306582020cd063c30f0000a30c020ce064e913 [login] packet sent.

chenlele-cll commented 4 years ago

这是在路由器运行的log

chenlele-cll commented 4 years ago

wan口协议为DHCP

chenlele-cll commented 4 years ago

求大佬解答呜呜呜

atomsand commented 4 years ago

可以提供一下完全的config吗

TakaSoap commented 4 years ago

同深圳大学,可以分享一下config吗?

WenceyWang commented 4 years ago

你们有没有试过 http://172.30.255.2/a30.html 呢?

TakaSoap commented 4 years ago

server = '172.30.255.2' username='######' password='######' CONTROLCHECKSTATUS = '\x20' ADAPTERNUM = '\x09' host_ip = '172.30.232.66' IPDOG = '\x01' host_name = 'FUCKDRCOMS' PRIMARY_DNS = '114.114.114.114' dhcp_server = '172.30.232.254' AUTH_VERSION = '\x30\x00' mac = 0x55d0020c2011 host_os = 'NOTE7' KEEP_ALIVE_VERSION = '\xff\xfd' ror_version = True

深圳大学,按照这个config实测可以用,分享给大家

tymon42 commented 3 years ago