Update payload.sh
parent
26047aa6fe
commit
1f51d93b6a
|
@ -20,6 +20,7 @@
|
||||||
# Turn on Discord Integration (Yes = 1, No = 0)
|
# Turn on Discord Integration (Yes = 1, No = 0)
|
||||||
DISCORD=0
|
DISCORD=0
|
||||||
WEBHOOK='PLACE_DISCORD_WEBHOOK_HERE'
|
WEBHOOK='PLACE_DISCORD_WEBHOOK_HERE'
|
||||||
|
URL="http://www.example.com"
|
||||||
# Send Loot as File or Plain Messages (File = 1, Messages = 0)
|
# Send Loot as File or Plain Messages (File = 1, Messages = 0)
|
||||||
AS_FILE=0
|
AS_FILE=0
|
||||||
|
|
||||||
|
@ -31,7 +32,6 @@ fi
|
||||||
LED SETUP
|
LED SETUP
|
||||||
NETMODE DHCP_CLIENT
|
NETMODE DHCP_CLIENT
|
||||||
while ! ifconfig eth0 | grep "inet addr"; do LED Y SOLID; sleep .2; LED M SOLID; sleep .8; done
|
while ! ifconfig eth0 | grep "inet addr"; do LED Y SOLID; sleep .2; LED M SOLID; sleep .8; done
|
||||||
URL="http://www.example.com"
|
|
||||||
while ! wget $URL -qO /dev/null; do sleep 1; done
|
while ! wget $URL -qO /dev/null; do sleep 1; done
|
||||||
GET_GATEWAY=$(route -n | grep 'UG[ \t]' | awk '{print $2}')
|
GET_GATEWAY=$(route -n | grep 'UG[ \t]' | awk '{print $2}')
|
||||||
while [ $GET_GATEWAY == "" ]; do sleep 1; done
|
while [ $GET_GATEWAY == "" ]; do sleep 1; done
|
||||||
|
|
Loading…
Reference in New Issue