A basic web pentesting tool for port scanning, vulnerability detection, and directory enumeration.
- Port scanning with Nmap.
- Vulnerability detection with Nikto.
- Directory enumeration using a wordlist (default: Dirbuster's wordlist).
- Python 3.x
- Libraries:
requests - External tools:
nmap,nikto
-
Clone the repository:
git clone https://github.com/AnkbNikas/web-pentest-tool.git cd web-pentest-tool -
Make the script executable:
chmod +x web_pentest.py
-
Install dependencies:
pip install requests
./web_pentest.py <target> [options] target: URL or IP of the target.-w, --wordlist: Path to the wordlist file (default: Dirbuster's wordlist).-n, --nmap: Run a port scan with Nmap.-k, --nikto: Run a vulnerability scan with Nikto.-d, --dirscan: Run a directory scan.