Tighten a bit asp and iis detection (#2260)

- The x-powered-by header is trustworthy for ASP
- The `server` header for IIS always starts with `IIS`
main
jvoisin 7 years ago committed by Elbert Alias
parent ccfa3a38d9
commit 45c4c41059

@ -4343,7 +4343,7 @@
22
],
"headers": {
"Server": "IIS(?:/([\\d.]+))?\\;version:\\1"
"Server": "^IIS(?:/([\\d.]+))?\\;version:\\1"
},
"icon": "IIS.png",
"implies": "Windows Server",
@ -6019,7 +6019,7 @@
},
"headers": {
"X-AspNet-Version": "(.+)\\;version:\\1",
"X-Powered-By": "ASP\\.NET\\;confidence:50"
"X-Powered-By": "^ASP\\.NET"
},
"html": "<input[^>]+name=\"__VIEWSTATE",
"icon": "Microsoft ASP.NET.png",

Loading…
Cancel
Save