7 lines
178 B
Python
7 lines
178 B
Python
# Escape attempt: ptrace is killed by the seccomp policy (SIGSYS).
|
|
import ctypes
|
|
|
|
libc = ctypes.CDLL(None, use_errno=True)
|
|
libc.ptrace(0, 0, None, None)
|
|
print("ptrace returned")
|