title: How to create html file after HTTP GET request in scapy
body: <p>I need some help with scapy and python.
  I sending get request to spesific site... and then with sniff and HTTP filter I am filtering the relevant packets and then i want to get only the HTML code but i dont know how to do this...</p>
  
  <pre><code>os.system('iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP')
  os.system('iptables -L')
  
  randport = random.randint(1024,65535)
  syn = IP(dst=ip) / TCP(sport = randport, dport=80, flags='S')
  
  syn_ack = sr1(syn)   #getting the ack
  getstr = 'GET / HTTP/1.1\r\nHost:' + url + '\r\n\r\n'
  ack = IP(dst=ip) / TCP(dport=80, sport=syn_ack[TCP].dport,
                  seq=syn_ack[TCP].ack, ack=syn_ack[TCP].seq + 1, flags='A') / getstr
  
  send(ack)
  packets = sniff(count=0, lfilter=http_filter, timeout=20)
  http = open(url + ".html", "w")
  
  for p in packets:
      if p[IP].src == ip:
           #what i need to do here?
  </code></pre>
  
  <p>Help me, what i need to do for saving only the HTML code, the whole code? save the code without the HTTP header, just HTML that i can open and it will load me the site like the online one</p>