Add Windows compatibility fixes and web UI - #195
Open
BobLazar-cyber wants to merge 1 commit into
Open
Conversation
- Make mitmproxy import optional (graceful fallback when not installed) - Fix hardcoded /tmp paths in PythonEnvironmentManager and FileOperationsManager to use tempfile.gettempdir() for Windows support - Add CORS headers via flask_cors (or fallback after_request hook) so the UI can reach the API from a different port - Add ui.html: single-file dark hacker-themed web UI that connects to the Flask API on port 8888, featuring dashboard, telemetry, process manager, AI target analysis, smart scan, attack chain, tool runner (30+ tools with forms), bug bounty workflows, CTF tools, payload generator, command exec, and cache management panels Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mitmproxyimport optional so the server starts when it's not installed/tmppaths inPythonEnvironmentManagerandFileOperationsManagerwithtempfile.gettempdir()for Windows supportui.html: a single-file dark-themed web UI for the APIWhy
The server hardcoded POSIX
/tmppaths and requiredmitmproxy, so it crashed on startup on Windows. These changes let it run on Windows and add a browser UI covering dashboard, telemetry, processes, AI analysis, smart scan, attack chains, a 30+ tool runner, bug bounty & CTF workflows, payload generation, command exec, and cache management.Test plan
python hexstrike_server.pystarts on Windows without mitmproxyGET /healthreturns healthyui.html(served on :9000) and confirm it connects to the API on :8888🤖 Generated with Claude Code