clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.6k stars 980 forks source link

Unable to download ISOs from MSDN #134

Closed wompapmow closed 6 years ago

wompapmow commented 6 years ago

Description of the issue:

Building from scratch fails due to 502 returned from MSDN, see log below:

vmware-iso: Downloading or copying ISO vmware-iso: Downloading or copying: http://care.dlservice.microsoft.com/dl/download/1/4/9/149D5452-9B29-4274-B6B3-5361DBDA30BC/14393.0.161119-1705.RS1_REFRESH_SERVER_EVAL_X64FRE_EN-US.ISO … vmware-iso: Error downloading: Error making HTTP GET request: 502 Bad Gateway

clong commented 6 years ago

Ack. Will look into this and update the URL if possible.

dmi3mis commented 6 years ago

Hi! I changed iso_url to "https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO", in packer/windows_2016.json all iso file successfully downloaded. I found this link in Windows Server 2016 Evaluation Center https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016 after registering. It seems to me this link is not dynamic. Please try. md5sum is the same. It downloaded not from MSDN, MSDN do not contain evaluation versions. And now Microsoft changed "MSDN" with "My VisualStudio".

clong commented 6 years ago

Thanks @dmi3mis - confirmed that URL works. Fixed in https://github.com/clong/DetectionLab/commit/63d0c8a9373f35dc77b05e127368926b7f1ca416