Skip to content

Expand sudochop: host-side receiver tools, konsole search/strings commands, README#1

Draft
Copilot wants to merge 3 commits into
masterfrom
copilot/analyze-project-for-expansion
Draft

Expand sudochop: host-side receiver tools, konsole search/strings commands, README#1
Copilot wants to merge 3 commits into
masterfrom
copilot/analyze-project-for-expansion

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 4, 2026

The project lacked any host-side tooling to receive data from the device, had search and strings konsole commands stubbed as "Not implemented", a memory leak in cmd_hexdump, and a one-line README.

Host-side tools (tools/)

  • receive_dump.py – connects to port 2420, reads the 8-byte little-endian total-size header from dump.dylib, streams the raw disk image to a local file with progress/speed reporting
  • receive_keys.py – connects to port 5000, receives and parses the XML plist from crack.dylib via plistlib, pretty-prints keys in priority order (AES 835/89A/89B, EMF, DKey, passcode, class keys, UUID, HFS+ info, boot args); optionally saves raw plist
python3 tools/receive_keys.py 192.168.1.100 --output keys.plist
python3 tools/receive_dump.py 192.168.1.100 iphone.img

konsole shell (konsole/konsole/shell.c)

  • cmd_search – searches a kernel memory region for a hex byte pattern; uses a hex_char_to_int() helper for explicit per-character validation without sscanf; null-checks both malloc calls
  • cmd_string – finds printable ASCII runs ≥ configurable min length (default 4) with a separate trailing-run flush after the loop; prints address: string for each hit
  • Both added to the commands[] dispatch table with descriptions
  • Fixed memory leak in cmd_hexdump: buf was never free()d

Housekeeping

  • README.md – replaced one-liner with architecture diagram, per-module descriptions, build/deploy steps, and host-tool usage
  • .gitignore – covers __pycache__, Xcode build/, *.dylib, .DS_Store, disk images
Original prompt

Analyze this project and figure out how it can be expanded

Copilot AI changed the title [WIP] Analyze project and propose expansion opportunities Expand sudochop: host-side receiver tools, konsole search/strings commands, README Apr 4, 2026
Copilot AI requested a review from posixninja April 4, 2026 18:54
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.

2 participants