In my new Slackbox lacked a tool that is being studied by a university course follows:
h i p ng
so I procured from the sources http://www.hping.org/ and I made the usual commands:
. / configure make
...
here to check an error:
libpcap_stuff.c the line 61 can not find a function that is in the source net / bpf.h
installed, then the libraries that are reported on some sites: http:/ / www.tcpdump.org/ and more specifically the libpcap library.
These libraries are easily installed by running:
. / Configure
make
make install
Il file bpf.h viene però posizionato male.
Dando questi comandi è possibile vedere come il file di nostro interesse si trovi dentro pcap e che la cartella net non è stata creata per niente.
# cd /usr/local/include/
# cd pcap
# ls
Diamo allora i seguenti comandi:
# mkdir ../net
# cp *.h ../net/
Dopo di che posizioniamoci nella directory con i file sorgenti di Hping3 e diamo in sequenza:
./configure
make
make install
Il risultato sarà questo:
slackbox root @: ~ # hping3
hping3>
Enjoy Hping3 .
0 comments:
Post a Comment