Add ImGui GUI, full type extraction, bidirectional packet injection
Major additions: - ImGui GUI (paralogue_gui.py) with 6 tabs: Packets, Config, Session, Wire, Dispatch, Composer. Real-time packet inspector with JSON syntax highlighting via imgui_color_text_edit. Modifier toggles with auto-save. - Full msg_id -> type extraction via Frida GetTypeName() on all 191 dispatch entries (extract_type_names.js, run_extract_types.py). Zero unknowns remaining. - Bidirectional WireRewriter: C->S rewriter enables packet injection without breaking server decrypt counter. Write locks prevent interleaved frame corruption. - Packet injection: replay captured packets or compose custom ones from the GUI Composer tab. S->C uses packet_id=0 (push semantics), C->S auto-increments. - Direction enforcement in _emit_decoded: rejects type names whose suffix contradicts wire direction, purges stale cache entries. - Blueprint injection modifier (11xxx range) as separate toggle. - build_frame() helper for constructing wire frames from msg_id + body. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
9c3189cac2
commit
d7799f51a7
11 files changed
+2304
-73
No files matched your search
@@ -0,0 +1,24 @@
|
||||
@echo off
|
||||
rem run_gui.bat - launch the Paralogue MITM GUI.
|
||||
rem Kills any running paralogue_mitm.py / paralogue_gui.py first.
|
||||
|
||||
setlocal
|
||||
set PY=X:\Users\user\AppData\Local\Programs\Python\Python313\python.exe
|
||||
set SCRIPT_DIR=%~dp0
|
||||
|
||||
echo [*] stopping any running mitm / gui processes ...
|
||||
for /f "tokens=2 delims=," %%p in ('
|
||||
wmic process where "name='python.exe' and (CommandLine like '%%paralogue_mitm.py%%' or CommandLine like '%%paralogue_gui.py%%')" get ProcessId /format:csv ^| findstr /r "[0-9]"
|
||||
') do (
|
||||
echo killing PID %%p
|
||||
taskkill /PID %%p /F >nul 2>&1
|
||||
)
|
||||
|
||||
timeout /t 1 /nobreak >nul
|
||||
|
||||
echo [*] starting paralogue_gui.py
|
||||
pushd "%SCRIPT_DIR%\.."
|
||||
"%PY%" -u frida_hooks\paralogue_gui.py %*
|
||||
popd
|
||||
|
||||
endlocal
|
||||
Reference in new issue
Block a user