From 54929fab158c75437095891f1890950f80cd8314 Mon Sep 17 00:00:00 2001 From: Michalis Papadopoullos <2173624+xmpf@users.noreply.github.com> Date: Fri, 4 Jun 2021 14:47:55 +0300 Subject: [PATCH] Add msgcat file-read --- _gtfobins/msgcat.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _gtfobins/msgcat.md diff --git a/_gtfobins/msgcat.md b/_gtfobins/msgcat.md new file mode 100644 index 0000000..3abc6d7 --- /dev/null +++ b/_gtfobins/msgcat.md @@ -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 +---