diff --git a/setup.rb b/setup.rb index b1ab6f7..f212530 100644 --- a/setup.rb +++ b/setup.rb @@ -1,7 +1,10 @@ #/usr/bin/ruby -w - -puts "Gems Instalation " -system("gem install colorize && gem install nokogiri") +puts "If you can install this script should be root." +system("sudo -s") +puts "Gems Instalation" +system("sudo apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev") +system("gem install nokogiri") +system("gem install colorize") puts "Tools Instalation" -system("sudo apt-get install nmap && sudo apt-get install whatweb && sudo apt-get install host && sudo apt-get install -y dnsutils - && sudo apt-get install wafw00f") +system("sudo apt-get install nmap && sudo apt-get install whatweb && sudo apt-get install host") +system("sudo apt-get install -y dnsutils && sudo apt-get install wafw00f")