View Single Post
Old 10-15-2004   #142 (permalink)
joswr1ght
Registered Member
 
Join Date: Sep 2004
Posts: 90
Quote:
Originally Posted by chesh
What's the easiest way to cut down my 770mb pcap file to 1mb?

chesh
Sample the first few thousand files with tcpdump:

$ tcpdump -r bigfile.dump -w smallfile.dump -c 2000

Repeat until the "-c" number gives you what you want.

Note: This will not work with tethereal, the "-c" behavior does not work when reading from a stored capture file.

-Josh
__________________
-Joshua Wright
jwright@hasborg.com
http://home.jwu.edu/jwright/

Today I stumbled across the world's largest hotspot. The SSID is "linksys".


Check out the SANS advanced wireless auditing and assessment course:
Los Angeles
joswr1ght is offline