Skip to main content

⚡ Pentool — AI-Powered Web Pentesting, Right in Your Terminal

Fast, easy, lightweight. An AI assistant drives your pentest in the terminal — picks the right checks, bypasses WAF, finds hidden endpoints. No heavy IDE, no lag.

PyPI version Python versions CI License: AGPL v3 Downloads

🌐 Languages: English · Русский · 中文 · हिन्दी


Pentool is a terminal-based (TUI) security toolkit for penetration testers and security researchers.
It combines HTTP interception, vulnerability scanning, automated attacks, AI assistance, and data analysis — all inside your terminal.
Fast, transparent, and built for real-world testing.

Your AI in the loop: point it at a URL once and Pentool spins up the proxy, generates + imports a trusted CA cert into a headless browser, sends the first request, and fills the project — so you can start auditing immediately. No lag, no heavy setup.

⚠️ Use a modern terminal emulator. Pentool's TUI relies on mouse support, true color, and modern rendering (built on the Textual framework). Legacy terminals (e.g. Windows cmd.exe) will render incorrectly. Recommended: Windows Terminal, iTerm2 (macOS), GNOME Terminal / Kitty / Alacritty / WezTerm (Linux). On Windows, running inside WSL gives the best experience.


🎬 Overview

Pentool demo


✨ Features

  • 🌐 Proxy
    Intercept and modify HTTP/HTTPS traffic in real time. Manage scope, apply Match & Replace rules, capture WebSocket messages.

  • 🔄 Repeater
    Replay requests with any modifications. Save tabs between sessions and switch between scenarios instantly.

  • 💥 Intruder
    Run automated payload attacks with four strategies: Sniper, Battering Ram, Pitchfork, Cluster Bomb.
    Turbo Mode (PRO) delivers 10× speed via Keep-Alive and connection pooling.

  • 🔍 Scanner
    Active and passive vulnerability analysis: SQLi, XSS, SSTI, LFI, RCE, SSRF, XXE, CORS, JWT flaws, and more.
    Smart context-aware payloads, WAF bypass, time-based and boolean-blind techniques.

  • 🕷 Spider
    Crawl targets automatically — collect pages, forms, API endpoints, and JS files.
    JavaScript rendering via Playwright is supported.

  • 🎯 Target / Site Map
    Build a site map from proxy traffic, manage testing scope, and filter hosts directly from the UI.

  • 🔐 Decoder · Comparer · Sequencer

    • Decoder — 19 encode/decode/hash operations with chaining support
    • Comparer — side-by-side diff with change highlighting
    • Sequencer — entropy analysis of tokens (sessions, CSRF, JWT) with FIPS tests
  • 🧩 Plugin System
    Extend functionality without touching the core. PRO plugins add advanced scanners, smart payloads, and report generators.

  • ⚡ Async Core
    Fully async engine handles thousands of concurrent connections and hundreds of requests per second.

  • 📦 One-line Install
    uv tool install pentool — no complex setup, works on Linux, macOS, and Windows (WSL).

  • 🆓 Open Source + PRO Extensions
    The base version is free and open. PRO extensions unlock exclusive features and support the project.


🚀 Quick Start

# Install (recommended — isolated, single command)
uv tool install pentool

# Launch the TUI with a new project for the target (host pre-seeded)
pentool --url https://example.com

# Same, but actually load the target in a headless browser THROUGH the proxy,
# so real traffic lands in HTTP History + Target (needs Playwright/Chromium)
# install:  uv tool run --with playwright python -m playwright install chromium
pentool --url https://example.com --real

# Headless scan — perfect for CI/CD (GitLab CI, GitHub Actions, Jenkins)
pentool --url https://example.com --headless --output result.json

# Start proxy on custom port
pentool proxy start --port 8080

# Active scan (CLI)
pentool scan active --url https://example.com

# Check for updates
pentool update --check

🤖 CI/CD — headless security checks

For automation, run Pentool without the TUI and get a JSON audit report:

pentool --url https://example.com --headless --output result.json
  • Emits findings as machine-readable JSON for later audit / dashboards.
  • Works in GitLab CI, GitHub Actions, Jenkins, cron jobs, or any script.
  • No display, no terminal, no interaction required.

Full examples and a ready-to-copy GitHub Actions / GitLab CI template — see the CI/CD Guide.


📚 Documentation

Full docs: pentool.pro


🧪 Beta / Testing Mode

Pentool is currently in public beta.
All free modules are fully functional. PRO features are actively being built — a 14-day trial is available so you can evaluate everything upfront.

🎙 For Bloggers & Content Creators

Running a security blog, YouTube channel, or Telegram channel?
Write an honest review and recommend Pentool to your audience — we'll give you a permanent PRO license, completely free.

No minimum follower count. We value quality over reach.
→ Reach out: @sudores on Telegram


💰 Support the Project

Pentool is built and maintained by a solo developer in spare time.
If it saves you hours on a pentest — consider giving back. Every contribution directly funds new features, fixes, and faster releases.

  • Star on GitHub — free, takes 2 seconds, helps visibility enormously
  • 💸 Sponsor the project — $5 (individual) or $50 (company, includes logo placement)
  • 🔑 PRO license — $29 beta price — early access + lifetime loyalty discount
  • 💬 Share — tell a colleague, post a review, or mention Pentool in your writeups

Building tools is lonely work. A star or a kind word genuinely matters. Thank you. 🙏


🤝 Contributing

Contributions are welcome!
Please read CONTRIBUTING.md before opening a PR.


🙏 Acknowledgments

Special thanks to:

  • codeby.net — For community support and feedback

📄 License

Distributed under the AGPL-3.0 license. See LICENSE for details.
PRO extensions are available under a commercial license.


📬 Contact


⭐ If Pentool saves you time, a GitHub star helps the project grow — thanks!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pentool-0.3.1.tar.gz (350.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pentool-0.3.1-py3-none-any.whl (406.5 kB view details)

Uploaded Python 3

File details

Details for the file pentool-0.3.1.tar.gz.

File metadata

  • Download URL: pentool-0.3.1.tar.gz
  • Upload date:
  • Size: 350.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for pentool-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3dee117314b411bcc77b1f1fe24faa8a483a3bd49873564b1f55d96a950314f6
MD5 04e815df20475b3e2585b413f80ef2bb
BLAKE2b-256 72d23dfdca6da00934ddaf758c659646aa649d8d4e92105fcc62c8991747dfad

See more details on using hashes here.

File details

Details for the file pentool-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pentool-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 406.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for pentool-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6771d3e13efbdea3f58dac95f22a1c8c295ac20d2820024e93616fb744fd62c9
MD5 3e7e9d4857da299f6e6b9d5da7da1b27
BLAKE2b-256 c8e9e5c423f1115232073f1fee878c56df92c63e2f8b2719b37d9139fb1037be

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page