From ad64900fad6769dbac4b8b0e0f10071347e31258 Mon Sep 17 00:00:00 2001 From: Dallas Winger Date: Thu, 12 Sep 2019 14:09:48 -0400 Subject: [PATCH] fix download firmware --- sharkjack.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sharkjack.sh b/sharkjack.sh index 90604a6..3975fd1 100755 --- a/sharkjack.sh +++ b/sharkjack.sh @@ -167,7 +167,8 @@ function path_firmware_upgrade(){ function download_latest_fw(){ echo -e "\n Downloading latest Shark Jack firmware\n" echo -e "\n----------------------------------------\n" - curl https://downloads.hak5.org/api/devices/sharkjack/firmwares/latest --output upgrade.bin && echo -e "\n [+] Firmware download complete!\n\n" || echo -e "\n [!] Firmware Download Failed" && exitscript 1 + curl https://downloads.hak5.org/api/devices/sharkjack/firmwares/latest --output upgrade.bin && echo -e "\n [+] Firmware download complete!\n\n" || err "[!] Firmware Download Failed" + connect_and_upgrade } function ls_cwd(){