jakecudney1-cyber/PentestGPT ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python CLI tool called PentestGPT that helps with penetration testing and CTFs using AI.

I want it to take a target IP or URL, then run through a smart multi stage flow on its own, like recon, finding likely weaknesses, trying safe exploitation steps, and then giving me a clear walkthrough or report at the end. It should also have an interactive mode where I can guide it step by step, ask it for next actions, see a task tree, and resume old sessions later.

Please make it work well from the terminal, and include Docker support so it is easy to run without a messy setup. If it needs current model or CLI docs, look them up online. Keep the experience simple for someone who just wants to point it at a target and watch it reason through the test.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab