Add msgcat file-read

master
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
1 changed files with 16 additions and 0 deletions

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
---