Remove hard-coded switch directory in place of bunny_helper variable
parent
0635da0933
commit
84f07261ba
|
@ -16,8 +16,10 @@
|
||||||
|
|
||||||
LED R G B
|
LED R G B
|
||||||
ATTACKMODE RNDIS_ETHERNET
|
ATTACKMODE RNDIS_ETHERNET
|
||||||
|
source bunny_helpers.sh
|
||||||
|
|
||||||
log_file="/var/log/BrowserBunny.log"
|
log_file="/var/log/BrowserBunny.log"
|
||||||
|
payload_root="/root/udisk/payloads/${SWITCH_POSITION}"
|
||||||
|
|
||||||
echo " --------- BrowserBunny [started] -----------" >> $log_file
|
echo " --------- BrowserBunny [started] -----------" >> $log_file
|
||||||
|
|
||||||
|
@ -34,5 +36,5 @@ LED R G
|
||||||
|
|
||||||
LED G
|
LED G
|
||||||
echo "Starting php server..." >> $log_file;
|
echo "Starting php server..." >> $log_file;
|
||||||
cd /root/udisk/payloads/switch1
|
cd $payload_root
|
||||||
php -S 172.16.64.1:80 &>> $log_file
|
php -S 172.16.64.1:80 &>> $log_file
|
Loading…
Reference in New Issue