zardus / preeny

Some helpful preload libraries for pwning stuff.
BSD 2-Clause "Simplified" License
1.55k stars 171 forks source link

deptrace not work #72

Open pavlinux opened 4 years ago

pavlinux commented 4 years ago

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

sudhackar commented 4 years ago

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?