|
|
本帖最后由 jh69332 于 2016-4-19 23:45 编辑
神器一直提示 [神器提示:可能‘formhash’值没获取。但是我写规则的时候用正则是可以获取的
[登录编码]utf8[/登录编码]
[发布编码]gbk[/发布编码]
--------------------------------------------------------------------------------清除cookie
[清除Cookie]i.biketo.com[/清除Cookie]
[登录退出][/登录退出]
[登录验证码]http://i.biketo.com/member/verifycode.html[/登录验证码]
[登录前提交网址1]http://i.biketo.com/member/register.html[/登录前提交网址1]
[登录前提交1参数1]<meta name="__hash__" content="(.*?)" /></head>[/登录前提交1参数1]
--------------------------------------------------------------------------------正式登录
[登录提交网址1]http://i.biketo.com/member/login.html[/登录提交网址1]
[登录提交数据1]username=as3&password=qwe111&verify={登录验证码}&remember_me=on&__hash__={登录前提交1参数1}[/登录提交数据1]
[登录成功特征1]<p><strong>登录成功</strong></p>===登录成功[/登录成功特征1]
[登录失败特征1]>验证码错误</div>===验证码错误[/登录失败特征1]
[登录后提交网址1]http://bbs.biketo.com/index.html[/登录后提交网址1]
[登录后提交1参数1]<a href="member.php\?mod=logging&action=logout&formhash=(.*?)">退出</a>[/登录后提交1参数1]
--------------------------------------------------------------------------------正式发布
[发布提交网址1]http://bbs.biketo.com/forum.php?mod=post&action=newthread&fid=66&extra=&topicsubmit=yes[/发布提交网址1]
[发布提交数据1]formhash={登录后提交1参数1}&posttime={时间戳=10}&wysiwyg=1&subject={文章标题}&message={文章内容}&tags=&rushreplyfrom=&rushreplyto=&rewardfloor=&replylimit=&stopfloor=&creditlimit=&allownoticeauthor=1&addfeed=1&save=&uploadalbum=-2&newalbum=%C7%EB%CA%E4%C8%EB%CF%E0%B2%E1%C3%FB%B3%C6[/发布提交数据1]
[发布成功特征1]> 发表<===发帖成功[/发布成功特征1]
|
|