perl加nc就可以了

例子如下:

perl -e 'print "POST /index.php?https://test.com HTTP/1.1\r\nContent-Length: 
4\r\n\r\ntest";'|nc 192.168.1.8 80 

中间可以添加自己需要的头部信息,post方式Content-Length必须有。
2010-03-09 



kelzz 



发件人: ShadowHider 
发送时间: 2010-03-09  10:18:26 
收件人: ph4nt0m 
抄送: 
主题: Re: [Ph4nt0m] 有没有什么工具可以方便地构造HTTP请求包? 
 
WVS就可以


在 2010年2月27日 下午3:33,吴道远 <[email protected]>写道:

RT。


可以完整地构造http报文,然后发送出去。


比如,我自己输入我想要的报文,然后它帮我生成,并发送出去:
POST xxx HTTP/1.1
Content-Type: text/html


-------entity body--------





thx:)
-- 
要向邮件组发送邮件,请发到 [email protected]
要退订此邮件,请发邮件至 [email protected]



-- 
------------------------------------------
ShadowHider @Xeye Team  
         |www.Xeye.us|
http://hi.baidu.com/zrxc/
------------------------------------------

-- 
要向邮件组发送邮件,请发到 [email protected]
要退订此邮件,请发邮件至 [email protected] 

-- 
要向邮件组发送邮件,请发到 [email protected]
 要退订此邮件,请发邮件至 [email protected]

To unsubscribe from this group, send email to 
ph4nt0m+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

回复