From 02909240b59685a36d05710352452bda36bfd5d1 Mon Sep 17 00:00:00 2001 From: JM Sanchez <77505889+jmrcsnchz@users.noreply.github.com> Date: Mon, 19 Aug 2024 00:09:34 +0800 Subject: [PATCH] Update borg.md --- _gtfobins/borg.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_gtfobins/borg.md b/_gtfobins/borg.md index f7dd697..e50e152 100644 --- a/_gtfobins/borg.md +++ b/_gtfobins/borg.md @@ -1,7 +1,9 @@ --- functions: shell: - - code: borg extract @:/::: --rsh "sh -c 'sh /dev/tty 2>/dev/tty'" + - code: aa-exec /bin/sh + suid: + - code: ./aa-exec /bin/sh -p sudo: - - code: sudo borg extract @:/::: --rsh "sh -c 'sh /dev/tty 2>/dev/tty'" + - code: sudo aa-exec /bin/sh ---