Skip to content

Instantly share code, notes, and snippets.

@liruqi
Created November 27, 2012 00:25
Show Gist options
  • Save liruqi/4151591 to your computer and use it in GitHub Desktop.
Save liruqi/4151591 to your computer and use it in GitHub Desktop.
send_ack.scapy
packet1 = IP(dst='106.187.39.23')/TCP(dport=9999,flags=0x18)
packet1.payload = 'GET / HTTP\r\nUser-Agent: curl/7.28.1\r\nHost: liruqi.com\r\nAccept: */*\r\n\r\n'
send(packet1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment