drcoms / drcom-HC5661-1s-patch

Dr.COM/DrCOM HC5661 补丁
23 stars 6 forks source link

u64R0 #5

Closed ly0 closed 10 years ago

lql861 commented 10 years ago

我这边是U64的,测试把 235 行的 data += '\x1a\x00' # for u64, \x1a\x00 改成 data += '\x0f\x00' # for u64, \x1a\x00 还是死循环,目前账号已被学校强制停用,目测过一断时间才可以继续测试

ly0 commented 10 years ago

同样的错误吗?还是有其他新的问题

lql861 commented 10 years ago

同样的问题,不过我又下载了那个 client-debug2.py 来自windows 5.20 u0.8 64的 这个测试如下:alive2 后边循环 auth svr:10.30.1.19 username:admin3liqilin mac:0x2cd05a5a28b3L [challenge] recv 0202166030950c0000000100f003e8f000000000ac145547f000a8a80000e659f16700000000dc02000000000000000000000000000000000000000000000000000000000000000000000000 [DEBUG] challenge: 0202166030950c0000000100f003e8f000000000ac145547f000a8a80000e659f16700000000dc02000000000000000000000000000000000000000000000000000000000000000000000000 [challenge] challenge packet sent. [mkpkt] 03010021a180b54298e75fdae7de71b7a93b96f761646d696e336c6971696c696e000000000000000000000000000000000000000000000020028d50ef18b054aca515be08b7edda52dee05a00185417010a1e1611000000000000000000000000a2215f05488b8baa01000000004c49000000000000000000000000000000000000000000000000000000000000ca6260440aff00c5080808080000000000000000940000000500000001000000280a00000200000038303839440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00020c901be47700002cd05a5a28b30000c266 [login] send 03010021a180b54298e75fdae7de71b7a93b96f761646d696e336c6971696c696e000000000000000000000000000000000000000000000020028d50ef18b054aca515be08b7edda52dee05a00185417010a1e1611000000000000000000000000a2215f05488b8baa01000000004c49000000000000000000000000000000000000000000000000000000000000ca6260440aff00c5080808080000000000000000940000000500000001000000280a00000200000038303839440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00020c901be47700002cd05a5a28b30000c266 [login] recv 0400000500801900005bc2fe0100000000ff00000000004472636f0a1e01133178ac14554701f5b00500030110 [login] packet sent. [login] loged in [login] login sent package_tail 4472636f0a1e01133178ac14554701f5 starting to empty socket buffer recived sth unexcepted 4d3adef2d0c2bda8d6d8b6a8cff23600 exception in empty_socket_buffer emptyed [keep-alive2] send1 070028000b010f272f12000000000000000000000000000000000000000000000000000000000000 [keep-alive2] recv/unexpected 070010010b06dc022f12000000000000a8a80000e659f16700000000dc0200004d5a90000300000004000000ffff0000b800000000000000400000000000000000000000000000000000000000000000000000000000000000000000080100000e1fba0e00b409cd21b8014ccd21546869732070726f6772616d2063616e6e6f742062652072756e20696e20444f53206d6f64652e0d0d0a24000000000000007cc3835a38a2ed0938a2ed0938a2ed096181fe093aa2ed0943bee10939a2ed09bbaab00932a2ed09bbbee3093aa2ed0957bde60939a2ed0957bde7093da2ed0957bde9093aa2ed0938a2ec0981a2ed090e84e9093ba2ed090e84e60930a2ed09ffa4eb0939a2ed09c782e9093ba2ed09 [keep-alive2] recv/unexpected 070010010b06dc022f12000000000000a8a80000e659f16700000000dc0200004d5a90000300000004000000ffff0000b800000000000000400000000000000000000000000000000000000000000000000000000000000000000000080100000e1fba0e00b409cd21b8014ccd21546869732070726f6772616d2063616e6e6f742062652072756e20696e20444f53206d6f64652e0d0d0a24000000000000007cc3835a38a2ed0938a2ed0938a2ed096181fe093aa2ed0943bee10939a2ed09bbaab00932a2ed09bbbee3093aa2ed0957bde60939a2ed0957bde7093da2ed0957bde9093aa2ed0938a2ec0981a2ed090e84e9093ba2ed090e84e60930a2ed09ffa4eb0939a2ed09c782e9093ba2ed09

lql861 commented 10 years ago

同样的错误,就这一点不一样。 现在账号被封了,不敢猛劲测了,我QQ985078392,电话18137815237

