From 2cbab31893ed4e6fdcffeabd02a125487abbc9ee Mon Sep 17 00:00:00 2001 From: Darren Kitchen Date: Fri, 8 Nov 2019 17:48:25 -0800 Subject: [PATCH] Update payload.sh --- payloads/library/util/Jack-Tester/payload.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/payloads/library/util/Jack-Tester/payload.sh b/payloads/library/util/Jack-Tester/payload.sh index d9763f8..58e5a32 100644 --- a/payloads/library/util/Jack-Tester/payload.sh +++ b/payloads/library/util/Jack-Tester/payload.sh @@ -20,6 +20,8 @@ function run() { # Set NETMODE to DHCP_CLIENT for Shark Jack v1.1.0+ NETMODE DHCP_CLIENT + # Wait for an IP address to be obtained + while ! ifconfig eth0 | grep "inet addr"; do sleep 1; done # Find IP address and subnet for i in {1..30}; do