-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_pentest_tools.sh
104 lines (79 loc) · 2.96 KB
/
install_pentest_tools.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#!/bin/bash
# Display banner
echo "=========================================="
echo " Automated Pentesting Tool Installation "
echo " Author: Declanmidd "
echo "=========================================="
# Update system and install basic dependencies
echo "[*] Updating system and installing dependencies..."
sudo apt update -y && sudo apt upgrade -y
sudo apt install -y curl wget git build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev libffi-dev
# Install Nmap
echo "[*] Installing Nmap..."
sudo apt install -y nmap
# Install Metasploit Framework
echo "[*] Installing Metasploit Framework..."
curl https://raw.githubusercontent.com/rapid7/metasploit-framework/master/msfinstall > msfinstall
chmod +x msfinstall
sudo ./msfinstall
rm msfinstall
# Install Gobuster (for directory scanning and brute-forcing)
echo "[*] Installing Gobuster..."
sudo apt install -y gobuster
# Install WhatWeb (for web application fingerprinting)
echo "[*] Installing WhatWeb..."
sudo apt install -y whatweb
# Install Nikto (for web server vulnerability scanning)
echo "[*] Installing Nikto..."
sudo apt install -y nikto
# Install SQLMap (for SQL injection testing)
echo "[*] Installing SQLMap..."
sudo apt install -y sqlmap
# Install Hydra (for password cracking and brute-forcing)
echo "[*] Installing Hydra..."
sudo apt install -y hydra
# Install John the Ripper (for password cracking)
echo "[*] Installing John the Ripper..."
sudo apt install -y john
# Install VSCode (Text Editor for development)
echo "[*] Installing Visual Studio Code..."
sudo snap install --classic code
# Install Burp Suite (Web vulnerability scanner)
echo "[*] Installing Burp Suite Community Edition..."
sudo snap install burpsuite
# Additional web security tools
# Install Wfuzz (Web application fuzzing)
echo "[*] Installing Wfuzz..."
sudo apt install -y wfuzz
# Install Dirb (Web content scanner)
echo "[*] Installing Dirb..."
sudo apt install -y dirb
# Install XSSer (Cross-site scripting attack tool)
echo "[*] Installing XSSer..."
sudo apt install -y xsser
# Install OWASP ZAP (Web application vulnerability scanner)
echo "[*] Installing OWASP ZAP..."
sudo snap install zaproxy --classic
# Install Sublist3r (Subdomain enumeration)
echo "[*] Installing Sublist3r..."
sudo apt install -y sublist3r
# Install Amass (DNS enumeration and mapping)
echo "[*] Installing Amass..."
sudo apt install -y amass
# Install TheHarvester (Information gathering)
echo "[*] Installing TheHarvester..."
sudo apt install -y theharvester
# Install SSLyze (SSL configuration analysis)
echo "[*] Installing SSLyze..."
sudo apt install -y sslyze
# Install Wapiti (Web vulnerability scanner)
echo "[*] Installing Wapiti..."
sudo apt install -y wapiti
# Install Skipfish (Web application security reconnaissance)
echo "[*] Installing Skipfish..."
sudo apt install -y skipfish
# Clean up
echo "[*] Cleaning up..."
sudo apt autoremove -y
sudo apt clean
echo "[*] Installation complete. All tools are ready for use."