------------------ 原始邮件 ------------------ 发件人: "Yangjie Li"notifications@github.com; 发送时间: 2014年9月12日(星期五) 晚上11:03 收件人: "drcoms/HC5661-1s-patch"HC5661-1s-patch@noreply.github.com; 抄送: "阿林"liqilinchn@gmail.com; 主题: Re: [HC5661-1s-patch] u64R0 (#5)

同样的错误吗?还是有其他新的问题

— Reply to this email directly or view it on GitHub.

ly0 commented 10 years ago

你这个已经登陆成功了,好像是心跳没成功 04包是登陆成功的标志,你可以加群 318495368

[login] recv 0400000500801900005bc2fe0100000000ff00000000004472636f0a1e01133178ac14554701f5b00500030110

但是后面的似乎是有什么信息,返回的东西不对的样子

lql861 commented 10 years ago

上边有个吉林大学的程序,我测试了那个,成功了。

------------------ 原始邮件 ------------------ 发件人: "Yangjie Li"notifications@github.com; 发送时间: 2014年9月12日(星期五) 晚上11:47 收件人: "drcoms/HC5661-1s-patch"HC5661-1s-patch@noreply.github.com; 抄送: "阿林"liqilinchn@gmail.com; 主题: Re: [HC5661-1s-patch] u64R0 (#5)

你这个已经登陆成功了,好像是心跳没成功 04包是登陆成功的标志,你可以加群 318495368 [login] recv 0400000500801900005bc2fe0100000000ff00000000004472636f0a1e01133178ac14554701f5b00500030110
— Reply to this email directly or view it on GitHub.

ly0 commented 10 years ago

… 你们居然支持那么老的协议,不过可以用就好。恭喜恭喜。

lql861 commented 10 years ago

在电脑上测试老是掉线呀,不停的掉线,这个有办法解决吗

------------------ 原始邮件 ------------------ 发件人: "Yangjie Li"notifications@github.com; 发送时间: 2014年9月13日(星期六) 凌晨0:35 收件人: "drcoms/HC5661-1s-patch"HC5661-1s-patch@noreply.github.com; 抄送: "阿林"liqilinchn@gmail.com; 主题: Re: [HC5661-1s-patch] u64R0 (#5)

… 你们居然支持那么老的协议,不过可以用就好。恭喜恭喜。

— Reply to this email directly or view it on GitHub.

ly0 commented 10 years ago

你用的是jlu的drcom么? 那个脚本有很多不适用于其他学校的,要做适当修改 如果是掉线问题,可以试试把keep_alive2函数换成最新的

lql861 commented 10 years ago

我把新版的alive2换过去不行,不过掉线问题我找到原因了,后边check online 后边的认证服务器地址忘记修改了。修改后,现在会断线会自动认证了。 太好了,现在才大二,终于摆脱网线了,以后幸福了。谢谢了,以后有啥问题还望继续指教。

lql861 commented 10 years ago

这个脚本其它的都可以,就有一点,断线重播的时候,会有5秒左右的重播时间,玩CF的时候会卡掉线。 这是检测在线的代吗:怎么能让他提前一点拨号 check_online = urllib2.urlopen('http://') foo = check_online.read() if '' in foo: print '[keep_alive2] offline.relogin...' break;

MODIFIED END

    ''' 
    if i % 10 == 0:
      check_online = urllib2.urlopen('http://')
      foo = check_online.read()
      if 'login.jlu.edu.cn' in foo:
        print '[keep_alive2] offline.relogin...'
        break;
    '''
  except:
    pass
ly0 commented 10 years ago

吉大那个keepalive2 忘了 i % 0xFF了,你试试复制最新版的这个函数替换一下

lql861 commented 10 years ago

替换后还是有问题:这点循环,就跟之前的情况一样了alive2循环 [keep-alive2] recv/unexpected 070010010b06dc028c9a000000000000a8a80000e659f16700000000dc0200004d5a90000300000004000000ffff0000b800000000000000400000000000000000000000000000000000000000000000000000000000000000000000080100000e1fba0e00b409cd21b8014ccd21546869732070726f6772616d2063616e6e6f742062652072756e20696e20444f53206d6f64652e0d0d0a24000000000000007cc3835a38a2ed0938a2ed0938a2ed096181fe093aa2ed0943bee10939a2ed09bbaab00932a2ed09bbbee3093aa2ed0957bde60939a2ed0957bde7093da2ed0957bde9093aa2ed0938a2ec0981a2ed090e84e9093ba2ed090e84e60930a2ed09ffa4eb0939a2ed09c782e9093ba2ed09

ly0 commented 10 years ago

已在其他平台解决。