title: Searching for hex in scapy packet
body: <p>I am trying to search for a hex sequence in the UDP payload (ISAKMP) of a packet. the packet is being loaded from a pcap. If I use show() or show2() then the output is in type bytes which I can't use.</p>
  
  <p>the closest I have come is by using hexdump, but it comes out as 3 colums over multiple lines and I just want the middle column in a nice long string.</p>
  
  <p>I've tried hexlify, encoding and decoding, and .format and I can't get something that makes sense.</p>
  
  <p>thanks for your help</p>