summaryrefslogtreecommitdiff
path: root/setup-kali.sh
diff options
context:
space:
mode:
authorDan Fedele <dan.fedele@gmail.com>2022-11-07 11:36:13 -0500
committerGitHub <noreply@github.com>2022-11-07 11:36:13 -0500
commit4149814addc0747dc4e40590085ec4a626f9ae5a (patch)
tree78cc85e218e6367259aa0a1dd7032e9a68a31e7c /setup-kali.sh
parentc1c81a728173638abf84ad21df34d398fa956240 (diff)
parent27dc9030e0de0c6622ae3f2cde189988d4a8464a (diff)
Merge pull request #2 from AgroDan/dev
Dev
Diffstat (limited to 'setup-kali.sh')
-rw-r--r--setup-kali.sh63
1 files changed, 0 insertions, 63 deletions
diff --git a/setup-kali.sh b/setup-kali.sh
deleted file mode 100644
index d8f2471..0000000
--- a/setup-kali.sh
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/bash
-
-if [[ $EUID -ne 0 ]]; then
- echo "This script must be run as sudo or root."
- 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 "***********************************"
-
-curl -s https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
-python3 /tmp/get-pip.py --user --no-warn-script-location
-
-export PATH=$PATH:/root/.local/bin
-
-echo "***********************************"
-echo "* Installing ansible *"
-echo "***********************************"
-
-pip install ansible
-
-echo "***********************************"
-echo "* Pulling master bashrc *"
-echo "***********************************"
-
-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?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?nocache=$RANDO" -o /tmp/master-tmux_conf
-
-echo "***********************************"
-echo "* Running Kali playbook *"
-echo "***********************************"
-
-curl -sL "http://raw.github.com/AgroDan/FreshInstall/master/kali.yml?nocache=$RANDO" -o /tmp/kali.yml
-
-ansible-playbook /tmp/kali.yml
-
-echo "***********************************"
-echo "* Cleaning up *"
-echo "***********************************"
-
-rm -f /tmp/master-bashrc /tmp/master-bash_functions /tmp/master-tmux_conf /tmp/get-pip.py /tmp/kali.yml
-
-echo "***********************************"
-echo "* Done! *"
-echo "***********************************"
-
-echo "You should be set up. Check above for any errors."