From b04b2af68bea802b0f7be16e407c4a6151334682 Mon Sep 17 00:00:00 2001 From: Michalis Papadopoullos <2173624+xmpf@users.noreply.github.com> Date: Tue, 25 May 2021 10:00:36 +0300 Subject: [PATCH] Add msgattrib file-read --- _gtfobins/msgattrib.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _gtfobins/msgattrib.md diff --git a/_gtfobins/msgattrib.md b/_gtfobins/msgattrib.md new file mode 100644 index 0000000..223592c --- /dev/null +++ b/_gtfobins/msgattrib.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 + msgattrib -P $LFILE + sudo: + - code: | + LFILE=file_to_read + sudo msgattrib -P $LFILE + suid: + - code: | + LFILE=file_to_read + ./msgattrib -P $LFILE +---