Advertisement
metalx1000

Network Sniffing Cap File - Notes

Jul 20th, 2014
918
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. cat net.cap #RAW data - might need 'reset' terminal
  2. strings net.cap #view strings
  3. strings net.cap|grep hqdefault
  4. strings net.cap|grep hqdefault |sed 's/GET /\n/g'|grep ^\/vi|awk '{print $1}'|sort -u|while read jpg;do echo "http://i3.ytimg.com/$jpg" ;done
  5.  
  6. strings net.cap|grep hqdefault |sed 's/GET /\n/g'|grep ^\/vi|awk '{print $1}'|sort -u|while read jpg;do wget -c "http://i3.ytimg.com/$jpg" -O jpg/$RANDOM.jpg;done
  7.  
  8. photorec net.cap #part of testdisk package -- we get more with 'strings'
  9. foremost net.cap #works but files corrupt = fragmentation?
  10. wireshark net.cap #File -> Export Object -> HTTP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement