Capture libpcap packet, use libnet simulation site id 302 packets to send the target host, let it to www.baidu.com, but no redirects, what problem?
To realize such a function
After the machine by chrome visit the web site www.XXXX.com, program found this HTTP packets, simulate the package, in 302, in the form of send to the machine, let it to www.baidu.com
Wireshark intercepted by my own packets sent as follows:
Open the can see packet content
But in chrome has not see jump, in the network of F12, also didn't see see 302 appeared, what reason is this?
This is my view automatically jump www.taobao.com taobao.com packet
This package in chrome access, in the network of F12, is you can see the response of the 302