From 86b03032e2a57e69f9d1b979f2c03afe36d8138b Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Thu, 16 Apr 2020 15:10:07 -0400 Subject: fixed script locations from relative to absolute --- setup-kali.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup-kali.sh b/setup-kali.sh index b72ec2f..945b370 100644 --- a/setup-kali.sh +++ b/setup-kali.sh @@ -9,7 +9,7 @@ echo "***********************************" echo "* Installing pip *" echo "***********************************" -curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py +curl -s https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py python3 get-pip.py --user export PATH=$PATH:/root/.local/bin @@ -24,7 +24,7 @@ echo "***********************************" echo "* Running Kali playbook *" echo "***********************************" -curl -s http://raw.githubusercontent.com/AgroDan/FreshInstall/master/kali.yml -o kali.yml +curl -s http://raw.githubusercontent.com/AgroDan/FreshInstall/master/kali.yml -o /tmp/kali.yml ansible-playbook ./kali.yml @@ -32,10 +32,10 @@ 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." -- cgit v1.2.3 From a4a0eaf9d7560137b9abf0c54c388238b31255ae Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Thu, 16 Apr 2020 15:16:37 -0400 Subject: fixed curl command for github d/l --- setup-kali.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-kali.sh b/setup-kali.sh index 945b370..33f97b7 100644 --- a/setup-kali.sh +++ b/setup-kali.sh @@ -24,7 +24,7 @@ echo "***********************************" echo "* Running Kali playbook *" echo "***********************************" -curl -s http://raw.githubusercontent.com/AgroDan/FreshInstall/master/kali.yml -o /tmp/kali.yml +curl -sL http://raw.github.com/AgroDan/FreshInstall/master/kali.yml -o /tmp/kali.yml ansible-playbook ./kali.yml -- cgit v1.2.3 From 67c874da3a8e5d90265ff2ff537820bcafd38369 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Thu, 16 Apr 2020 15:17:27 -0400 Subject: whoops, forgot one --- setup-kali.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-kali.sh b/setup-kali.sh index 33f97b7..bb2982a 100644 --- a/setup-kali.sh +++ b/setup-kali.sh @@ -26,7 +26,7 @@ echo "***********************************" 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 *" -- cgit v1.2.3 From 52b6e2aed7a02e35ba5c641e6b569b2faf009fd7 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Thu, 16 Apr 2020 15:23:27 -0400 Subject: ERGH --- setup-kali.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-kali.sh b/setup-kali.sh index bb2982a..2512a8a 100644 --- a/setup-kali.sh +++ b/setup-kali.sh @@ -10,7 +10,7 @@ echo "* Installing pip *" echo "***********************************" curl -s https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py -python3 get-pip.py --user +python3 /tmp/get-pip.py --user export PATH=$PATH:/root/.local/bin -- cgit v1.2.3 From c45fd19b10c3eef5dc2bdb92862bea6f8bb561b6 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Thu, 16 Apr 2020 15:31:24 -0400 Subject: fixed the script location. weird caching with gitghub --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 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. -- cgit v1.2.3