Quick script to install various pentesting tools on Ubuntu
- John the Ripper
- Hashcat
- Nikto
- Hydra
- SQLMap
- Aircrack-ng
- Wifite
- Netcat (OpenBSD)
- Enum4linux
- Subfinder
- Nuclei
- Gobuster
- FFUF
- Amass
- SecLists
- Metasploit Framework
- Searchsploit
- Freeway (https://github.com/FLOCK4H/Freeway.git)
- Impacket suite
- Subsnipe (https://github.com/dub-flow/subsnipe.git)
- Secator (https://github.com/freelabz/secator.git)
- LinWinPwn (https://github.com/lefayjey/linWinPwn.git)
- Nmap
Run the script as follows:
chmod +x install_pentest_tools.sh
./install_pentest_tools.sh
To clone this repository and run the installation script:
git clone https://github.com/MasterchiefGalaxy/pentest-tools-setup.git
cd pentest-tools-setup
chmod +x install_pentest_tools.sh
./install_pentest_tools.sh
Ensure you have sudo
privileges before running the script. The script will install all the necessary tools and dependencies on your Ubuntu system.
Step-by-step instructions to set up zsh
with color highlighting for commands using oh-my-zsh
and the zsh-syntax-highlighting
plugin.
sudo apt install zsh
sudo apt install curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
nano ~/.zshrc
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
source ~/.zshrc
If you want to further customize the colors, you can add the following to your ~/.zshrc file to set specific colors for different types of commands:
source ${(q-)PWD}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main)
# Default colors:
# ZSH_HIGHLIGHT_STYLES[default]=none
# ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=red,bold
# ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=yellow,bold
# ZSH_HIGHLIGHT_STYLES[alias]=fg=green,bold
# ZSH_HIGHLIGHT_STYLES[builtin]=fg=magenta,bold
# ZSH_HIGHLIGHT_STYLES[function]=fg=cyan,bold
# ZSH_HIGHLIGHT_STYLES[command]=fg=green,bold
# ZSH_HIGHLIGHT_STYLES[precommand]=fg=yellow,bold
# ZSH_HIGHLIGHT_STYLES[hashed-command]=fg=blue,bold
# ZSH_HIGHLIGHT_STYLES[path]=fg=blue,underline
# ZSH_HIGHLIGHT_STYLES[path_prefix]=fg=blue,underline
# ZSH_HIGHLIGHT_STYLES[path_approx]=fg=blue,underline
# ZSH_HIGHLIGHT_STYLES[globbing]=fg=magenta
# ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=cyan
# ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=red
# ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=red
# ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=fg=blue,bold
# ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=fg=blue
# ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=fg=blue
# ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=blue
# ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=blue,bold
# ZSH_HIGHLIGHT_STYLES[assign]=fg=red
# ZSH_HIGHLIGHT_STYLES[redirection]=fg=magenta
# ZSH_HIGHLIGHT_STYLES[arg0]=fg=cyan,bold
# ZSH_HIGHLIGHT_STYLES[arg1]=none