Skip to content

fix: improve session output reliability and check override handling - #12

Merged
setuidloot merged 1 commit into
mainfrom
fix/session-id-key-normalization
Apr 23, 2026
Merged

setuidloot merged 1 commit into
mainfrom
fix/session-id-key-normalization

Conversation

@setuidloot

Copy link
Copy Markdown
Owner

Summary

  • Improve meterpreter/shell session command handling by returning explicit empty-output and meterpreter-error statuses, preserving shell-entry preamble output, and adding read telemetry fields.
  • Raise default inactivity timeout and tighten prompt detection to reduce false success/false completion outcomes.
  • Add probe utility and regression tests for force exploit autocheck behavior and session command reliability semantics.

Test plan

  • source /mnt/samsung860/nday/exploitmcp/.venv/bin/activate && pytest -q (executed; currently reports existing failures in this repo branch)
  • Re-run full suite after triaging existing baseline failures
  • Run live RPC probe: python3 probe_session_channel.py --session-id <id> --command "cat /etc/passwd"

Made with Cursor

Make send_session_command report empty output and meterpreter-native failures explicitly while preserving shell-mode transition output, and document the new semantics. Add regression tests for force exploit autocheck overrides, timeout defaults, and session command behavior to prevent future regressions.

Made-with: Cursor
@setuidloot
setuidloot merged commit 03a144f into main Apr 23, 2026
1 check passed
setuidloot pushed a commit that referenced this pull request Apr 29, 2026
fix: improve session output reliability and check override handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant