Advertisement
techblog

arpspoof_switch

Oct 3rd, 2018
2,220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.27 KB | None | 0 0
  1.  - platform: command_line
  2.     switches:
  3.       cut_internet:
  4.         command_on: "arpspoof -i enp1s0 -t 192.168.0.1 192.168.0.254"
  5.         command_off: "ps -ef | grep 'arpspoof -i enp1s0 -t 192.168.0.1 192.168.0.254' | grep -v grep | awk '{print $2}' |sudo xargs kill"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement