mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add find file-write
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
83c2ba8335
commit
e8e9b2bc4b
@ -6,4 +6,9 @@ functions:
|
||||
- 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
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user