To use this program, compile it and link it with libtins. Using GNU C++ compiler, this could be done this way:
g++ -o arpspoofing arpspoofing.cpp -ltins
And then execute it using the gateway and victim's IP addresses as arguments, for example:
./arpspoofing 192.168.0.1 192.168.0.100This code snippet is included as an example in libtins source code, inside the examples folder. You can have a look at it online here.
No comments:
Post a Comment