From 0f67843c177b172ff51c924bd676e577625a2d64 Mon Sep 17 00:00:00 2001 From: Andrew Haberlandt Date: Tue, 7 May 2024 04:16:27 +0000 Subject: [PATCH] doc: update readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b79933e..bb44e3a 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ It is intended to fufill many of the same use-cases as debuggers (e.g. GDB/Pwndb or complex dynamic instrumentation frameworks (Frida, Dynamorio, DynInst, PIN, etc.). It was designed with CTF challenges (pwn/rev) in mind. +```sh +docker run -it ghcr.io/ndrewh/pyda + +$ pyda -- +``` + + > [!WARNING] > This API is not stable and will likely change. Please provide > feedback on the API by filing an issue. @@ -34,7 +41,7 @@ def main_hook(p): return_addr = p.read(p.regs.rsp, 8) print(f"return address: {hex(u64(return_addr))}") -# Register the hook, and run the bianry +# Register the hook, and run the binary p.hook(e.symbols["main"], main_hook) p.run() ```