1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00

Add msgattrib file-read

This commit is contained in:
Michalis Papadopoullos 2021-05-25 10:00:36 +03:00 committed by GitHub
parent a18f48d0f6
commit b04b2af68b
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/msgattrib.md Normal file
View File

@ -0,0 +1,16 @@
---
description: The file is parsed and displayed as a Java `.properties` file, so this may not be suitable to read arbitrary binary data.
functions:
file-read:
- code: |
LFILE=file_to_read
msgattrib -P $LFILE
sudo:
- code: |
LFILE=file_to_read
sudo msgattrib -P $LFILE
suid:
- code: |
LFILE=file_to_read
./msgattrib -P $LFILE
---