POST注册DZ论坛或发帖

我们post的时候,经常发现像下面这样的post数据包

POST /member.php?mod=register&inajax=1 HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: http://www.iusoft.cn/member.php?mod=register
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
Content-Type: multipart/form-data; boundary=---------------------------7dd1e728108cc
Accept-Encoding: gzip, deflate
Host: www.iusoft.cn
Content-Length: 894
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: YV1w_2132_saltkey=lyEWkU7n; YV1w_2132_lastvisit=1387281418; YV1w_2132_sid=T8Ty2x; YV1w_2132_lastact=1387285042%09forum.php%09ajax; YV1w_2132_sendmail=1; 


CNZZDATA5352873=cnzz_eid%3D1462088185-1387285090-%26ntime%3D1387285090%26cnzz_a%3D0%26ltime%3D1387285082448


-----------------------------7dd1e728108cc
Content-Disposition: form-data; name="regsubmit"


yes
-----------------------------7dd1e728108cc
Content-Disposition: form-data; name="formhash"


ef97c235
-----------------------------7dd1e728108cc
Content-Disposition: form-data; name="referer"


http://www.iusoft.cn/./
-----------------------------7dd1e728108cc
Content-Disposition: form-data; name="activationauth"




-----------------------------7dd1e728108cc
Content-Disposition: form-data; name="CTdEx0"


娴嬭瘯鐢ㄦ埛4
-----------------------------7dd1e728108cc
Content-Disposition: form-data; name="w2Am66"


123456
-----------------------------7dd1e728108cc
Content-Disposition: form-data; name="xw9Wvr"


123456
-----------------------------7dd1e728108cc
Content-Disposition: form-data; name="Ueo5Ee"


1238378@163.com
-----------------------------7dd1e728108cc--

其实我们只要把有用的数据连接起来就可以了,像上面这个,可以这样连接起来

regsubmit=yes&formhash=ef97c235&referer=http://www.iusoft.cn/./&activationauth=&CTdEx0=娴嬭瘯鐢ㄦ埛4&w2Am66=123456&xw9Wvr=123456&Ueo5Ee=123897983473@qq.com

这样就得出了post的数据包了

原文地址:https://www.cnblogs.com/fox2013/p/3571987.html