I have a .cap file that I captured and I would like to run p0f on it and output the results to a log file. I was able to download and compile the code into p0f.exe by using a Cygwin bash shell. I tried to follow these directions to run p0f using PowerShell, but they seem to be outdated for the older version of p0f...
Any suggestions on how to run p0f on Windows? Is it possible via Cygwin or PowerShell?
PS - I am using Windows 7
Edit- I tried to run p0f through Cygwin, like this:
$ ./p0f.exe -r my_file.cap -o analyze.log
However, I then received this error:
--- p0f 3.06b by Michal Zalewski <lcamtuf@coredump.cx> ---
[+] Closed 1 file descriptor.
[+] Loaded 314 signatures from 'p0f.fp'.
[-] PROGRAM ABORT : pcap_open_offline: bad dump file format
Location : prepare_pcap(), p0f.c:475
I am not sure what a "bad dump file format" is and why that caused the program to abort...
Any help would be appreciated, thanks!