diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | setup-kali.sh | 12 |
2 files changed, 8 insertions, 8 deletions
@@ -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." |