mirror of
https://github.com/nmap/nmap.git
synced 2026-02-12 16:36:34 +00:00
Better Amazon associates match: allow '?'.
This commit is contained in:
@@ -38,7 +38,7 @@ require 'stdnse'
|
||||
local AFFILIATE_PATTERNS = {
|
||||
["Google Analytics ID"] = "(?P<id>UA-[0-9]{6,9}-[0-9]{1,2})",
|
||||
["Google Adsense ID"] = "(?P<id>pub-[0-9]{16,16})",
|
||||
["Amazon Associates ID"] = "href=\"http://www.amazon.com/[^\"]*[&;]tag=(?P<id>\\w+-\\d+)",
|
||||
["Amazon Associates ID"] = "href=\"http://www.amazon.com/[^\"]*[\\?&;]tag=(?P<id>\\w+-\\d+)",
|
||||
}
|
||||
|
||||
portrule = shortport.http
|
||||
|
||||
Reference in New Issue
Block a user