mirror of
https://github.com/hak5darren/bashbunny-payloads.git
synced 2025-10-29 16:58:12 +00:00
Fixed a bug and updated the read-me doc.
This commit is contained in:
@@ -5,7 +5,7 @@ Version: 1.0
|
|||||||
|
|
||||||
## Description
|
## 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
|
## Configuration
|
||||||
|
|
||||||
@@ -26,7 +26,6 @@ Target must be sharing internet.
|
|||||||
| ---------------- | ------------------------------------- |
|
| ---------------- | ------------------------------------- |
|
||||||
| White | Ready (to share internet connection) |
|
| White | Ready (to share internet connection) |
|
||||||
| Red | Failed (no internet) |
|
| Red | Failed (no internet) |
|
||||||
| Red (blinking) | Failed (could not mount filesystem) |
|
|
||||||
| Amber | Running |
|
| Amber | Running |
|
||||||
| Purple | Cleaning Up |
|
| Purple | Cleaning Up |
|
||||||
| Green (blinking) | Finished (git pull) |
|
| Green (blinking) | Finished (git pull) |
|
||||||
|
|||||||
@@ -18,15 +18,15 @@ LED R G B
|
|||||||
ATTACKMODE RNDIS_ETHERNET
|
ATTACKMODE RNDIS_ETHERNET
|
||||||
#ATTACKMODE ECM_ETHERNET
|
#ATTACKMODE ECM_ETHERNET
|
||||||
|
|
||||||
source bunny_helpers.sh
|
|
||||||
|
|
||||||
# Set your desired repo url and branch if you're not looking to update from mainline
|
# 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_repo="https://github.com/hak5/bashbunny-payloads.git"
|
||||||
git_branch="master"
|
git_branch="master"
|
||||||
payloads_dir="/root/udisk"
|
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
|
# Test for internet connection
|
||||||
wget -q --tries=15 --timeout=5 --spider http://example.com
|
wget -q --tries=15 --timeout=5 --spider http://example.com
|
||||||
|
|||||||
Reference in New Issue
Block a user