fix download firmware

dev
Dallas Winger 2019-09-12 14:09:48 -04:00
parent 9f8eb5b429
commit ad64900fad
No known key found for this signature in database
GPG Key ID: 59CE387CBF3FCA01
1 changed files with 2 additions and 1 deletions

View File

@ -167,7 +167,8 @@ function path_firmware_upgrade(){
function download_latest_fw(){ function download_latest_fw(){
echo -e "\n Downloading latest Shark Jack firmware\n" echo -e "\n Downloading latest Shark Jack firmware\n"
echo -e "\n----------------------------------------\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(){ function ls_cwd(){