自动登录Chinaren校友录脚本
来源:互联网 发布:淘宝搜索引擎原理 编辑:程序博客网 时间:2024/04/29 04:13
以下为我写的自动登录Chinaren校友录的脚本:
'============================
On Error Resume Next
set Wshell=WScript.createobject("WScript.shell")
while(true)
'On Error Resume Next
set ie=WScript.createobject("internetexplorer.application")
ie.navigate "http://alumni.chinaren.com/class/class_index.jsp?classuuid=135876464987354687345"
ie.visible=true
do
Wscript.sleep 6000
loop until (ie.ReadyState=3 Or ie.ReadyState = 4)
Wscript.sleep 4000
Set txt =ie.Document.body.createTextRange()
If(txt.findText("本班成员登录才可查看")) then
ie.visible = true
in_name = ie.Document.getElementsByName("uid")
in_pass = ie.Document.getElementsByName("passwd")
in_name.value = "你的用户名"
in_pass.value = "你的密码"
Wscript.sleep 500
in_pass.focus()
wshell.sendkeys "~"
Wscript.sleep 1000
ie.visible = false
do
Wscript.sleep 3000
loop until (ie.ReadyState = 3 Or ie.ReadyState = 4)
End if
'if err.number then
' err.Clear
'end if
wscript.sleep 30000
'wshell.sendkeys"^w"
ie.quit()
wscript.sleep 1000*60*15
wend
'=======================================
将以上文字拷贝到文本文件中,然后将“classuuid=135876464987354687345”中的“135876464987354687345”改为你班级主页的id,然后将“你的用户名”改为你的用户名,例如:xuwedo2001,将“你的密码”改为你的密码,例如:159753。保存,然后将文件的扩展名改为“.vbs”,例如:autoLoginChinaren.vbs,然后双击即可。
'============================
On Error Resume Next
set Wshell=WScript.createobject("WScript.shell")
while(true)
'On Error Resume Next
set ie=WScript.createobject("internetexplorer.application")
ie.navigate "http://alumni.chinaren.com/class/class_index.jsp?classuuid=135876464987354687345"
ie.visible=true
do
Wscript.sleep 6000
loop until (ie.ReadyState=3 Or ie.ReadyState = 4)
Wscript.sleep 4000
Set txt =ie.Document.body.createTextRange()
If(txt.findText("本班成员登录才可查看")) then
ie.visible = true
in_name = ie.Document.getElementsByName("uid")
in_pass = ie.Document.getElementsByName("passwd")
in_name.value = "你的用户名"
in_pass.value = "你的密码"
Wscript.sleep 500
in_pass.focus()
wshell.sendkeys "~"
Wscript.sleep 1000
ie.visible = false
do
Wscript.sleep 3000
loop until (ie.ReadyState = 3 Or ie.ReadyState = 4)
End if
'if err.number then
' err.Clear
'end if
wscript.sleep 30000
'wshell.sendkeys"^w"
ie.quit()
wscript.sleep 1000*60*15
wend
'=======================================
将以上文字拷贝到文本文件中,然后将“classuuid=135876464987354687345”中的“135876464987354687345”改为你班级主页的id,然后将“你的用户名”改为你的用户名,例如:xuwedo2001,将“你的密码”改为你的密码,例如:159753。保存,然后将文件的扩展名改为“.vbs”,例如:autoLoginChinaren.vbs,然后双击即可。
- 自动登录Chinaren校友录脚本
- 校友录chinaren管理员播放音乐和Flash
- Chinaren校友录所用的左边弹出式菜单
- 抓取chinaren.com校友录留言的PHP小程序
- 如何在ChinaRen校友录中免费发多彩留言
- SecureCRT 自动登录脚本
- ftp脚本自动登录
- secureCRT 自动登录脚本
- 自动登录FTP脚本
- ssh 自动登录脚本
- ssh自动登录脚本
- FTP自动登录脚本
- VB自动登录脚本
- expect脚本自动登录
- xshell自动登录脚本
- 自动登录OA脚本
- SSH自动登录脚本
- SSH自动登录脚本
- 你从未用过的 10 条 Linux 命令?
- 11号楼辅助设置.bat
- 关于Alpha.beta,RC等版本意义
- 筹备工程实践过程中的想法
- C++中潜在的二义性
- 自动登录Chinaren校友录脚本
- JNDI
- ERP入场启动大会
- abstract method Graphics.drawString()?
- 分析器错误信息: 在应用程序级别以外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。导致该错误的原因可能是在 IIS 中没有将虚拟目录作为应用程序进行配置。
- 如何解决VS.NET中应用程序编译完后改变引用位置的问题
- 公有继承
- 3120电子书_主板报警声查询
- 读写控件设计器