You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make a network unresponsive by poisoning ARP and spoofing RA packets </br>
4
4
5
5
# How it works
6
6
This attack continously sends spoofed ARP packets (using [scapy](https://github.com/secdev/scapy)) to every host on the network, poisoning its ARP table. </br>
@@ -13,11 +13,9 @@ An illustration of running the attacker from a nethunter (kali) phone: <br>
13
13
14
14
15
15
# Requirements
16
-
### OS
17
16
Works on every OS. </br>
18
17
The only difference would be in the output, which in LINUX OS would refresh the same line to log updates rather than printing new lines in other operating systems.
19
18
20
-
### 3rd libraries
21
19
3rd party libraries can be installed by running the following command: `pip3 install -r requirements.txt` as they are listed inside the requirements file:
22
20
```python
23
21
scapy~=2.4.5
@@ -31,10 +29,10 @@ The network interface is a mandatory param and should always be passed, for exam
31
29
./arpwarp.py -i eth0
32
30
```
33
31
34
-
###Setting cidr length
32
+
* Setting cidr length
35
33
The default cidr length is `24` since it is the one most commonly used, but can be set by defining the `-m, --set-cidrlen` argument.
36
34
37
-
###Setting custom gateway
35
+
* Setting custom gateway
38
36
In case something goes wrong and the gateway ip cannot be automatically set, a custom one can be set by defining the `-g, --set-gateway` argument.
39
37
40
38
## Spoofing Router Advertisement Packets (IPv6)
@@ -44,13 +42,14 @@ This can be enabled by simply passing `-6, --spoof-ipv6ra`, for example:
44
42
./arpwarp.py -i eth0 --spoof-ipv6nd
45
43
```
46
44
47
-
###Setting preflen
45
+
* Setting preflen
48
46
The default (and most commonly used) IPv6 preflen is `64`, in order to set a different one passing `-pl, --set-preflen` should do the trick.
49
47
50
48
# Notes
51
-
###No buffe space avilable exception
49
+
* No buffer space avilable exception
52
50
If the following exception occurs: ```Errno 105 No Buffer Space Available```
53
-
simply increase the buffer size by running this command -> `sudo ifconfig "net_interface" txqueuelen 100000`
51
+
simply increase the buffer size by running this command -> `sudo ifconfig "net_interface" txqueuelen 100000`. </br>
0 commit comments