summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fedele <dan.fedele@gmail.com>2020-04-17 10:32:21 -0400
committerDan Fedele <dan.fedele@gmail.com>2020-04-17 10:32:21 -0400
commit5fcc057b886e0922e119a77c6d455795d6603600 (patch)
tree7cae3d23b2dde90bfb9c95cb56c711e82f7f5158
parent1c430b3078e5fb04d497ad0da09caca9c49a06bd (diff)
parentc45fd19b10c3eef5dc2bdb92862bea6f8bb561b6 (diff)
Merge branch 'master' of https://github.com/AgroDan/FreshInstall
-rw-r--r--README.md4
-rw-r--r--setup-kali.sh12
2 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index ab9e851..804d4dd 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,6 @@ This repo will just be a collection of notes of things I should install upon a f
If you just started up a new instance of Kali, to get it to a "proper working setup" that I've come to like, simply run the following command from a terminal:
-`curl -s https://raw.githubusercontent.com/AgroDan/FreshInstall/master/setup-kali.sh | sudo bash`
+`curl -sL https://raw.github.com/AgroDan/FreshInstall/master/setup-kali.sh | sudo bash`
-This should get you on your way. \ No newline at end of file
+This should get you on your way.
diff --git a/setup-kali.sh b/setup-kali.sh
index b72ec2f..2512a8a 100644
--- a/setup-kali.sh
+++ b/setup-kali.sh
@@ -9,8 +9,8 @@ echo "***********************************"
echo "* Installing pip *"
echo "***********************************"
-curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py
-python3 get-pip.py --user
+curl -s https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
+python3 /tmp/get-pip.py --user
export PATH=$PATH:/root/.local/bin
@@ -24,18 +24,18 @@ echo "***********************************"
echo "* Running Kali playbook *"
echo "***********************************"
-curl -s http://raw.githubusercontent.com/AgroDan/FreshInstall/master/kali.yml -o kali.yml
+curl -sL http://raw.github.com/AgroDan/FreshInstall/master/kali.yml -o /tmp/kali.yml
-ansible-playbook ./kali.yml
+ansible-playbook /tmp/kali.yml
echo "***********************************"
echo "* Cleaning up *"
echo "***********************************"
-rm -f ./get-pip.py ./kali.yml
+rm -f /tmp/get-pip.py /tmp/kali.yml
echo "***********************************"
echo "* Done! *"
echo "***********************************"
-echo "You should be set up. Check above for any errors." \ No newline at end of file
+echo "You should be set up. Check above for any errors."