ctf-2011
old assets from capture-the-flag ictf 2011
git clone https://9o.is/git/ctf-2011.git
enable_forwarding.sh
(150B)
1 #!/bin/bash
2
3 #Enable forwarding
4 sudo su
5
6 comment1="#net.ipv4.ip_forward=1"
7 file1="/etc/sysctl.conf"
8 sed -i "/"${comment1}"/ s/# *//" $file1
9 sysctl -p