Skip to content

Instantly share code, notes, and snippets.

@MikeeI
Forked from mikiminoru/customKali.sh
Created January 21, 2022 00:44
Show Gist options
  • Save MikeeI/df292dc5414d6d2009a0b5b1823bf391 to your computer and use it in GitHub Desktop.
Save MikeeI/df292dc5414d6d2009a0b5b1823bf391 to your computer and use it in GitHub Desktop.
Update OS, download and install tools from other repositories to customize Debian.
#=======================================================#
#Update used tools after new installation #
#Credits: @mikiminoru and the developers used tools's #
#=======================================================#
#set the keyboard languaje and the directory (instead of 'es' you can choose your native languaje)
setxkbmap es
cd ~/
#connect to a wifi network where the downloads will be performed from
#nmcli d wifi connect *SSID* password *password* iface wlan0
#MODIFY the file source.list and add the kali repository
echo "" >> /etc/apt/sources.list
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list
#update and install tools included in the repo
apt-get update
apt-get update --fix-missing
apt-get upgrade -y
apt-get autoremove -y && apt-get autoclean
apt-get install bridge-utils
apt-get install terminator
apt-get install cherrytree
apt-get install python
apt-get install pip
apt-get install pip3
apt-get install testssl.sh
#----DOWNLOAD AND INSTALL SUBLIME TEXT----
#https://www.sublimetext.com/docs/3/linux_repositories.html
#Install the GPG key:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
#Ensure apt is set up to work with https sources:
sudo apt-get install apt-transport-https
#Select the channel to use:
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
#----UPDATE METASPLOIT DATABASE----
#msfupdate
#-------------------------------------------#
#----DOWNLOAD AND INSTALL FIREFOX ADDONS----#
#-------------------------------------------#
#Set Google as searcher
firefox -silent -setDefaultBrowser www.google.es
#COOKIE MANAGER+
#wget https://addons.mozilla.org/firefox/downloads/file/802399/cookie_manager-1.4-an+fx.xpi
#firefox -silent -install-global-extension cookie_manager-1.4-an+fx.xpi
#WAPPALYZER
#wget https://addons.mozilla.org/firefox/downloads/file/1048365/wappalyzer-5.5.3-an+fx.xpi
#firefox -silent -install-global-extension wappalyzer-5.5.3-an+fx.xpi
#PASSIVE RECON
#https://addons.mozilla.org/firefox/downloads/file/99815/passiverecon-2.00-fx.xpi
#firefox -silent -install-global-extension passiverecon-2.00-fx.xpi
#HACKBAR
#wget https://addons.mozilla.org/firefox/downloads/file/1029136/hackbar-1.1.12-an+fx.xpi
#firefox -silent -install-global-extension hackbar-1.1.12-an+fx.xpi
#FOXY PROXY
#wget https://addons.mozilla.org/firefox/downloads/file/969185/foxyproxy_standard-6.3-an+fx.xpi
#firefox -silent -install-global-extension foxyproxy_standard-6.3-an+fx.xpi
#----DOWNLOAD AND INSTALL CHERRY TREE----
#wget http://www.giuspen.com/software/cherrytree_0.38.5-0_all.deb
#dpkg -i cherrytree_0.38.5-0_all.deb
#https://github.com/HASH1da1/Gotanda
#-----------------------------------------#
#----------SORT TOOLS IN FOLDERS----------#
#-----------------------------------------#
#we check if the folders arent already created
#if its not the first time we run this script, these folders would be created
[! -d ~/Tools] && mkdir Tools #generic
[! -d ~/Tools/Mobile_Tools] && mkdir ~/Tools/Mobile_Tools
[! -d ~/Tools/CMS_Tools] && mkdir ~/Tools/CMS_Tools
[! -d ~/Tools/CVE_Tools] && mkdir ~/Tools/CVE_Tools
[! -d ~/Tools/Forensics_Tools] && mkdir ~/Tools/Forensics_Tools
[! -d ~/Tools/OSINT_Tools] && mkdir ~/Tools/OSINT_Tools
[! -d ~/Tools/LDAP_Tools] && mkdir ~/Tools/LDAP_Tools
[! -d ~/Tools/Phishing_Tools] && mkdir ~/Tools/Phishing_Tools
[! -d ~/Tools/IIS_Tools] && mkdir ~/Tools/IIS_Tools
[! -d ~/Tools/Apache_Tools] && mkdir ~/Tools/Apache_Tools
[! -d ~/Tools/Wireless_Tools] && mkdir ~/Tools/Wireless_Tools
[! -d ~/Tools/MS_Tools] && mkdir ~/Tools/MS_Tools
#--------------------------#
#--------DOCKER------------#
#--------------------------#
#https://medium.com/@airman604/installing-docker-in-kali-linux-2017-1-fbaa4d1447fe
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
echo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get remove docker docker-engine docker.io
sudo apt-get install docker-ce
sudo systemctl start docker
sudo systemctl enable docker
#To allow your non-root user to use Docker, add the user to docker group:
sudo usermod -aG docker $USER
#sudo systemctl stop docker
#--------------------------#
#----------DVWA------------#
#--------------------------#
#TO RUN DWVA with docker
#docker run --rm -it -p 80:80 vulnerables/web-dvwa
cd ~/Tools/Mobile
#--------------------------#
#--------MOBILE------------#
#--------------------------#
#----DOWNLOAD AND INSTALL MARA----
git clone https://github.com/xtiankisutsa/MARA_Framework
sh ./MARA_Framework/setup/setup.sh
#----DOWNLOAD AND INSTALL QARK----
git clone https://github.com/linkedin/qark
pip3 install -r ./qark/requirements.txt
python ./qark/setup.py
#----DOWNLOAD AND INSTALL MOBSF----
git clone https://github.com/MobSF/Mobile-Security-Framework-MobSF
sudo pip3 install -r ./MobSF/Mobile-Security-Framework-MobSF/requirements.txt
sh ./MobSF/Mobile-Security-Framework-MobSF/setup.sh
#to run in 127.0.0.1:8000 in your browser use:
#sh ./MobSF/Mobile-Security-Framework-MobSF/run.sh
#----DOWNLOAD AND INSTALL DROZER----
git clone https://github.com/mwrlabs/drozer
python ./drozer/setup.py
#------------------------------------------#
cd ~/Tools/CMS_Tools
#--------------------------#
#-----------CMS------------#
#--------------------------#
#----DOWNLOAD AND INSTALL CMSmap----
git clone https://github.com/Dionach/CMSmap
#--->BEFORE MUST BE CONFIGURED DATABASE
#(but if not its ok with the default config)
#[exploitdb]
#edbtype = APT
#edbpath = /usr/share/exploitdb/
pip3 install ./CMSmap/setup.py
#----DOWNLOAD AND INSTALL CMSeeK----
git clone https://github.com/Tuhinshubhra/CMSeeK
cd CMSeeK
pip/pip3 install -r requirements.txt
cd ..
#--------------#
#----DRUPAL----#
#--------------#
#----DOWNLOAD AND INSTALL DROOPSCAN----
git clone https://github.com/droope/droopescan
cd droopescan
pip3 install -r ./requirements.txt
sh ./setup/install.sh
cd ..
#----DOWNLOAD AND INSTALL DRUPWN----
git clone https://github.com/immunIT/drupwn
pip3 install -r ./drupwn/requirements.txt
python3 ./drupwn/setup.py install
#----DOWNLOAD AND INSTALL Drupalgedon (CVE-2018-7600)----
https://github.com/sl4cky/CVE-2018-7600
pip install -r ./CVE-2018-7600/requirements.txt
#usage: python Drupalgeddon2.py -t http://domain -te
#-----------------#
#----WORDPRESS----#
#-----------------#
#----DOWNLOAD WPForce----
git clone https://github.com/n00py/WPForce
#----DOWNLOAD AND INSTALL WPSeku----
git clone https://github.com/m4ll0k/WPSeku
pip3 install -r ./WPSeku/requirements.txt
python3 ./WPSeku/wpseku.py
#----------------#
#-----JOOMLA-----#
#----------------#
#----DOWNLOAD AND INSTALL JoomlaScan----
git clone https://github.com/drego85/JoomlaScan
sudo pip install beautifulsoup4
#----------------#
#-----MOODLE-----#
#----------------#
#--NOTHING USEFUL YET :D
cd ~/Tools/IIS_Tools
#--------------------------#
#------IIS TOOLS-----------#
#--------------------------#
#----DOWNLOAD AND INSTALL IIS-ShortName-Scanner----
git clone https://github.com/irsdl/IIS-ShortName-Scanner
#usage: java -jar ~/Tools/IIS/iis_shortname_scanner.jar http://example.com/
cd ~/Tools/Apache_Tools
#--------------------------#
#------APACHE TOOLS--------#
#--------------------------#
#----DOWNLOAD AND INSTALL Struts----
git clone https://github.com/mazen160/struts-pwn_CVE-2018-11776
cd ~/Tools
#--------------------------#
#----------TOOLS-----------#
#--------------------------#
#testssl
#a similar and cool project with web frontend
# https://github.com/TKCERT/testssl.sh-webfrontend
#----DOWNLOAD AND INSTALL bruteforce-http-auth----
git clone https://github.com/erforschr/bruteforce-http-auth
python3 -m pip install -r ./bruteforce-http-auth/requirements.txt
python3 ./bruteforce-http-auth/bruteforce-http-auth.py
#usage: python3 bruteforce-http-auth.py
#----DOWNLOAD AND INSTALL http-auth-bruteforcer----
git clone https://github.com/t4mo/http-auth-bruteforcer
python3 -m pip install requests requests_ntlm grequests validators
python3 ./http-auth-bruteforcer/httpauthbruteforcer.py
#usage: python3 bruteforce-http-auth.py
#----DOWNLOAD AND INSTALL Parsero----
sudo apt-get install parsero
#----DOWNLOAD AND INSTALL EMPIRE----
git clone https://github.com/EmpireProject/Empire
pip3 install -r ./setup/requirements.txt
sh ./setup/install.sh
#usage: sh ./setup/reset.sh
#----DOWNLOAD AND INSTALL SN1PER----
git clone https://github.com/1N3/Sn1per
sh ./Sn1per/install.sh
#----DOWNLOAD AND INSTALL SPartan----
git clone https://github.com/sensepost/SPartan
pip install -r requirements.txt
#----DOWNLOAD AND INSTALL XSStrike----
git clone https://github.com/s0md3v/XSStrike
pip3 install -r ./XSStrike/requirements.txt
#usage: python3 xsstrike.py --url "domain.com"
#https://github.com/s0md3v/XSStrike/wiki/Usage
#----DOWNLOAD AND INSTALL extended-xss-search----
git clone https://github.com/Damian89/extended-xss-search
#----DOWNLOAD AND INSTALL CloudFail----
git clone https://github.com/m0rtem/CloudFail
cd CloudFail
pip3 install -r requirements.txt
cd ..
git clone https://github.com/mzet-/linux-exploit-suggester
git clone https://github.com/decoxviii/karma
git clone https://github.com/maurosoria/dirsearch
git clone https://github.com/diego-treitos/linux-smart-enumeration
git clone https://github.com/s0md3v/Arjun
git clone https://github.com/neoneggplant/EggShell
git clone https://github.com/aas-n/spraykatz
git clone https://github.com/Tib3rius/AutoRecon
#root@kali:~/Tools/AutoRecon# python3 src/autorecon/autorecon.py [options] IP
#https://github.com/Hackplayers/evil-winrm
#gem install evil-winrm
git clone https://github.com/ffuf/ffuf
#----DOWNLOAD AND INSTALL GitGot----
git clone https://github.com/BishopFox/GitGot
cd GitGot
apt-get install libfuzzy-dev ssdeep -y
pip3 install -r requirements.txt
cd ..
#----DOWNLOAD AND INSTALL Osmedeus----
git clone https://github.com/j3ssie/Osmedeus
cd Osmedeus
./install.sh
#./osmedeus.py -t example.com
cd ..
#----DOWNLOAD AND INSTALL Astra----
#for API REST Apps
#https://honeysec.blogspot.com/2020/01/astra-rest-api-penetration-testing.html#more
git clone https://github.com/flipkart-incubator/Astra
cd Astra
sudo pip install -r requirements.txt
cd ..
#----DOWNLOAD AND INSTALL BLOODHOUND----
#apt-get install bloodhound
#firefox http://localhost:7474
#----DOWNLOAD AND INSTALL ANON SCRIPT----
#cd Tools
#git clone https://github.com/Und3rf10w/kali-anonsurf
#cd kali-anonsurf
#./installer.sh
#anonsurf start
#--------------------------#
#--------MS TOOLS----------#
#--------------------------#
cd ~/Tools/MS_Tools
#Skype #SkypeForBusiness #Lync
git clone https://github.com/nyxgeek/lyncsmash
git clone https://github.com/mdsecresearch/LyncSniper
git clone https://github.com/dirkjanm/ldapdomaindump
#--------------------------#
#---------PHISHING---------#
#--------------------------#
cd ~/Tools/Phishing_Tools
#----DOWNLOAD AND INSTALL MITERU----
git clone https://github.com/ninoseki/miteru
cd miteru
gem install miteru
cd ..
#--------------------------#
#---------OSINT------------#
#--------------------------#
cd ~/Tools/OSINT_Tools
#----DOWNLOAD AND INSTALL INFOGA-----------
git clone https://github.com/m4ll0k/Infoga
python Infoga/setup.py install
python Infoga/infoga.py
#----DOWNLOAD AND INSTALL Email-extractor--#--
git clone https://github.com/DiegoCaraballo/Email-extractor
cd Email-extractor
pip3 install google
sudo apt-get install python3-pip
sudo pip3 install google
cd ..
#----DOWNLOAD AND INSTALL urlscanio----
git clone https://github.com/Aquarthur/urlscanio
cd urlscanio
pip install urlscanio
cd ..
#----DOWNLOAD AND INSTALL sub.sh----
git clone https://github.com/cihanmehmet/sub.sh
sudo apt-get install jq
#----DOWNLOAD AND INSTALL subbrute----
git clone https://github.com/TheRook/subbrute
#----DOWNLOAD AND INSTALL findomain----
git clone https://github.com/Edu4rdSHL/findomain
#----DOWNLOAD AND INSTALL osweep----
git clone https://github.com/ecstatic-nobel/osweep
git clone https://github.com/thelinuxchoice/userrecon
git clone https://github.com/Quantika14/osint-suite-tools
git clone https://github.com/sherlock-project/sherlock
git clone https://github.com/securing/DumpsterDiver
git clone https://github.com/aboul3la/Sublist3r
sudo pip install -r Sublist3r/requirements.txt
#----DOWNLOAD AND INSTALL youtube-dl----
#https://github.com/ytdl-org/youtube-dl
sudo -H pip install --upgrade youtube-dl
#----DOWNLOAD AND INSTALL phoneinfoga----
# Download the archive
wget "https://github.com/sundowndev/phoneinfoga/releases/download/v2.3.0/phoneinfoga_$(uname -s)_$(uname -m).tar.gz"
# Extract the binary
tar xfv "phoneinfoga_$(uname -s)_$(uname -m).tar.gz"
# Check the binary
./phoneinfoga version
# You can also install it globally
mv ./phoneinfoga /usr/bin/phoneinfoga
#----DOWNLOAD AND INSTALL instaloader----
git clone https://github.com/instaloader/instaloader
#----DOWNLOAD AND INSTALL h8mail----
git clone https://github.com/khast3x/h8mail
cd h8mail
pip3 install h8mail
cd ..
#----DOWNLOAD AND INSTALL twint----
git clone https://github.com/twintproject/twint
cd twint
pip3 install twint
cd ..
#----DOWNLOAD AND INSTALL urlscanio----
git clone https://github.com/Aquarthur/urlscanio
cd urlscanio
sudo pip3 install -r requirements.txt
pip install urlscanio
cd ..
#------------------------------------------#
#----DOWNLOAD AND INSTALL sub.sh----
git clone https://github.com/cihanmehmet/sub.sh
sudo apt-get install jq
#------------------------------------------#
#----DOWNLOAD AND INSTALL WS-Attacker----
#https://www.hackplayers.com/2017/07/pentesting-de-web-services-con-ws-attacker.html
git clone https://github.com/RUB-NDS/WS-Attacker
#--------------------------#
#---------FORENSICS--------#
#--------------------------#
#cd ~/Tools/Forensics_Tools
#NOTHING USEFUL YET :D
#--------------------------#
#---------CVEs-------------#
#--------------------------#
cd ~/Tools/CVE_Tools
#SMBGhost
git clone https://github.com/danigargu/CVE-2020-0796
#--------------------------#
#-----------WIFI-----------#
#--------------------------#
cd ~/Tools/Wireless_Tools
#----DOWNLOAD AND INSTALL lscript----
git clone https://github.com/arismelachroinos/lscript
cd /usr/share/wordlists/
#--------------------------#
#---------WORDLISTS--------#
#--------------------------#
#----DOWNLOAD SecLists----
git clone https://github.com/danielmiessler/SecLists/
#----DOWNLOAD CEWL----
git clone https://github.com/digininja/CeWL
cd /opt/
git clone https://github.com/samratashok/nishang
cd ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment