drcom for linux

来源:网络 责任编辑:栏目编辑 发表时间:2013-07-01 14:47 点击:

一直想下大决心把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文件里面有。

作者“凌昶”

    相关新闻>>

      发表评论
      请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
      用户名: 验证码:点击我更换图片
      最新评论 更多>>

      推荐热点

      • /etc/fstab 详解
      • nginx主主集群
      •  LVS-NAT和LVS-DR模式的实现详解
      •  RHCE考试之磁盘配额
      • 学习笔记:ACL详解
      • suse linux双网卡双网关配置
      •  LVM逻辑卷管理器
      •  Nginx主主负载均衡架构
      • ubuntu学习Mysql

      快速直达

      操作系统导航

      LinuxWindows虚拟机
      网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
      Copyright © 2008-2015 计算机技术学习交流网. 版权所有

      豫ICP备11007008号-1