strace.py

Python 3 bindings for ptrace

Install

All systems
curl cmd.cat/strace.py.sh
Debian Debian
apt-get install python-ptrace
Ubuntu
apt-get install python-ptrace
Arch Arch Linux
pacman -S python-ptrace
image/svg+xml Kali Linux
apt-get install python-ptrace
Fedora
dnf install python3-ptrace
Windows (WSL2)
sudo apt-get update sudo apt-get install python-ptrace
Raspbian
apt-get install python-ptrace

python3-ptrace

Python 3 bindings for ptrace

This package provides Python bindings for the ptrace library. It allows controlling, debugging, or modifying processes using the ptrace syscall. Features: * High level Python object API * Able to control multiple processes: catch fork events * Read/write bytes to arbitrary addresses * Execution step by step using ptrace_singlestep() or hardware int 3 * Can use distorm disassembler * Dump registers, memory mappings, stack, etc. * Syscall tracer and parser (strace command) This package provides the ptrace Python module for Python 3.x.

python-ptrace

Python bindings for ptrace

This package provides Python bindings for the ptrace library. It allows controlling, debugging, or modifying processes using the ptrace syscall. Features: * High level Python object API * Able to control multiple processes: catch fork events * Read/write bytes to arbitrary addresses * Execution step by step using ptrace_singlestep() or hardware int 3 * Can use distorm disassembler * Dump registers, memory mappings, stack, etc. * Syscall tracer and parser (strace command) This package provides the ptrace Python module for Python 2.x.