mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Fixed a bug and updated the read-me doc.
This commit is contained in:
parent
e03f82fa93
commit
00a365a706
@ -5,7 +5,7 @@ Version: 1.0
|
||||
|
||||
## Description
|
||||
|
||||
Clones the bashbunny-payloads repository and also will update an existing repository.
|
||||
Clones the bashbunny-payloads repository and also will update an existing repository. Use this payload to get all the other payloads!
|
||||
|
||||
## Configuration
|
||||
|
||||
@ -26,7 +26,6 @@ Target must be sharing internet.
|
||||
| ---------------- | ------------------------------------- |
|
||||
| White | Ready (to share internet connection) |
|
||||
| Red | Failed (no internet) |
|
||||
| Red (blinking) | Failed (could not mount filesystem) |
|
||||
| Amber | Running |
|
||||
| Purple | Cleaning Up |
|
||||
| Green (blinking) | Finished (git pull) |
|
||||
|
||||
@ -18,15 +18,15 @@ LED R G B
|
||||
ATTACKMODE RNDIS_ETHERNET
|
||||
#ATTACKMODE ECM_ETHERNET
|
||||
|
||||
source bunny_helpers.sh
|
||||
|
||||
# Set your desired repo url and branch if you're not looking to update from mainline
|
||||
git_repo="https://github.com/hak5/bashbunny-payloads.git"
|
||||
git_branch="master"
|
||||
payloads_dir="/root/udisk"
|
||||
log_file="/root/udisk/payloads/$SWITCH_POSITION/git.log"
|
||||
log_file="/root/udisk/git.log"
|
||||
|
||||
echo "Git Bunny Git" > $log_file
|
||||
echo "Git Bunny Git" >> $log_file
|
||||
|
||||
[[ ! -d "$payloads_dir/payloads" ]] && { LED R; echo "Could not mount filesystem" >> $log_file; exit 1; }
|
||||
|
||||
# Test for internet connection
|
||||
wget -q --tries=15 --timeout=5 --spider http://example.com
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user