黑菜 发表于 2012-5-19 20:00:03

这个页面的投票按钮为什么怎么试都提交不了

http://q.cnnb.com.cn/html/259.html
这个页面的投票按钮为什么怎么试都提交不了

求帮助~~~如何用autoit模拟投票啊{:face (245):}

zldfsz 发表于 2012-5-19 20:19:18

论坛搜索:网页快捕

my788522 发表于 2012-5-19 20:26:30

$oHTTP = ObjCreate("MSXML2.XMLHTTP")
$oHTTP.Open("get", "http://q.cnnb.com.cn/no_recaptcha.php", False)
$oHTTP.setRequestHeader("x-requested-with", "XMLHttpRequest")
$oHTTP.Send()
$a = $oHTTP.responsetext
$oHTTP = ObjCreate("MSXML2.XMLHTTP")
$oHTTP.Open("POST", "http://q.cnnb.com.cn/fillvote.php", False)
$oHTTP.setRequestHeader("Accept", "*/*")
$oHTTP.setRequestHeader("x-requested-with", "XMLHttpRequest")
$oHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded")
$oHTTP.setRequestHeader("Accept-Language", "zh-cn")
$oHTTP.setRequestHeader("User-Agent", "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)")
$needsend = "topic%5B299%5D%5B2452%5D=2452&topic%5B299%5D%5B2453%5D=2453&topic%5B299%5D%5B2463%5D=2463&no_recaptcha=" & $a & "&qid=698"
$oHTTP.Send($needsend);post关键数据
$a = ($oHTTP.responsetext)
MsgBox(0, "", $a)


有IP限制的 ADSL断线重连投票机 可以参考我的帖子
http://www.autoitx.com/thread-31857-1-1.html

黑菜 发表于 2012-5-19 20:29:03

本帖最后由 黑菜 于 2012-5-19 20:31 编辑

$oHTTP = ObjCreate("MSXML2.XMLHTTP")
$oHTTP.Open("get", "http://q.cnnb.com.cn/no_recaptcha.php", Fa ...
my788522 发表于 2012-5-19 20:26 http://www.autoitx.com/images/common/back.gif


   这是提交封包的原理??
不是模拟点击??这太牛了,能教教我怎么做“提交封包的”的这种吗。PM下QQ号码好吗

my788522 发表于 2012-5-19 20:30:54

$needsend = "topic%5B299%5D%5B2452%5D=2452&topic%5B299%5D%5B2453%5D=2453&topic%5B299%5D%5B2463%5D=2463&no_recaptcha=" & $a & "&qid=698"


注意把需要投票的ID 换掉
ID可以在页面的源文件里找到

xms77 发表于 2012-5-19 21:20:42

回复 3# my788522
有没有什么方法可以欺骗IP的?这样就不需要重启ADSL了,效率高多了@

hzxymkb 发表于 2012-5-19 22:08:10

回复 6# xms77


    同求此方法!

my788522 发表于 2012-5-19 22:18:15

回复 6# xms77


    貌似没有办法吧 即使VPN 代理什么的 也不完美

ooxxgod 发表于 2012-5-20 10:54:53

本帖最后由 ooxxgod 于 2012-5-20 10:57 编辑

不停的关猫 重启哈哈{:face (411):}rasphone -h 宽带连接
ping -n 1 127.1>nul
start /w C:\Windows\system32\rasdial 宽带连接 CD02885898333 85898333
ping -n 3 127.1>nul
start C:\Progra~1\Intern~1\IEXPLORE.EXE
ping -n 5 127.1>nul
taskkill /f /IM IEXPLORE.EXE
goto a
页: [1]
查看完整版本: 这个页面的投票按钮为什么怎么试都提交不了