Updated Captiveportal for Bash Bunny v1.1

This commit is contained in:
Sebastian Kinne 2017-04-07 14:28:56 +10:00
parent 53a9e7fb69
commit f485299bd5
No known key found for this signature in database
GPG Key ID: 7F899C8AF843F556
2 changed files with 11 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# Captive Portal for the Bash Bunny
Author: Sebkinne
Version: 1.1
Version: 1.2
## Description
@ -17,8 +17,7 @@ To capture more information from the user, simply add more form inputs to *porta
## STATUS
| LED | Status |
| ---------------- | ----------------------------------- |
| Green (blinking) | The captive portal is starting up |
| Blue (solid) | The captive portal is ready for use |
| LED | Status |
| ---------| ----------------------------------- |
| SETUP | The captive portal is starting up |
| ATTACK | The captive portal is ready for use |

View File

@ -2,7 +2,7 @@
#
# Title: Captiveportal
# Author: Sebkinne
# Version: 1.1
# Version: 1.2
# Add or remove inputs here
INPUTS=(username password)
@ -11,11 +11,13 @@ INPUTS=(username password)
ATTACKMODE RNDIS_ETHERNET
#ATTACKMODE ECM_ETHERNET
##################################################################
# DO NOT EDIT BELOW THIS LINE #
##################################################################
source bunny_helpers.sh
GET SWITCH_POSITION
WORKINGPATH="/root/udisk/payloads/$SWITCH_POSITION"
# Sets up iptable forwarding and filters
@ -35,7 +37,7 @@ function startCaptiveportal() {
./captiveportal ${INPUTS[@]}
}
LED G 200
LED SETUP
setupNetworking
startCaptiveportal &
LED B 0
LED ATTACK