Skip to content

MasterchiefGalaxy/Swift_Pentest_Install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 

Repository files navigation

Pentest Tools Setup

Quick script to install various pentesting tools on Ubuntu

Tools Included

Usage

Run the script as follows:

chmod +x install_pentest_tools.sh
./install_pentest_tools.sh

Cloning the Repository

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

Note

Ensure you have sudo privileges before running the script. The script will install all the necessary tools and dependencies on your Ubuntu system.

Zsh Setup with Color Highlighting

Step-by-step instructions to set up zsh with color highlighting for commands using oh-my-zsh and the zsh-syntax-highlighting plugin.

Installation Steps

Install zsh

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:

Enable command highlighting

source ${(q-)PWD}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

Customize colors (optional)

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published