admin管理员组文章数量:1516870
drcom linux怎么运行,drcom for linux
一直想下大决心把win7换成ubuntu11.04,无奈舍不得一些游戏,今日下想来彻底解决下linux 上drcom登陆的问题。学校的服务器不提供直接的web认证的方式,本来想直接用开源的drcom-1.4.8,编译安装成功,但总是无法登陆,主页上 说已经不支持现在的3.73(u33)版本想来也不支持我们所用的3.73(u60)版本。但坊间一直流传着一个神一样的html文件,用以登陆,既然说 是神一样的文件,当然,我们这里也是可以用的。但是我每次关机总是忘记注销,所以经常在关机后很长一段时间内无法再次登陆。因为,就写了两个脚本,用以开机自动登陆,关机自动注销。
#!/bin/sh
#filename drcomlogin
#this is drcom-client script .use "chkconfig --level 35 drcomlogin off" to disable script
#chkconfig:35 88 09
#description:drcom login
curl -d "DDDDD=username@mingzheng&upass=password&0MKKey=%B5%C7%C2%BC+Login" xxx.xxx.xxx.xx
exit 0
[root@localhost /]#chkconfig --add drcomlogin
[root@localhost /]#chkconfig --level 35 drcomlogin on
#!/bin/sh
#filename drcomlogout
#this is drcom-client script .use "chkconfig --level 06 drcomlogout off" to disable script
#chkconfig:06 00 95
#description:drcom logout
curl "xxx.xxx.xxx.xxx/F.htm?Submit=Logout"
exit 0
[root@localhost /]#chkconfig --add drcomlogout
[root@localhost /]#chkconfig --level 06 drcomlogout on
#########以上username替换成账号,将password替换成密码,XXX替换成认证服务器IP,此IP在windows下drcom安装目录下的edata.dat文件里面有。
作者“凌昶”
本文标签: drcom linux怎么运行drcom for linux
版权声明:本文标题:drcom linux怎么运行,drcom for linux 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.betaflare.com/biancheng/1701093152a334612.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论