From 565e070c3ab2d8490df823f6a63f24b6e2d09a80 Mon Sep 17 00:00:00 2001 From: Matthew Hawkins Date: Tue, 5 May 2020 14:45:42 +1000 Subject: [PATCH] Update setup.rb * Fixes a spelling mistake * Utilises the Gemfile I made in the last commit instead of forking a shell to run "gem install" on each dependency I'm unsure why the original author made a setup.rb that just system() everything instead of setup.sh :/ --- setup.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/setup.rb b/setup.rb index 6177285..e3f2d64 100644 --- a/setup.rb +++ b/setup.rb @@ -1,12 +1,12 @@ #/usr/bin/ruby -w -puts "Gems Instalation " -system("gem install colorize && gem install shodan && gem install rest-client") +puts "Build dependencies installation" system("sudo apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev") -system("gem install nokogiri") + +puts "Gems Installation" +system("gem install -g") + puts "Tools Instalation" -system("sudo apt-get install nmap && sudo apt-get install whatweb && sudo apt-get install host ") +system("sudo apt-get install nmap whatweb host tor") system("git clone https://github.com/Und3rf10w/kali-anonsurf") -system("apt-get install tor") -system("cd kali-anonsurf") -system("./installer.sh") +system("cd kali-anonsurf && ./installer.sh")