mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Better Amazon associates match: allow '?'.
This commit is contained in:
parent
d4dd71261d
commit
6fdca6e01f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue