diff options
-rw-r--r-- | setup-kali.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/setup-kali.sh b/setup-kali.sh index 1a8d5ca..d8f2471 100644 --- a/setup-kali.sh +++ b/setup-kali.sh @@ -5,6 +5,10 @@ if [[ $EUID -ne 0 ]]; then exit 1 fi +# Generate psuedo-random string to fool servers into not giving you +# cached crap, mostly for debugging purposes. This is kinda neato +RANDO=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n1) + echo "***********************************" echo "* Installing pip *" echo "***********************************" @@ -24,25 +28,25 @@ echo "***********************************" echo "* Pulling master bashrc *" echo "***********************************" -curl -sL http://raw.github.com/AgroDan/FreshInstall/master/master-bashrc -o /tmp/master-bashrc +curl -sL "http://raw.github.com/AgroDan/FreshInstall/master/master-bashrc?nocache=$RANDO" -o /tmp/master-bashrc echo "***********************************" echo "* Pulling bash_functions *" echo "***********************************" -curl -sL http://raw.github.com/AgroDan/FreshInstall/master/master-bash_functions -o /tmp/master-bash_functions +curl -sL "http://raw.github.com/AgroDan/FreshInstall/master/master-bash_functions?nocache=$RANDO" -o /tmp/master-bash_functions echo "***********************************" echo "* Pulling .tmux.conf *" echo "***********************************" -curl -sL http://raw.github.com/AgroDan/FreshInstall/master/master-tmux_conf -o /tmp/master-tmux_conf +curl -sL "http://raw.github.com/AgroDan/FreshInstall/master/master-tmux_conf?nocache=$RANDO" -o /tmp/master-tmux_conf echo "***********************************" echo "* Running Kali playbook *" echo "***********************************" -curl -sL http://raw.github.com/AgroDan/FreshInstall/master/kali.yml -o /tmp/kali.yml +curl -sL "http://raw.github.com/AgroDan/FreshInstall/master/kali.yml?nocache=$RANDO" -o /tmp/kali.yml ansible-playbook /tmp/kali.yml |