Welcome to the Pentesting & CTF Scripts repository! This is a curated collection of scripts and tools I have developed to aid in penetration testing, cybersecurity research, and Capture The Flag (CTF) competitions. Whether you are a beginner or a seasoned pro, this repository has something useful for you.
- Pentesting Tools: Scripts designed for vulnerability discovery, exploitation, and reporting.
- CTF Utilities: Handy tools for solving CTF challenges, including cryptography, reverse engineering, web exploitation, and more.
- Extensible: Modular and easy-to-adapt scripts for various use cases.
- Well-Documented: Clear usage instructions and examples for every script.
📁 Pentesting-CTF-Scripts
├── 📁 pentesting
│ ├── exploit_template.py # A customizable exploit development template
│ ├── port_scanner.py # Fast and efficient multi-threaded port scanner
│ ├── smb_enum.py # SMB enumeration script
│ └── ... # More pentesting tools
├── 📁 ctf
│ ├── xor_solver.py # XOR cipher solver
│ ├── rsa_crack.py # RSA decryption tool for weak keys
│ ├── steg_analyzer.py # Steganography analysis script
│ └── ... # More CTF utilities
├── 📁 resources
│ ├── wordlists # Custom wordlists for brute-forcing
│ └── cheatsheets.md # Quick reference guides for common tasks
├── 📄 LICENSE # License for the repository
└── 📄 README.md # You're here!
-
Clone the repository:
git clone https://github.com/jordanlanham52/pentesting-ctf-scripts.git cd pentesting-ctf-scripts -
(Optional) Set up a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
Each script is designed to be standalone. Navigate to the respective folder and run the script with the required arguments. For example:
python pentesting/port_scanner.py -t 192.168.1.0/24 -p 1-65535For detailed usage instructions, run the -h or --help flag with any script:
python ctf/xor_solver.py --helpContributions are welcome! If you have improvements, bug fixes, or new scripts, feel free to open a pull request. Please follow these steps:
- Fork the repository.
- Create a feature branch:
git checkout -b feature/new-script
- Commit your changes:
git commit -m "Add new feature or fix" - Push to your fork:
git push origin feature/new-script
- Open a pull request.
- Inspired by the vibrant cybersecurity and CTF communities.
- Special thanks to the contributors who make this repository better every day.
This repository is licensed under the MIT License. Feel free to use, modify, and distribute the scripts as long as proper credit is given.
If you find this repository useful, please ⭐ it to show your support and help others discover it.