Hello guys!

I was recently searching google for a cookie sniffer for linux (something like hamster and ferret for windows). So finally I found "The Cookie Tools". "The Cookie Tools" consist of two programs: cookiesniffer and cookieserver. The first one is used to sniff cookies from wireless and not sessions and the second one lets you impersonate the cookies of someone else in your browser using the logs of cookiesniffer.

The problem I'm facing now is that I can't avoid getting error when trying to compile them although I have compiled and install from source all dependences (libnids, libnet, libpcap) . So if anybody has any idea how to solve this problem please post.

NOTE : I am using Backtrack 3 Final and this is the error:

slax cookietools-0.4 # make
cd src ; make
make[1]: Entering directory `/root/My Documents/Downloads/Linux Programs/cookietools-0.4/src'
%
% Compiling cookiesniffer of cookietools v0.4
%
% CC...................: cc
% CFLAGS...............: -Wall -O3
% LDFLAGS..............:
% LIBS.................: -lpcap -lnet -lnids
% DEFS.................:
%
cc -c -DVERSION=\"0.4\" -Wall -O3 main.c
cc -c -Wall -O3 common.c
cc -c -Wall -O3 net.c
cc main.o common.o net.o -o cookiesniffer -lpcap -lnet -lnids
main.o: In function `syslog_libnids':
main.c: (.text+0x53c): undefined reference to `nids_warnings'
main.o: In function `inject_tcp_pkt':
main.c: (.text+0x8eb): undefined reference to `nids_pcap_handler'
main.o: In function `disable_nids_chksum':
main.c: (.text+0x94c): undefined reference to `nids_register_chksum_ctl'
main.o: In function `enable_nids_chksum':
main.c: (.text+0x98c): undefined reference to `nids_register_chksum_ctl'
main.o: In function `inject_tcp_open3way':
main.c: (.text+0x13f2): undefined reference to `nids_register_chksum_ctl'
main.c: (.text+0x14c5): undefined reference to `nids_register_chksum_ctl'
main.o: In function `tcp_callback':
main.c: (.text+0x1f63): undefined reference to `nids_discard'
main.o: In function `dissect_tcp':
main.c: (.text+0x20b0): undefined reference to `nids_find_tcp_stream'
main.c: (.text+0x20e1): undefined reference to `nids_find_tcp_stream'
main.c: (.text+0x225a): undefined reference to `nids_pcap_handler'
main.o: In function `loop':
main.c: (.text+0x2565): undefined reference to `nids_pcap_handler'
main.o: In function `main':
main.c: (.text+0x358a): undefined reference to `nids_params'
main.c: (.text+0x3590): undefined reference to `nids_params'
main.c: (.text+0x359a): undefined reference to `nids_params'
main.c: (.text+0x35a4): undefined reference to `nids_params'
main.c: (.text+0x35ae): undefined reference to `nids_params'
main.c: (.text+0x35b7): undefined reference to `nids_init'
main.c: (.text+0x35cc): undefined reference to `nids_register_tcp'
main.c: (.text+0x3674): undefined reference to `nids_errbuf'
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/My Documents/Downloads/Linux Programs/cookietools-0.4/src'
make: *** [build] Error 2