Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drcom6.0D版 心跳包发送后认证服务器返回 This program can not be run in Dos mode #383

Open
Ruomoe opened this issue Sep 7, 2023 · 0 comments

Comments

@Ruomoe
Copy link

Ruomoe commented Sep 7, 2023

2023.9.7 晚上9点左右突然掉线,重启电脑后 使用原来的 python 脚本无法上网,使用drcom客户端后可以正常上网。
经过WireShark抓包进行比对后 发现 python 发送心跳包以后 认证服务器会返回一个 长度为 272的包 WireShark 中可以看到包内有明显的
This program can not be run in Dos mode 字样。

如图所示
图片

正常的DrCom客户端的心跳包不会有这样的提示 并且发现DrCom客户端发送的心跳包跟python脚本发送的心跳包内容有差别
python如图

图片

DrCom如图
图片

使用的配置
server = '10.10.10.5'
username = '#'
password = '#'
CONTROLCHECKSTATUS = '\x20'
ADAPTERNUM = '\x08'
host_ip = '172.26.191.228'
IPDOG = '\x01'
host_name = 'fuyumi'
PRIMARY_DNS = '10.10.10.23'
dhcp_server = '10.10.10.173'
AUTH_VERSION = '\x2f\x00'
mac = 0x464151810000
host_os = 'Windows'
KEEP_ALIVE_VERSION = '\xdc\x02'
ror_version = True

python脚本为
latest-wired.py

正常的DrCom客户端抓包文件
drcom

不正常的Python脚本抓包文件
python

python脚本日志
log

ps: 不正常的抓包文件中 开头是不正常的 后边儿打开了drcom客户端 是正常的 忘记关闭抓包了 qaq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant