OK basically this is just to share how I compiled dsniff 2.4 in my box.
wget http://monkey.org/~dugsong/dsniff/beta/dsniff-2.4b1.tar.gz tar -zxf dsniff-2.4b1.tar.gz cd dsniff-2.4 ./configure ./make
during make, I encountered this error.
./sshow.c:226: error: (Each undeclared identifier is reported only once ./sshow.c:226: error: for each function it appears in.) ./sshow.c: In function 'server_to_client': ./sshow.c:274: error: 'CLK_TCK' undeclared (first use in this function)
Below is the fix.
You have to use CLOCKS_PER_SEC instead of CLK_TCK.
According to /usr/include/time.h, CLK_TCK is the “obsolete POSIX.1-1988 name” for CLOCKS_PER_SEC.
Please also change this.The function arp_cache_lookup does not use the correct interface when running under Linux .. it always uses interface “eth0”.
cd to dsniff-2.4, find arp.c and edit the following:
strncpy(ar.arp_dev, "eth0", sizeof(ar.arp_dev));
strncpy(ar.arp_dev, "wlan0", sizeof(ar.arp_dev));
Save the file and recompile dsniff.
He has always been interested in computing. He is very passionate when it comes to technology oriented knowledge. He knows that the more that one knows, the more that one needs to learn. Experienced in content management and forms processing, he was a FileNet and Datacap Specialist. He is also a part time gamer and streams sometime.