紧急求助---关于火车模块里登入Post数据
像PW的登入Post数据里有&hideid=0&cktime=31536000&jumpurl=/&step=2&action=login&submit=%CC%E1+%BD%BB
这的submit值是什么时候呢
现在我自己要写一下网站的,不知道要怎么去取这些数值
我把网站的login文件上传上来,希望高手帮帮忙忙.
汗,不能上传了``只好复制上来了
<td><img src="http://localhost/jq/themes/jieqipub/images/top_tab_06.gif"
width="17" height="8" /></td>
<td background="http://localhost/jq/themes/jieqipub/images/top_tab_07.gif"><img
src="http://localhost/jq/themes/jieqipub/images/top_tab_07.gif" width="17" height="8"
/></td>
<td><img src="http://localhost/jq/themes/jieqipub/images/top_tab_08.gif"
width="17" height="8" /></td>
</tr>
</table></td>
</tr>
</table>
<div align="center"></div>
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div id="content"><br /><br />
<form name="frmlogin" method="post" action="http://localhost/jq/login.php?
do=submit&jumpurl=%2Fjq%2Fuserlist.php">
<table width="250" align="center" cellpadding="0" cellspacing="1" class="grid">
<tr>
<td class="title">用户登录</td>
</tr>
<tr align="center">
<td class="odd"><table width="100%"border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="37%" align="right" valign="middle">用户名:</td>
<td width="63%"><input type="text" class="text" size="20" maxlength="30"
name="username" onKeyPress="javascript: if (event.keyCode==32) return false;" ></td>
</tr>
<tr>
<td align="right" valign="middle">密 码:</td>
<td><input type="password" class="text" size="20" maxlength="30"
name="password"></td>
</tr>
<tr align="center">
<td colspan="2"><input type="hidden" name="action" value="login">
<input type="checkbox" class="checkbox" name="usecookie" value="1">
记录cookie
<input type="submit" class="button" value=" 登 录 "
name="submit"></td>
</tr>
</table></td>
</tr>
<tr align="center">
<td class="foot"> <a href="http://localhost/jq/register.php">新用户注册</a>
<a href="http://localhost/jq/getpass.php">取回密码</a>
</td>
</tr>
</table>
</form><br /><br /></div>
</td>
</tr>
</table></td>
</tr>
</table>
这是我用winsock抓的包,还是看不懂要怎么写登入post
GET /jq/themes/jieqipub/images/jrsc.gif HTTP/1.1
Accept: */*
Referer: http://localhost/jq/index.php
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
Host: localhost
Connection: Keep-Alive
Cookie: lastfid=0; lastvisit=0%091147941403%09%2Fbbs%2Findex.php%3F; ol_offset=97; refreshlimit=1147967581%09%2Fnovel%2Fadmin.php%3Fadminjob%3Dcollect; PHPSESSID=3a98e15e233c12e28fd010e3225bc1ac
我用的系统是JIEQI CMS 1.10 免费版
http://www.jieqi.com/downloads.php
文章发表地址是.../modules/article/newchapter.php?aid=分类ID
能帮忙做整个模块吗?
实在做这个有点专业.
[ 本帖最后由 scorpio190 于 2006-5-19 21:31 编辑 ] 汗,怎么没有人来啊,`应该是太晚了``先睡觉起来再来看看。` 呵呵。。你这样是不容易捉全的。。
用winsock或httpwatch查看一次用浏览器HTTP发表的过程 这是我用winsock抓的包,还是看不懂要怎么写登入post
GET /jq/themes/jieqipub/images/jrsc.gif HTTP/1.1
Accept: */*
Referer: http://localhost/jq/index.php
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
Host: localhost
Connection: Keep-Alive
Cookie: lastfid=0; lastvisit=0%091147941403%09%2Fbbs%2Findex.php%3F; ol_offset=97; refreshlimit=1147967581%09%2Fnovel%2Fadmin.php%3Fadminjob%3Dcollect; PHPSESSID=3a98e15e233c12e28fd010e3225bc1ac 再找,post内容不是这一页 我用的系统是JIEQI CMS 1.10 免费版
http://www.jieqi.com/downloads.php
文章发表地址是.../modules/article/newchapter.php?aid=分类ID
能帮忙做整个模块吗?
实在做这个有点专业.
[ 本帖最后由 scorpio190 于 2006-5-19 14:23 编辑 ] 不是这个页面 submit=%CC%E1+%BD%BB
submit=提+交
这个不变应该就可以
action="http://localhost/jq/login.php?do=submit&jumpurl=%2Fjq%2Fuserlist.php">
action="http://localhost/jq/login.php?do=submit&jumpurl=/jq/userlist.php">
post页哪一页?
如题,找到了么?我也有同样的问题啊测试下post抓取
测试下post抓取
页:
[1]