
EXTRA STUFF:
Additional code samples:
FTP Password Grabber.
This code implements a simple sniffer that listens for TCP packet to or from port 21. When a packet is received, it checks if it contains th string "PASS". In that case, packet contents are printed to stdout.
[Download file ftp_grabber.c]
Images published in the article:
packetfilter.png low-res PNG
packetfilter300.tif 300x300dpi TIFF
packetfilter400.tif 400x400dpi TIFF
packetfilter500.tif 500x500dpi TIFF
packetfilter600.tif 600x600dpi TIFF
captureflow.png low-res PNG
captureflow300.tif 300x300dpi TIFF
captureflow400.tif 400x400dpi TIFF
captureflow500.tif 500x500dpi TIFF
captureflow600.tif 600x600dpi TIFF
encapsulation.png low-res PNG
encapsulation300.tif 300x300dpi TIFF
encapsulation400.tif 400x400dpi TIFF
encapsulation500.tif 500x500dpi TIFF
encapsulation600.tif 600x600dpi TIFF