-
Notifications
You must be signed in to change notification settings - Fork 294
/
98堂.har
1 lines (1 loc) · 11.3 KB
/
98堂.har
1
[{"comment":"获取loginhash和formhash","request":{"method":"GET","url":"https://wetytrytuyu.net/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"referer","value":"https://wetytrytuyu.net/forum.php"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"loginhash","re":"loginhash=([a-zA-Z0-9]+)","from":"content"},{"name":"formhash","re":"name=\"formhash\" value=\"(.+)\"","from":"content"},{"name":"sum","re":"0","from":"content"},{"name":"num","re":"0","from":"content"}]}},{"comment":"登录","request":{"method":"POST","url":"https://wetytrytuyu.net/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&loginhash={{loginhash|urlencode}}&inajax=1","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"origin","value":"https://wetytrytuyu.net"},{"name":"content-type","value":"application/x-www-form-urlencoded"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"referer","value":"https://wetytrytuyu.net/forum.php"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[],"data":"formhash={{formhash|urlencode}}&referer=https%3A%2F%2Fwetytrytuyu.net%2Fforum.php&loginfield=username&username={{username|urlencode}}&password={{password|urlencode}}&gacode=&questionid=0&answer=&cookietime=2592000","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"失败","from":"content"},{"re":"错误","from":"content"}],"extract_variables":[]}},{"comment":"签到页","request":{"method":"GET","url":"https://wetytrytuyu.net/plugin.php?id=dd_sign%3Aindex","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"referer","value":"https://wetytrytuyu.net/forum.php"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"loginhash","re":"loginhash=([a-zA-Z0-9]+)","from":"content"},{"name":"formhash","re":"name=\"formhash\" value=\"(.+)\"","from":"content"}]}},{"comment":"获取idhash","request":{"method":"GET","url":"https://wetytrytuyu.net/plugin.php?id=dd_sign&mod=sign&infloat=yes&handlekey=pc_click_ddsign&inajax=1&ajaxtarget=fwin_content_pc_click_ddsign","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"referer","value":"https://wetytrytuyu.net/plugin.php?id=dd_sign:index"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"formhash","re":"name=\"formhash\" value=\"(.+)\"","from":"content"},{"name":"idhash","re":"secqaa_(.+?)\"","from":"content"},{"name":"signtoken","re":"name=\"signtoken\" value=\"(.+)\"","from":"content"},{"name":"signhash","re":"signhash=(.+)\"","from":"content"}]}},{"comment":"获取验证公式","request":{"method":"GET","url":"https://wetytrytuyu.net/misc.php?mod=secqaa&action=update&idhash={{idhash|urlencode}}&{{random(0,1,16)|urlencode}}=","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"referer","value":"https://wetytrytuyu.net/plugin.php?id=dd_sign:index"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"verify","re":"sectplcode\\[2\\] \\+ '(.+?) =","from":"content"}]}},{"comment":"加法符号替换","request":{"method":"GET","url":"api://util/string/replace?r=text&p=%5C%2B&s={{verify|urlencode}}&t=%2C","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"verify1","re":".+","from":"content"}]}},{"comment":"减法符号替换","request":{"method":"GET","url":"api://util/string/replace?r=text&p=%5C-&s={{verify1|urlencode}}&t=%2C-","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"verify2","re":".+","from":"content"}]}},{"comment":"字符串替换","request":{"method":"GET","url":"api://util/string/replace?p=.*&t=%C2%A0&s={{verify2|replace(\" \",\"\")|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"OK\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"nums","re":"/([\\-1-9][0-9]*)/g","from":"content"}]}},{"comment":"for循环开始","request":{"method":"GET","url":"{% for num in nums %}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"undefined","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"累加计算","request":{"method":"GET","url":"api://util/string/replace?p=%C2%A0&t=%C2%A0&s={{add(sum,num)|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"sum","re":"\"处理后字符串\": \"(0|[1-9][0-9]*)","from":"content"}]}},{"comment":"for循环结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"undefined","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"签到验证","request":{"method":"GET","url":"https://wetytrytuyu.net/misc.php?mod=secqaa&action=check&inajax=1&modid=&idhash={{idhash|urlencode}}&secverify={{sum|urlencode}}","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"x-requested-with","value":"XMLHttpRequest"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"accept","value":"*/*"},{"name":"referer","value":"https://wetytrytuyu.net/plugin.php?id=dd_sign:index"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"invalid","from":"content"}],"extract_variables":[]}},{"comment":"签到","request":{"method":"POST","url":"https://wetytrytuyu.net/plugin.php?id=dd_sign&mod=sign&signsubmit=yes&handlekey=pc_click_ddsign&signhash={{signhash|urlencode}}&inajax=1","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"origin","value":"https://wetytrytuyu.net"},{"name":"content-type","value":"application/x-www-form-urlencoded"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"},{"name":"referer","value":"https://wetytrytuyu.net/plugin.php?id=dd_sign:index"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[],"data":"formhash={{formhash|urlencode}}&signtoken={{signtoken|urlencode}}&secqaahash={{idhash|urlencode}}&secanswer={{sum|urlencode}}","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"msg","re":"([\\u4e00-\\u9fa50-9,!。]+)<","from":"content"}]}},{"comment":"积分页","request":{"method":"GET","url":"https://wetytrytuyu.net/home.php?mod=spacecp&ac=credit","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"x-requested-with","value":"XMLHttpRequest"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36"},{"name":"accept","value":"*/*"},{"name":"referer","value":"https://wetytrytuyu.net/plugin.php?id=dd_sign:index"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"invalid","from":"content"}],"extract_variables":[{"name":"jq","re":"金钱: </em>(\\d+)","from":"content"},{"name":"jf","re":"积分: </em>(\\d+)","from":"content"},{"name":"sb","re":"色币: </em>(\\d+)","from":"content"},{"name":"pf","re":"评分: </em>(\\d+)","from":"content"},{"name":"nickName","re":"访问我的空间\">(.+?)<","from":"content"}]}},{"comment":"字符串替换","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E7%94%A8%E6%88%B7%EF%BC%9A%E3%80%90{{nickName|urlencode}}%E3%80%91%5Cr%5Cn%E7%AD%BE%E5%88%B0%E4%BF%A1%E6%81%AF%EF%BC%9A%E3%80%90{{msg|urlencode}}%E3%80%91%5Cr%5Cn%E9%87%91%E9%92%B1%EF%BC%9A%E3%80%90{{jq|urlencode}}%E3%80%91%EF%BC%8C%E7%A7%AF%E5%88%86%EF%BC%9A%E3%80%90{{jf|urlencode}}%E3%80%91%EF%BC%8C%E8%89%B2%E5%B8%81%EF%BC%9A%E3%80%90{{sb|urlencode}}%E3%80%91%EF%BC%8C%E8%AF%84%E5%88%86%EF%BC%9A%E3%80%90{{pf|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":".+","from":"content"}]}}]