Skip to content

Curated collection of pentesting and CTF scripts for vulnerability discovery, exploitation, and challenge solving. Modular, well-documented, and ready to use!

License

Notifications You must be signed in to change notification settings

jordanlanham52/pentesting-ctf-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pentesting & CTF Scripts

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.


🚀 Features

  • 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.

📂 Repository Structure

📁 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!

🛠️ Installation

  1. Clone the repository:

    git clone https://github.com/jordanlanham52/pentesting-ctf-scripts.git
    cd pentesting-ctf-scripts
  2. (Optional) Set up a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt

📜 Usage

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-65535

For detailed usage instructions, run the -h or --help flag with any script:

python ctf/xor_solver.py --help

🧩 Contributions

Contributions are welcome! If you have improvements, bug fixes, or new scripts, feel free to open a pull request. Please follow these steps:

  1. Fork the repository.
  2. Create a feature branch:
    git checkout -b feature/new-script
  3. Commit your changes:
    git commit -m "Add new feature or fix"
  4. Push to your fork:
    git push origin feature/new-script
  5. Open a pull request.

🤝 Acknowledgments

  • Inspired by the vibrant cybersecurity and CTF communities.
  • Special thanks to the contributors who make this repository better every day.

📜 License

This repository is licensed under the MIT License. Feel free to use, modify, and distribute the scripts as long as proper credit is given.


🌟 Star the Repo!

If you find this repository useful, please ⭐ it to show your support and help others discover it.

About

Curated collection of pentesting and CTF scripts for vulnerability discovery, exploitation, and challenge solving. Modular, well-documented, and ready to use!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published