打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
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文件里面有。

作者“凌昶”

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
sendmail启动速度慢解决办法
linux下以二进制方式安装MySQL
Linux基础命令---ckconfig
Chkconfig 作用与原理小结
linux_离线_redis安装
linux(RedHat9)开启telnet服务
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服