diff --git a/scripts/whois-ip.nse b/scripts/whois-ip.nse index 76629c196..bee4dbf1b 100644 --- a/scripts/whois-ip.nse +++ b/scripts/whois-ip.nse @@ -1640,7 +1640,7 @@ function script_init( ) nmap.registry.whois.remote_assignments_files = {} nmap.registry.whois.remote_assignments_files.ipv4 = { { - remote_resource = "http://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.txt", + remote_resource = "https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.txt", local_resource = "ipv4-address-space", match_assignment = "^%s*([%.%d]+/%d+)", match_service = "whois%.(%w+)%.net" @@ -1654,7 +1654,7 @@ function script_init( ) match_service = "^[:%x]+/%d+%s*(%w+)" },--]] { - remote_resource = "http://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.txt", + remote_resource = "https://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.txt", local_resource = "ipv6-unicast-address-assignments", match_assignment = "^%s*([:%x]+/%d+)", match_service = "whois%.(%w+)%.net"