lanfengc 发表于 2010-4-21 18:51:04

抓包抓到这段POST代码。如何用AU3实现?

POST /account/activate HTTP/1.1..Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*..Referer: http://www.7uif.com/account/activation_input..Accept-Language: zh-cn..Content-Type: application/x-www-form-urlencoded..UA-CPU: x86..Accept-Encoding: gzip, deflate..User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; QQPinyin 689; QQPinyin 730; GTB6.4)..Host: www.7uif.com..Content-Length: 165..Connection: Keep-Alive..Cache-Control: no-cache..Cookie: cc=45d5ff67c58bfede8026bb6b8bb18d6bd1709884; u=17acab40f310e9472ecf06cd49af61ff48ecde28; pt=2bhmegzjzcb0mr2z71ewfzqqr.yqeenq; __utmc=244509123; __utma=244509123.604687659.1271845603.1271845603.1271845603.1; __utmb=244509123.37.10.1271845603; __utmz=244509123.1271845603.1.1.utmcsr=tzyol.7uif.com|utmccn=(referral)|utmcmd=referral|utmcct=/activation.html....userId=fengzitzy&userIdConfirm=fengzitzy&number=3aadvccx&followup=http%3A%2F%2Ftzyol.7uif.com%2Fiframe%2Factivation_ok%2Factivation_ok.html&submit=%E7%A1%AE%E8%AE%A4

lanfengc 发表于 2010-4-21 18:51:36

其中 fengzitzy 是账号。 3aadvccx 是当前激活码。无效。

lanfengc 发表于 2010-4-21 19:16:45

你能不能 换下行 看的头好疼。。
chenjiaji 发表于 2010-4-21 18:53 http://autoitx.com/images/common/back.gif


    我也看不懂。 抓包工具抓出来就这个样子。

lanfengc 发表于 2010-4-21 19:17:29

我自己写了这个模拟手工操作的工具已经激活成功了好多号了,可惜就是不知道POST怎么操作。
代码如下。#NoTrayIcon
HotKeySet ("{F9}","quit")
$id=InputBox("账号设置","请输入您的账号!","","",200,80)
MsgBox(0,"提示","程序开始后可以按F9退出。")
If WinExists("天之翼OL-账号激活") Then
        Sleep(100)
        WinActivate("天之翼OL-账号激活")
        Sleep(200)
        MouseClick("left",510,340,1,1)
        Send("{tab 4}")
        Send($id)
        Send("{tab}")
        Send($id)
Else
        Run("C:\Program Files\Internet Explorer\iexplore.exe http://tzyol.7uif.com/activation.html")
        WinWaitActive("天之翼OL-账号激活")
        WinSetState("天之翼OL-账号激活","",@SW_MAXIMIZE)
        Sleep(1000)
        MouseClick("left",510,353,1,1)
        Sleep(200)
        Send($id)
        Send("{tab}")
        Send($id)
EndIf
While 1
InetGet("http://vote.newgame.17173.com/taohao.php?id=401","souce.txt",1)
$str=FileRead("souce.txt")
$1=StringSplit($str,"red>",1)
$2=StringSplit($1,"</font>",1)
$CODE=$2

MouseClick("left",510,423,2,1)
Send($CODE)
Send("{enter}")
Sleep(200)
MouseClick("left",510,423,2,1)
Sleep(200)
WEnd

Func quit()
        Exit
EndFunc

独孤伊狼 发表于 2010-4-21 21:11:51

抓包都抓错了,唉!

独孤伊狼 发表于 2010-4-21 21:13:17

要提取POST提交时的数据,你给出这么一堆代码,我能看懂,不过实话说了,没找到最关键的Post提交数据!

298311657 发表于 2010-4-22 00:40:11

userId=fengzitzy&userIdConfirm=fengzitzy&number=3aadvccx&followup=http%3A%2F%2Ftzyol.7uif.com%2Fiframe%2Factivation_ok%2Factivation_ok.html

298311657 发表于 2010-4-22 00:50:55


$web = "http://www.7uif.com/account/register_simple_step1"
$oHTTP = ObjCreate("microsoft.xmlhttp")
$oHTTP.Open("post", $web, False)
$oHTTP.setRequestHeader("Cache-Control", "no-cache")
$oHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded")
$oHTTP.setRequestHeader("Content-Length", "31")
$oHTTP.Send("userId=r123456&passwordText=123456&passwordConfirm=123456&email=123456@qq.com&captchaText=vdeu&agreement=on&followup=http%3A%2F%2Ftzyol.7uif.com%2Fiframe%2Fregister_ok1%2Fregister_ok1.html")
MsgBox(0,'',BinaryToString($oHTTP.responseText))

lanfengc 发表于 2010-4-25 11:46:36



如图。

crkey12345 发表于 2010-5-19 17:20:17

换了头像我再告诉你

chenbo2003 发表于 2010-6-10 22:42:48

确实头像让人觉得不舒服。
页: [1]
查看完整版本: 抓包抓到这段POST代码。如何用AU3实现?