mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Obtain whois remote assignments files over https.
This commit is contained in:
parent
a26b28b635
commit
859ae15b9f
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue