How isamu-isozaki/whiterabbitneo-pentestgpt works
Whiterabbitneo-PentestGPT is a command-line pentesting assistant built around the PentestGPT task-and-reasoning workflow. A user supplies a target IP; the app initializes pentest tasks, parses prior status and progress, and uses model-generated reasoning to update the task list and produce guidance. The README also highlights constrained generation to improve structured outputs. The excerpts show the entry point and shared schema/model logic, but omit much of main.py’s runtime, so links beyond the named imports and visible generation call are not asserted.
Main entry points: main.py CLI orchestrator · schema.py Task reasoning
Components 8
Pentest Workflow
- CLI orchestrator
main.py - Input parsing
schema.py
Prompting and Generation
- Task reasoning
schema.py - Response generation
schema.py - Constrained output
schema.py
Task State
- Task list tools
schema.py
Other components
- Pentest operator
- Language model
Connections 7
- Pentest operator → CLI orchestrator: runs
main.py - CLI orchestrator → Input parsing: imports parser
main.py - CLI orchestrator → Task reasoning: imports tools
main.py - CLI orchestrator → Response generation: imports generator
main.py - Task reasoning → Task list tools: updates tasks
schema.py - Response generation → Constrained output: uses constrained generation
schema.py - Constrained output → Language model: generates text
schema.py