forked from antirez/hping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
62 lines (46 loc) · 1.32 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
You can compile hping3 at least under:
Linux
OpenBSD
FreeBSD
NetBSD
Solaris
But hping3 is beta, for now it was mostly tested only in Linux,
this should change soon now that the first beta is out.
Note that starting from hping3 libpcap should be used
with all the kind of systems, including Linux.
Linux
-----
please, follows this steps:
$ ./configure (first try ./configure --help)
$ vi Makefile (optional)
$ make
$ su
# make install
FreeBSD, OpenBSD, NetBSD
------------------------
You will need the libpcap and the gmake utility installed on your system.
$ ./configure
$ gmake
$ su (or calife)
# gmake install
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTE: You should take care about your net/bpf.h file installing on
BSD systems (specially with OpenBSD). If your original bpf.h was
overwritten with the libpcap one probably hping will not work
with over some interface.
For example if you use the libpcap bpf.h on OpenBSD hping will
not work over PPP interfaces.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Solaris
-------
$ export CC="gcc"
$ ./configure
$ gmake
$ su
# gmake install
ALL
---
To setuid hping3 is like to open the port to script kiddies
for now. Don't do it in any real multiuser and otherwise
security-sensitive system.
antirez