cdpsnarf
cdpsnarf copied to clipboard
CDPSnarf is a network sniffer exclusively written to extract information from CDP (Cisco Discovery Protocol) packets.
gcc -O3 -Wall -lm -lpcap cdpsnarf.c -o cdpsnarf /usr/bin/ld: /tmp/ccJQ0Rfd.o: in function `tlv_get_number': cdpsnarf.c:(.text+0x1f): undefined reference to `pow' /usr/bin/ld: /tmp/ccJQ0Rfd.o: in function `print_cdp_addresses': cdpsnarf.c:(.text+0x197): undefined reference to `pow' /usr/bin/ld: cdpsnarf.c:(.text+0x360):...
Using Kali Linux make command crashes with ~10 "undefined reference" lines to 'pcap_open_live' and similar