This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$attacker_script = <<SCRIPT | |
# Add "firewall" as the default gateway | |
route add default gw 192.168.102.10 | |
# Make the above step persist across reboots | |
echo " gateway 192.168.102.10" >> /etc/network/interfaces | |
SCRIPT |