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

作者“凌昶”

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值