Add msgcat file-read

This commit is contained in:
Michalis Papadopoullos 2021-06-04 14:47:55 +03:00 committed by GitHub
parent 87cfb706fe
commit 54929fab15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/msgcat.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
msgcat -P $LFILE
sudo:
- code: |
LFILE=file_to_read
sudo msgcat -P $LFILE
suid:
- code: |
LFILE=file_to_read
./msgcat -P $LFILE
---