mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 21:51:28 +00:00
Obtain whois remote assignments files over https.
This commit is contained in:
@@ -1640,7 +1640,7 @@ function script_init( )
|
|||||||
nmap.registry.whois.remote_assignments_files = {}
|
nmap.registry.whois.remote_assignments_files = {}
|
||||||
nmap.registry.whois.remote_assignments_files.ipv4 = {
|
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",
|
local_resource = "ipv4-address-space",
|
||||||
match_assignment = "^%s*([%.%d]+/%d+)",
|
match_assignment = "^%s*([%.%d]+/%d+)",
|
||||||
match_service = "whois%.(%w+)%.net"
|
match_service = "whois%.(%w+)%.net"
|
||||||
@@ -1654,7 +1654,7 @@ function script_init( )
|
|||||||
match_service = "^[:%x]+/%d+%s*(%w+)"
|
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",
|
local_resource = "ipv6-unicast-address-assignments",
|
||||||
match_assignment = "^%s*([:%x]+/%d+)",
|
match_assignment = "^%s*([:%x]+/%d+)",
|
||||||
match_service = "whois%.(%w+)%.net"
|
match_service = "whois%.(%w+)%.net"
|
||||||
|
|||||||
Reference in New Issue
Block a user