Commit Graph

196 Commits

Author SHA1 Message Date
famez
0bb8465254 Added MCP list command 2026-02-08 18:33:03 +01:00
famez
04c63205fd Configure debugging with vscode (allows to debug inside the container). 2026-02-08 13:49:57 +01:00
famez
d2f42fd7b0 Removed loot from dockerignore. 2026-02-08 13:37:37 +01:00
famez
c5731813e5 Added loot dir 2026-02-08 12:24:39 +01:00
famez
bd0234eaf8 Removed loot dir from gitignore. 2026-02-08 12:22:55 +01:00
Masic
99ccca8c77 Merge pull request #26 from famez/main
MCP tools stopped working after last commits as well as some other code (missing functions that caused exceptions and so on).
2026-02-06 19:56:56 -07:00
famez
8324009912 MCP tools were not loading, tried to change as few lines of code as possible to get it working again 2026-02-06 21:16:50 +01:00
famez
0359bc312b Merge branch 'GH05TCREW:main' into main 2026-02-04 22:31:57 +01:00
famez
9205fbda87 Preserve file permission after changing COPY clause in Dockerfile. 2026-02-01 23:43:35 +01:00
Masic
a26303c71d Merge pull request #23 from famez/main
Added removed function
2026-01-31 10:46:04 -07:00
famez
19e5c4a89c Moved COPY statement to avoid rebuilding the WEB browser when modifying the source code. 2026-01-29 22:25:03 +01:00
famez
f14016302e Restored removed function (when clicking Esc to cancel current task, it throws an exception). 2026-01-29 22:20:50 +01:00
Masic
279db35c58 Merge pull request #22 from famez/main
Several fixes
2026-01-27 15:12:08 -07:00
famez
e87c9ca1c8 Fixed error when launching the application in agent mode (state is not a member of PentestAgentAgent). 2026-01-27 21:43:37 +01:00
famez
432e81b283 Allow ignoring SSL errors when browsing HTTPS webs with self-signed certificates (throws error otherwise). 2026-01-27 21:22:14 +01:00
famez
9a6861bce3 Actually install playwright browser on base image 2026-01-27 21:21:23 +01:00
Masic
b0edef9f1d Merge pull request #21 from giveen/mcp-cleanup
Restore clean MCP setup (revert experimental changes)
2026-01-21 23:33:29 -07:00
giveen
a20444aaaa chore(mcp): restore MCP files from 49c0b93 2026-01-21 12:32:57 -07:00
giveen
bfc86d1ba4 chore(mcp): add STDIO_TOOLS list to mcp_servers.json 2026-01-21 12:27:49 -07:00
giveen
6815d5126f chore(mcp): stdio adapter discovers remote tools; update mcp_servers.json 2026-01-21 12:26:27 -07:00
giveen
eccc8471e8 chore(mcp): remove duplicate adapters, scripts, archives, example config, PR body and log 2026-01-21 12:08:11 -07:00
giveen
e1b6a6af07 feat(mcp): add generic stdio adapter under pentestagent/mcp and update example config 2026-01-21 12:01:36 -07:00
giveen
a417522f1a chore(mcp): remove docs refs to vendored adapters; add example adapter scaffold and tests 2026-01-21 11:31:03 -07:00
giveen
db06dcfa63 chore(mcp): remove hexstrike/metasploit adapters and helper scripts 2026-01-21 11:27:04 -07:00
giveen
30e2476d01 chore(mcp): remove vendored HexStrike files 2026-01-21 11:26:48 -07:00
giveen
d6c5d8ebd2 tui: register MCP tools quietly at startup (register=True, quiet=True) 2026-01-21 11:20:20 -07:00
giveen
1a54dea061 mcp: allow background connect without registering tools; TUI starts background connect(register=False) 2026-01-21 11:18:56 -07:00
giveen
d29e1f78e6 tui: instantiate MCPManager at startup to auto-connect and register MCP tools 2026-01-21 11:15:21 -07:00
giveen
84203c0435 mcp: auto-connect when configured; add socket control and tools call 2026-01-21 11:13:40 -07:00
giveen
080a32a8fa mcp: add unix socket control + tools call/list via daemon 2026-01-21 11:06:36 -07:00
giveen
f3f3b0956b mcp: add daemon mode + disconnect; harden StdioTransport cleanup 2026-01-21 10:55:30 -07:00
giveen
c5c6fee8da chore(mcp): disable MCP auto-start and auto-connect; document manual install 2026-01-21 09:23:13 -07:00
giveen
c73745304f chore(mcp): add visibility note for mcp-cleanup branch 2026-01-21 09:22:07 -07:00
Masic
bef1c3a52d Merge pull request #20 from giveen/bug-fix
Bug fix
2026-01-20 21:40:15 -07:00
giveen
9de59f1d00 refactor(tui): use persistent header for target display; remove in-chat target duplicates 2026-01-20 12:38:32 -07:00
giveen
0219d8367f fix(tui): avoid mount_before AttributeError by falling back to mount 2026-01-20 12:36:22 -07:00
giveen
cabae0fcd6 feat(tui): add persistent header showing runtime/mode/target and keep it updated 2026-01-20 12:34:08 -07:00
giveen
6b4a568479 fix(tui): clear target and agent state when deactivating workspace 2026-01-20 12:32:33 -07:00
giveen
00a7449293 fix(tui): ensure workspace restores supersede manual target messages 2026-01-20 12:31:48 -07:00
giveen
ea9c69fe22 fix(tui): append agent history when target set/restored so LLM sees changes 2026-01-20 12:26:37 -07:00
giveen
5e6e4cd44c fix: heuristics for flags-only terminal commands; route semantic tools to terminal 2026-01-20 12:18:17 -07:00
giveen
0a79b5d54e WIP: save local edits (tui.py, .gitignore) 2026-01-20 11:46:44 -07:00
Masic
0cd3ecc2b1 Merge pull request #19 from giveen/workspace
feat(workspaces): add unified /workspace lifecycle, target persistence, and workspace-scoped RAG
2026-01-19 21:25:53 -07:00
giveen
40b58f3c83 fix: address Copilot PR review comments
- Fix indentation of except blocks in hexstrike_adapter.py and metasploit_adapter.py
- Remove duplicate for loop in base_agent.py candidate validation
- Correct import section syntax in hexstrike_server.py
- All changes address Copilot review feedback for code correctness and clarity
2026-01-19 13:23:03 -07:00
giveen
4d673261b7 chore: code hygiene - remove redundant imports, clarify except/pass blocks, and improve error logging
- Removed redundant and duplicate imports (re, urllib.parse) in multiple modules
- Clarified or replaced except/pass blocks with comments or logging in TUI, main, and Docker runtime
- Improved notification error handling and logging
- No functional changes; code quality and maintainability improvements only
2026-01-19 13:12:31 -07:00
giveen
37e7be25a4 chore: remove test_*.py scripts from version control (should not be in PR) 2026-01-19 13:05:47 -07:00
giveen
cd1eaedf75 chore: remove unused TargetManager import from base_agent.py 2026-01-19 12:45:18 -07:00
giveen
bdb0b1d908 docs: clarify gather_candidate_targets is shallow, not recursive 2026-01-19 12:37:48 -07:00
giveen
63233dc392 refactor: use workspaces.validation utilities for target extraction and scope checks 2026-01-19 10:39:03 -07:00
giveen
14ec8af4a4 chore: log notifier failures in RAG; notify on MCP atexit failure; add TUI notification tests 2026-01-19 10:37:14 -07:00