greydgl--pentestgpt
abe3be01b4
Major rewrite of PentestGPT to use an agentic pipeline architecture: Core Changes: - New event-driven architecture with EventBus for TUI-agent decoupling - Implemented AgentController with 5-state lifecycle (IDLE->RUNNING->PAUSED->COMPLETED->ERROR) - Added AgentBackend interface with ClaudeCodeBackend implementation - Session management with file-based persistence for resumable pentests - Langfuse integration for observability and tracing Interface: - New Textual-based TUI with real-time activity feed - Keyboard shortcuts: F1 help, Ctrl+P pause, Ctrl+Q quit - Enhanced CLI with --target, --instruction, --non-interactive, --debug flags Project Structure: - Moved legacy multi-LLM version (v0.15) to legacy/ directory - New pentestgpt/core/ for agent, controller, events, session modules - New pentestgpt/interface/ for TUI and CLI components - New pentestgpt/benchmark/ for xbow benchmark integration - Comprehensive test suite in tests/ with unit and integration tests DevOps: - Docker support with Ubuntu 24.04 container - GitHub Actions CI/CD pipeline - Makefile with dev commands (test, lint, format, typecheck) - Added xbow-validation-benchmarks as submodule
141 行
2.7 KiB
Plaintext
141 行
2.7 KiB
Plaintext
# ============================================================================
|
|
# Python
|
|
# ============================================================================
|
|
|
|
# Byte-compiled / optimized / DLL files
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
|
|
# Distribution / packaging
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
share/python-wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
|
|
# Installer logs
|
|
pip-log.txt
|
|
pip-delete-this-directory.txt
|
|
|
|
# ============================================================================
|
|
# Virtual Environments
|
|
# ============================================================================
|
|
|
|
.venv/
|
|
venv/
|
|
ENV/
|
|
env/
|
|
env.bak/
|
|
venv.bak/
|
|
|
|
# ============================================================================
|
|
# Poetry / PDM
|
|
# ============================================================================
|
|
|
|
poetry.lock
|
|
.pdm.toml
|
|
.pdm-build/
|
|
|
|
# ============================================================================
|
|
# Testing
|
|
# ============================================================================
|
|
|
|
.pytest_cache/
|
|
.coverage
|
|
.coverage.*
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
.cache
|
|
nosetests.xml
|
|
coverage.xml
|
|
*.cover
|
|
*.py,cover
|
|
.hypothesis/
|
|
cover/
|
|
|
|
# ============================================================================
|
|
# Type Checking & Linting
|
|
# ============================================================================
|
|
|
|
.mypy_cache/
|
|
.dmypy.json
|
|
dmypy.json
|
|
.pytype/
|
|
.pyre/
|
|
.ruff_cache/
|
|
cython_debug/
|
|
|
|
# ============================================================================
|
|
# IDEs & Editors
|
|
# ============================================================================
|
|
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.aider*
|
|
|
|
# ============================================================================
|
|
# OS Files
|
|
# ============================================================================
|
|
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# ============================================================================
|
|
# Project Specific
|
|
# ============================================================================
|
|
|
|
# Runtime workspace (keep folder, ignore contents)
|
|
workspace/*
|
|
!workspace/.gitkeep
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
|
|
# Environment
|
|
.env
|
|
.env.auth
|
|
|
|
# Agent runs
|
|
agent_runs/
|
|
|
|
# Legacy project files (when running from legacy/)
|
|
config/chatgpt_config.py
|
|
outputs/
|
|
test_history/
|
|
archive/
|
|
|
|
# ============================================================================
|
|
# Documentation
|
|
# ============================================================================
|
|
|
|
docs/_build/
|
|
/site
|
|
|
|
# ============================================================================
|
|
# Jupyter
|
|
# ============================================================================
|
|
|
|
.ipynb_checkpoints
|
|
profile_default/
|
|
ipython_config.py
|