Changing packages, having issues with ruby.

This commit is contained in:
Md Ali 2024-01-04 10:59:37 -06:00 committed by GitHub
parent 3df999e09d
commit 2fde30d4c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 54 additions and 53 deletions

View File

@ -75,53 +75,53 @@ fi
echo -e "$OKBLUE[*]$RESET Installing package dependencies...$RESET" echo -e "$OKBLUE[*]$RESET Installing package dependencies...$RESET"
pacman -Syu pacman -Syu
pacman -Sy python3-paramiko pacman -Sy --noconfirm python3-paramiko
pacman -Sy nfs-common pacman -Sy --noconfirm nfs-common
apt install -Sy nodejs pacman -Sy --noconfirm nodejs
apt install -Sy wafw00f pacman -Sy --noconfirm wafw00f
apt install -Sy xdg-utils pacman -Sy --noconfirm xdg-utils
apt install -Sy ruby pacman -Sy --noconfirm ruby
apt install -Sy rubygems pacman -Sy --noconfirm rubygems
apt install -Sy python pacman -Sy --noconfirm python
apt install -Sy dos2unix pacman -Sy --noconfirm dos2unix
apt install -Sy aha pacman -Sy --noconfirm aha
apt install -Sy libxml2-utils pacman -Sy --noconfirm libxml2-utils
apt install -Sy rpcbind pacman -Sy --noconfirm rpcbind
apt install -Sy cutycapt pacman -Sy --noconfirm cutycapt
apt install -Sy host pacman -Sy --noconfirm host
apt install -Sy whois pacman -Sy --noconfirm whois
apt install -Sy dnsrecon pacman -Sy --noconfirm dnsrecon
apt install -Sy curl pacman -Sy --noconfirm curl
apt install -Sy nmap pacman -Sy --noconfirm nmap
apt install -Sy php7.4 pacman -Sy --noconfirm php7.4
apt install -Sy php7.4-curl pacman -Sy --noconfirm php7.4-curl
apt install -Sy hydra pacman -Sy --noconfirm hydra
apt install -Sy sqlmap pacman -Sy --noconfirm sqlmap
apt install -Sy nbtscan pacman -Sy --noconfirm nbtscan
apt install -Sy nikto pacman -Sy --noconfirm nikto
apt install -Sy whatweb pacman -Sy --noconfirm whatweb
apt install -Sy sslscan pacman -Sy --noconfirm sslscan
apt install -Sy jq pacman -Sy --noconfirm jq
apt install -Sy golang pacman -Sy --noconfirm golang
apt install -Sy adb pacman -Sy --noconfirm adb
apt install -Sy xsltproc pacman -Sy --noconfirm xsltproc
apt install -Sy ldapscripts pacman -Sy --noconfirm ldapscripts
apt install -Sy libssl-dev 2> /dev/null pacman -Sy --noconfirm libssl-dev 2> /dev/null
apt install -Sy python-pip 2> /dev/null pacman -Sy --noconfirm python-pip 2> /dev/null
apt purge -Sy python3-pip pacman -Rs --noconfirm python3-pip
apt install -y python3-pip pacman -Sy --noconfirm python3-pip
apt install -y xmlstarlet pacman -Sy --noconfirm xmlstarlet
apt install -y net-tools pacman -Sy --noconfirm net-tools
apt install -y p7zip-full pacman -Sy --noconfirm p7zip-full
apt install -y jsbeautifier pacman -Sy --noconfirm jsbeautifier
apt install -y theharvester 2> /dev/null pacman -Sy --noconfirm theharvester 2> /dev/null
apt install -y phantomjs 2> /dev/null pacman -Sy --noconfirm phantomjs 2> /dev/null
apt install -y chromium 2> /dev/null pacman -Sy --noconfirm chromium 2> /dev/null
apt install -y xvfb pacman -Sy --noconfirm xvfb
apt install -y urlcrazy pacman -Sy --noconfirm urlcrazy
apt install -y iputils-ping pacman -Sy --noconfirm iputils-ping
apt install -y enum4linux pacman -Sy --noconfirm enum4linux
apt install -y dnsutils pacman -Sy --noconfirm dnsutils
echo -e "$OKBLUE[*]$RESET Installing Metasploit...$RESET" echo -e "$OKBLUE[*]$RESET Installing Metasploit...$RESET"
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall
@ -131,13 +131,14 @@ chmod 755 /tmp/msfinstall
pip3 install dnspython colorama tldextract urllib3 ipaddress requests pip3 install dnspython colorama tldextract urllib3 ipaddress requests
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
gem source -r https://rubygems.org/
echo -e "$OKBLUE[*]$RESET Installing gem dependencies...$RESET" echo -e "$OKBLUE[*]$RESET Installing gem dependencies...$RESET"
gem install rake 2> /dev/null > /dev/null gem install -V rake
gem install ruby-nmap 2> /dev/null > /dev/null gem install -V ruby-nmap
gem install net-http-persistent 2> /dev/null > /dev/null gem install -V net-http-persistent
gem install mechanize 2> /dev/null > /dev/null gem install -V mechanize
gem install text-table 2> /dev/null > /dev/null gem install -V text-table
gem install public_suffix 2> /dev/null > /dev/null gem install -V public_suffix
echo -e "$OKBLUE[*]$RESET Setting up Ruby...$RESET" echo -e "$OKBLUE[*]$RESET Setting up Ruby...$RESET"
dpkg-reconfigure ruby dpkg-reconfigure ruby