head to head · open source
PentestGPT vs knockpy
PentestGPT has 16,450 GitHub stars, 2,882 forks, 81 open issues and last shipped 4 months ago. knockpy has 4,209 stars, 870 forks, 72 open issues and last shipped 9 months ago. PentestGPT leads on adoption by 291% (16,450 vs 4,209 stars). PentestGPT is written in Python under MIT; knockpy is written in Python under GPL-3.0. PentestGPT has attracted 18% as many forks as stars, knockpy 21%. PentestGPT was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (penetration-testing), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| PentestGPT | knockpy | |
|---|---|---|
| GitHub stars | ★ 16K | ★ 4.2K |
| License | MIT | GPL-3.0 |
| Written in | Python | Python |
| Last push | 2026-07-14 | 2026-02-19 |
| Forks | ⑂ 2.9K | ⑂ 870 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick PentestGPT if
- You weight community size — 16K stars and counting
- You want the MIT license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick knockpy if
- You want the knockpy feature set and don't need the biggest community
- You prefer the GPL-3.0 license terms
- Your stack matches Python
- You evaluated both and knockpy fits your workflow better
About PentestGPT
[![Contributors][contributors shield]][contributors url] [![Forks][forks shield]][forks url] [![Stargazers][stars shield]][stars url] [![Issues][issues shield]][issues url] [![MIT License][license shield]][license url] [![Discord][discord shield]][discord url] PentestGPT AI Powered Autonomous Penetration Testing Agent Published at USENIX Security 2024 Official Website: pentestgpt.com » Research Paper · Report Bug · Request Feature Demo Installation Watch on YouTube PentestGPT in Action Watch on YouTube What's New in v1.0 (Agentic Upgrade) Multi Stage Pipeline The agent works through staged phases (recon →…
read the full PentestGPT overview →
About knockpy
🔍 Knockpy Subdomain Scan v9.0 ✅ Fast & Async • 🔐 Recon + Brute • 🔧 Easy to Extend KnockPy is a modular Python 3 tool to enumerate subdomains via passive reconnaissance and bruteforce, now with async/await support , enhanced performance, and modern HTTP/TLS handling. 🚀 Features (v9) ✅ Async scanning with httpx and DNS resolution ✅ Modular: plug new passive sources easily 🔍 Supports passive recon , bruteforce , or both 🎨 Formatted terminal output with Rich (tables, progress, panels) 📜 Validates HTTP/HTTPS status , TLS cert , and IP ⚠️ Detects legacy TLS support ( TLS 1.0/1.1 ) as warning in CLI/verbose/HTML…
read the full knockpy overview →
More in Security & Privacy
Related comparisons
More Threat Detection & Response projects
Compare either of these against the rest of the Threat Detection & Response field.
Frequently asked questions
Is PentestGPT or knockpy more popular?
PentestGPT has 16,450 GitHub stars and knockpy has 4,209. PentestGPT has the larger community by that measure.
Are PentestGPT and knockpy free?
Both are open source. PentestGPT is licensed under MIT and knockpy under GPL-3.0. Neither carries a licence fee.
What is the difference between PentestGPT and knockpy?
PentestGPT is written in Python and knockpy in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, PentestGPT or knockpy?
Choose PentestGPT if you want the larger community (16,450 stars) or its MIT licence terms. Choose knockpy if its feature set, stack or GPL-3.0 licence fits better. Both are self-hostable.