Updates: Use downloads.hak5.org

pull/45/head
Marc 2021-07-12 20:37:35 +01:00
parent 1452617da4
commit b66568e492
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
6 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ echo -e "All local LAN Turtle data will be erased.\n\n"
echo -e "Press CTRL+C to CANCEL\n\n" echo -e "Press CTRL+C to CANCEL\n\n"
sleep 30 sleep 30
echo -e "Downloading Upgrade file\n\n" echo -e "Downloading Upgrade file\n\n"
wget -q -O /tmp/upgrade.bin http://downloads.lanturtle.com/turtle-2.bin wget -q -O /tmp/upgrade.bin https://downloads.hak5.org/api/devices/lanturtle/firmwares/2-stable
echo -e "Upgrade file downloaded. Verifying files.\n\n" echo -e "Upgrade file downloaded. Verifying files.\n\n"
[[ "$(md5sum /tmp/upgrade.bin | awk '{print $1}')" == "479ebbb06ceea051d383d2e635a08e18" ]] && { [[ "$(md5sum /tmp/upgrade.bin | awk '{print $1}')" == "479ebbb06ceea051d383d2e635a08e18" ]] && {
echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n" echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n"

View File

@ -8,7 +8,7 @@ echo -e "All local LAN Turtle data will be erased.\n\n"
echo -e "Press CTRL+C to CANCEL\n\n" echo -e "Press CTRL+C to CANCEL\n\n"
sleep 30 sleep 30
echo -e "Downloading Upgrade file, please wait.\n\n" echo -e "Downloading Upgrade file, please wait.\n\n"
wget -q -O /tmp/upgrade.bin http://downloads.lanturtle.com/turtle-3.bin wget -q -O /tmp/upgrade.bin https://downloads.hak5.org/api/devices/lanturtle/firmwares/3-stable
echo -e "Upgrade file downloaded. Verifying file integrity.\n\n" echo -e "Upgrade file downloaded. Verifying file integrity.\n\n"
[[ "$(sha256sum /tmp/upgrade.bin)" == "49f14fb742c1d27053b762fae63c6f3dbe611ef589f7a8a2913d04efe400f11c" ]] && { [[ "$(sha256sum /tmp/upgrade.bin)" == "49f14fb742c1d27053b762fae63c6f3dbe611ef589f7a8a2913d04efe400f11c" ]] && {
echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n" echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n"

View File

@ -8,7 +8,7 @@ echo -e "All local LAN Turtle data will be erased.\n\n"
echo -e "Press CTRL+C to CANCEL\n\n" echo -e "Press CTRL+C to CANCEL\n\n"
sleep 15 sleep 15
echo -e "Downloading Upgrade file, please wait.\n\n" echo -e "Downloading Upgrade file, please wait.\n\n"
wget -q -O /tmp/upgrade.bin http://downloads.lanturtle.com/turtle-4.bin wget -q -O /tmp/upgrade.bin https://downloads.hak5.org/api/devices/lanturtle/firmwares/4-stable
echo -e "Upgrade file downloaded. Verifying file integrity.\n\n" echo -e "Upgrade file downloaded. Verifying file integrity.\n\n"
[[ "$(sha256sum /tmp/upgrade.bin)" == "6034bee1a7ace9a6122a4525f27a5a160f6e1113205f582f45de0715edc877f0" ]] && { [[ "$(sha256sum /tmp/upgrade.bin)" == "6034bee1a7ace9a6122a4525f27a5a160f6e1113205f582f45de0715edc877f0" ]] && {
echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n" echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n"

View File

@ -8,7 +8,7 @@ echo -e "All local LAN Turtle data will be erased.\n\n"
echo -e "Press CTRL+C to CANCEL\n\n" echo -e "Press CTRL+C to CANCEL\n\n"
sleep 15 sleep 15
echo -e "Downloading Upgrade file, please wait.\n\n" echo -e "Downloading Upgrade file, please wait.\n\n"
wget -q -O /tmp/upgrade.bin http://downloads.lanturtle.com/turtle-5.bin wget -q -O /tmp/upgrade.bin https://downloads.hak5.org/api/devices/lanturtle/firmwares/5-stable
echo -e "Upgrade file downloaded. Verifying file integrity.\n\n" echo -e "Upgrade file downloaded. Verifying file integrity.\n\n"
[[ "$(sha256sum /tmp/upgrade.bin)" == "fe32ca3bb09e26f0bead326bb5dd2f13b1b60d15530cde696afb90a36ad31b92" ]] && { [[ "$(sha256sum /tmp/upgrade.bin)" == "fe32ca3bb09e26f0bead326bb5dd2f13b1b60d15530cde696afb90a36ad31b92" ]] && {
echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n" echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n"

View File

@ -7,7 +7,7 @@ echo -e "All local LAN Turtle data will be erased.\n\n"
echo -e "Press CTRL+C to CANCEL\n\n" echo -e "Press CTRL+C to CANCEL\n\n"
sleep 15 sleep 15
echo -e "Downloading Upgrade file, please wait.\n\n" echo -e "Downloading Upgrade file, please wait.\n\n"
wget -q -O /tmp/upgrade.bin https://downloads.hak5.org/api/devices/lanturtle/firmwares/6.1 wget -q -O /tmp/upgrade.bin https://downloads.hak5.org/api/devices/lanturtle/firmwares/6.1-stable
echo -e "Upgrade file downloaded. Verifying file integrity.\n\n" echo -e "Upgrade file downloaded. Verifying file integrity.\n\n"
[[ "$(sha256sum /tmp/upgrade.bin)" == "e8af71827f0c98fc1e62b531e2f0e4dbad12c1e45738affd6aaeedc92142af76" ]] && { [[ "$(sha256sum /tmp/upgrade.bin)" == "e8af71827f0c98fc1e62b531e2f0e4dbad12c1e45738affd6aaeedc92142af76" ]] && {
echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n" echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n"

View File

@ -7,7 +7,7 @@ echo -e "All local LAN Turtle data will be erased.\n\n"
echo -e "Press CTRL+C to CANCEL\n\n" echo -e "Press CTRL+C to CANCEL\n\n"
sleep 15 sleep 15
echo -e "Downloading Upgrade file, please wait.\n\n" echo -e "Downloading Upgrade file, please wait.\n\n"
wget -q -O /tmp/upgrade.bin https://downloads.hak5.org/api/devices/lanturtle/firmwares/6.2 wget -q -O /tmp/upgrade.bin https://downloads.hak5.org/api/devices/lanturtle/firmwares/6.2-stable
echo -e "Upgrade file downloaded. Verifying file integrity.\n\n" echo -e "Upgrade file downloaded. Verifying file integrity.\n\n"
[[ "$(sha256sum /tmp/upgrade.bin)" == "463771173c17b8aa3e6baac397d8d9c893d896b8f009b471dea0d66792b5afd1" ]] && { [[ "$(sha256sum /tmp/upgrade.bin)" == "463771173c17b8aa3e6baac397d8d9c893d896b8f009b471dea0d66792b5afd1" ]] && {
echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n" echo -e "DO NOT UNPLUG OR POWER DOWN THE LAN TURTLE\n\n"