From df5cfc3cebe00e9a5d118bbf0b308c6505ac753e Mon Sep 17 00:00:00 2001 From: "K." Date: Sat, 17 May 2025 11:47:58 +0800 Subject: [PATCH] Add urlget.md Example: ``` /usr/lib/aarch64-linux-gnu/gettext/urlget /etc/passwd /etc/passwd ``` --- _gtfobins/urlget.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 _gtfobins/urlget.md diff --git a/_gtfobins/urlget.md b/_gtfobins/urlget.md new file mode 100644 index 00000000..18e27f47 --- /dev/null +++ b/_gtfobins/urlget.md @@ -0,0 +1,13 @@ +--- +functions: + file-read: + - description: It reads data from files, it may be used to do privileged reads or disclose files outside a restricted file system. The output might be corrupted or incomplete if the file does not follow the expected database format. Available in util-linux on CentOS, RHEL, Fedora. + code: | + LFILE=file_to_read + /usr/lib/aarch64-linux-gnu/gettext/urlget $LFILE $LFILE + sudo: + - description: If the binary is allowed to run as superuser by sudo, it does not drop the elevated privileges and may be used to access the file system, escalate or maintain privileged access. + code: | + LFILE=file_to_read + /usr/lib/aarch64-linux-gnu/gettext/urlget $LFILE $LFILE +---