This patch allows to specify which MIME type you want to download (ie: application, image, text, video, etc).
The patch also includes patch "v0.1-c" which allows to specify a pcap filter.
The patch also includes patch "v0.1-b" which allows to create subdirectories by client IP addresses.
The patch also includes patch "v0.1-a" which allows to read pcap files directly instead of listening from a network interface.
This has been tested under Linux only.
How-To patch:
First of all, download the attached patch file (
patch_0.1-d.zip) in /tmp for example.
1. wget
http://www.cockos.com/assniffer/assniffer01.zip
2. unzip assniffer01.zip
3. cd source
4. mv wdl WDL
5. cp /tmp/patch_0.1-c.zip .
6. unzip patch_0.1-c.zip
7. patch -p1 < patch_0.1-c
8. cd assniffer
9. make
How-To use (example for downloading only images):
1. ./assniffer output -d 1 -nosubdirs -mimetype image