利用tcpdump抓包分析

1、抓包命令:tcpdump -i 网卡名称 port 9090   -s0 -w e.pcap

2、配合wireshark分析抓包数据
http://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659.html

3、curl 发送HTTP请求
   curl -H "Content-Type: application/soap+xml;charset=UTF-8" -X POST  --data "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://www.w3.org/2003/05/soap-envelope\"><soapenv:Body><ns2:VMC_QueryBaseProperties xmlns:ns2=\"http://vp.zte.com\"><ns2:vmc_QueryBasePropertiesIn></ns2:vmc_QueryBasePropertiesIn></ns2:VMC_QueryBaseProperties></soapenv:Body></soapenv:Envelope>"  "http://127.0.0.1:9090/axis2c/services/vpservice"

猜你喜欢

转载自automan1989.iteye.com/blog/2401258