sniffer icon indicating copy to clipboard operation
sniffer copied to clipboard

Can you change packets?

Open amlwwalker opened this issue 9 years ago • 0 comments

Can you change packets on the wire? I tried this, and it seems the contents is changed,

dns.Questions[0].Name = []byte("nytimes.com")

however if I go to a website that says it has that the Name has changed from printing this afterwards:

log.Println("changed to: ", string(dns.Questions[0].Name))

but i still get to the website that was queried in the browser, not the nytimes one. Do you know what Im doing wrong?

amlwwalker avatar Jul 08 '15 21:07 amlwwalker