Skip to content

v8.5.2

Choose a tag to compare

@doronz88 doronz88 released this 31 Oct 23:23
· 9 commits to master since this release
7bf6870

Highlights

🐛 More fixes for bugs left over from the asyncio migration

  • p.processes.get_by_basename(name).dump_app(path) works again. Since the asyncio migration it passed an async symbol to construct's parse_stream() and wrote an un-awaited peek() coroutine into the output file. It now reads the in-memory Mach-O header and load commands up front, and it also handles 32-bit LC_ENCRYPTION_INFO.
  • Sockets can be displayed and queried right away. repr(sock) and sock.getblocking() raised AttributeError until setblocking() had been called, so even showing a socket in the console crashed.
  • p.network.socket() detects failures. It treated 0 (a valid fd) as an error and missed -1.
  • p.network.set_http_proxy() restarts configd again. It looked up a process named "configd)".
  • iOS p.processes.launch() returns as soon as the app is up, instead of always waiting the full timeout.
  • File.write() returns the number of bytes written instead of always returning 0.
async with await p.network.tcp_connect("127.0.0.1", 8080) as sock:
    sock                     # <Socket FD:5 BLOCKING:<unknown>>
    await sock.getblocking() # True

📚 Redesigned docs site and new guides

https://doronz88.github.io/rpc-project/ has a new landing page and a theme based on the project's logo. There are four new guides:

  • Filesystem: listing, reading and writing, push/pull, permissions, links, and Darwin xattrs/flags.
  • Processes: spawn, finding and inspecting processes, reading and writing process memory, signals, and iOS launch/dump.
  • Networking: interfaces, name resolution, connections from the target, proxies and certificate pinning, and iOS Wi-Fi.
  • Scripting with rpcclient: using the async client from your own code, and how the console's auto-await differs.

The API reference now covers the core fs, network and processes modules, and the quick start's p.pid / .fds examples have been corrected.

What's Changed

Full Changelog: v8.5.1...v8.5.2