Skip to content

Instantly share code, notes, and snippets.

@austinsonger
Last active December 10, 2024 05:39
Show Gist options
  • Save austinsonger/a4e97b20791641c37d489336c7fbf471 to your computer and use it in GitHub Desktop.
Save austinsonger/a4e97b20791641c37d489336c7fbf471 to your computer and use it in GitHub Desktop.
Pentesting Setup
sudo apt-get update -y && sudo apt-get upgrade -y
# Frameworks
## Go
mkdir -p ~/Downloads/gitrepos && cd ~/Downloads/gitrepos
wget https://dl.google.com/go/go1.12.9.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.12.9.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
## Nodejs and NPM
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install -y \
nodejs \
npm \
## Python
sudo apt install python-virtualenv python-dev python3-distutils
sudo apt install python3-pip
sudo pip install virtualenvwrapper
mkdir ~/npm-global -p
sudo chown -R $USER:$USER ~/npm-global
npm config set prefix '~/npm-global'
echo "export PATH=~/npm-global/bin:$PATH" >> ~/.zshrc
##Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get install docker-ce-cli containerd.io -y
sudo apt-get update
apt-cache policy docker-ce
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
sudo systemctl enable docker
# Install docker compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo apt-get install xclip #Required to generate a SSH key for GitHub
sudo apt-get install apache2 -y #Apache2
sudo apt-get install mysql-server -y #mysql
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql -y #php
sudo apt-get install phpmyadmin -y #phpmyadmin
sudo apt install composer -y #composer
sudo apt-get install ruby-full -y #Ruby
sudo gem install bundler -y #ruby-bundler
# Utilies
sudo apt install -y\
p7zip-full \ # Compression
bleachbit \ # Cleaning
nmap \ # Network
nettools \ # Network
nfs-common \ # Network
htop \ # Administration
apt-xapian-index \ # Administration
gparted \ # Administration
synaptic \ # Administration
tree \ # Administration
# Configuration
## Git
git config --global user.name austinsonger
git config --global user.email [email protected]
# SNAP
sudo snap install vscode --classic
sudo snap install atom --classic
sudo snap install slack --classic
sudo snap install powershell-preview --classic
sudo snap install powershell --classic
# HACKING
## OISNT
git clone https://github.com/GoVanguard/legion.git
git clone https://github.com/1N3/BlackWidow.git
cd BlackWidow
docker build -t blackwidow .
docker run -it blackwidow # Defaults to --help
docker pull xerosecurity/sn1per
docker run -it xerosecurity/sn1per /bin/bash
git clone https://github.com/1N3/Goohak.git
## Exploits
git clone https://github.com/1N3/Findsploit
cd Findsploit
./install.sh
git clone https://github.com/1N3/PrivEsc.git
git clone https://github.com/1N3/IntruderPayloads.git
## Services
git clone https://github.com/1N3/BruteX
## Network
git clone https://github.com/SECFORCE/sparta.git
## Powershell
git clone https://github.com/samratashok/nishang.git
## OTHER
git clone https://github.com/mgeeky/Penetration-Testing-Tools.git
bash <(wget -qO- https://git.io/vAtmB)
git clone https://github.com/tacticthreat/PenetrationTesting-Notes
git clone https://github.com/AnasAboureada/Penetration-Testing-Study-Notes.git
git clone https://github.com/OlivierLaflamme/Cheatsheet-God.git
git clone https://github.com/weaknetlabs/Penetration-Testing-Grimoire.git
git clone https://github.com/0xInfection/TIDoS-Framework.git
git clone https://github.com/klsecservices/rpivot.git
git clone https://github.com/KvasirSecurity/Kvasir.git
git clone https://github.com/sdcampbell/Internal-Pentest-Playbook.git
git clone https://github.com/cr4shcod3/pureblood.git
git clone https://github.com/urbanadventurer/username-anarchy.git
git clone https://github.com/gyoisamurai/GyoiThon.git
git clone https://github.com/dzonerzy/goWAPT.git
git clone https://github.com/samratashok/Kautilya.git
git clone https://github.com/rastating/wordpress-exploit-framework.git
git clone https://github.com/D4Vinci/One-Lin3r.git
git clone https://github.com/Voorivex/pentest-guide.git
git clone https://github.com/x3omdax/PenBox.git
git clone https://github.com/Re4son/mix-recon.git
git clone https://github.com/0x0mar/smod.git
git clone https://github.com/reb311ion/rebel-framework.git
git clone https://github.com/bahaabdelwahed/killshot.git
git clone https://github.com/PaulSec/DET.git
git clone https://github.com/samyk/pwnat.git
git clone https://github.com/leebaird/discover.git
git clone https://github.com/ShawnDEvans/smbmap.git
git clone https://github.com/robertdavidgraham/masscan.git
git clone https://github.com/alexxy/netdiscover.git
git clone https://github.com/netsniff-ng/netsniff-ng.git
git clone https://github.com/bitvijays/Pentest-Scripts.git
git clone https://github.com/WyAtu/PentestScripts.git
git clone https://github.com/Leviathan36/trigmap.git
git clone https://github.com/OpenSourcePentest/tools.git
git clone https://github.com/Anon-Exploiter/SiteBroker.git
git clone https://github.com/isaudits/scripts.git
git clone https://github.com/ellerbrock/docker-security-images.git
git clone https://github.com/OWASP/wstg.git
git clone https://github.com/b1n4ry4rms/RedTeam-Pentest-Cheatsheets.git
git clone https://github.com/rastating/shiva.git
git clone https://github.com/vergl4s/pentesting-dump.git
git clone https://github.com/gitgik/penetration-testing.git
git clone https://github.com/arvinddoraiswamy/mywebappscripts.git
git clone https://github.com/geckom/Attero.git
git clone https://github.com/iwundu/NonzyToolkit.git
# Clean
sudo apt autoremove
sudo apt -y autoclean
sudo apt -y clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment