Skip to content

Instantly share code, notes, and snippets.

View johnharris85's full-sized avatar
🎮
Game Dev

John Harris johnharris85

🎮
Game Dev
View GitHub Profile
# -*- 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