zardus / preeny

Some helpful preload libraries for pwning stuff.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deptrace not work

pavlinux opened this issue · comments

export LD_PRELOAD=$PWD/deptrace.so;

strace -e open /bin/ls

^C

-- Another console
strace -p 7572
strace: Process 7572 attached
--- stopped by SIGSTOP ---
^C strace: Process 7572 detached

strace -ff -p 7570

strace: Process 7570 attached
wait4(7572,

^C

The purpose of deptrace is to disable the ptrace calls from the binary itself by returning 0. It can't stop an external program to debug the current program, I believe that's what confused you?