diff --git a/quickget b/quickget index f3a601171a..02b62d8cf6 100755 --- a/quickget +++ b/quickget @@ -2021,14 +2021,14 @@ function get_macos() { appleSession=$(curl -v -H "Host: osrecovery.apple.com" \ -H "Connection: close" \ - -A "InternetRecovery/1.0" http://osrecovery.apple.com/ 2>&1 | tr ';' '\n' | awk -F'session=|;' '{print $2}' | grep 1) + -A "InternetRecovery/1.0" https://osrecovery.apple.com/ 2>&1 | tr ';' '\n' | awk -F'session=|;' '{print $2}' | grep 1) info=$(curl -s -X POST -H "Host: osrecovery.apple.com" \ -H "Connection: close" \ -A "InternetRecovery/1.0" \ -b "session=\"${appleSession}\"" \ -H "Content-Type: text/plain" \ -d $'cid='"$(generate_id 16)"$'\nsn='${MLB}$'\nbid='${BOARD_ID}$'\nk='"$(generate_id 64)"$'\nfg='"$(generate_id 64)"$'\nos='${OS_TYPE} \ - http://osrecovery.apple.com/InstallationPayload/RecoveryImage | tr ' ' '\n') + https://osrecovery.apple.com/InstallationPayload/RecoveryImage | tr ' ' '\n') downloadLink=$(echo "$info" | grep 'oscdn' | grep 'dmg') downloadSession=$(echo "$info" | grep 'expires' | grep 'dmg') chunkListLink=$(echo "$info" | grep 'oscdn' | grep 'chunklist')