#!/bin/bash
echo "Use this script at your own responsability."
echo
echo "That said, nothing should go wrong. If you are now in a directory"
echo "where you have all the privs, and want to make a similar experiment"
echo "to test your SNAT'ing (Source Network Address Translation) skills"
echo "and on top of that decrypt some SSL traffic,"
echo ""
echo "And you should be fine just running this (primitive) script."
echo
echo "Hit Enter, and this will create a directory, and download"
echo "all the files that you can see on:"
echo
echo "http://www.croatiafidelis.hr/foss/router/SNAT-demo/"
echo
echo "for you. (Hit Enter now!)"
read FAKE

mkdir -pv SNAT-demo

cd SNAT-demo/

wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/dLo.sh
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/rules_SNATon2nets.sh
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/SUMS
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/SUMS.sig
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/Screen_160901_1313_g0n.mkv
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/dump_160901_1313_g0n.pcap
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/dump_160901_1313_g0n_SSLKEYLOGFILE.txt
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/dump_160901_1313_g5n_SOLO.pcap
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/dump_160901_1313_gcn_SOLO.pcap
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/ip_setup_g0n
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/ip_setup_g5n
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/ip_setup_gcn
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/rules_SNATon2nets-t_filter-L-n-v
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/rules_SNATon2nets-t_mangle-L-n-v
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/rules_SNATon2nets-t_nat-L-n-v
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/rules_SNATon2nets-t_raw-L-n-v
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/LICENSE
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/config-4.7.2-hardened-160825_PART
wget -nc http://www.croatiafidelis.hr/foss/router/SNAT-demo/README.html
