Apache:corrected; lighttpd:added version detection

For "Apache", added "(^|[^g])" before "HTTPD", so that lighttpd is not detected as Apache
main
SebastianLopienski 12 years ago
parent c521f13061
commit 184522c728

@ -117,7 +117,7 @@
}, },
"Apache": { "Apache": {
"cats": [ 22 ], "cats": [ 22 ],
"headers": { "Server": "(Apache($|/([\\d\\.]+)|[^/-])|HTTPD)\\;version:\\3" } "headers": { "Server": "(Apache($|/([\\d\\.]+)|[^/-])|(^|[^g])HTTPD)\\;version:\\3" }
}, },
"Apache JSPWiki": { "Apache JSPWiki": {
"cats": [ 8 ], "cats": [ 8 ],
@ -961,7 +961,7 @@
}, },
"lighttpd": { "lighttpd": {
"cats": [ 22 ], "cats": [ 22 ],
"headers": { "Server": "lighttpd" } "headers": { "Server": "lighttpd(/([\\d\\.]+))?\\;version:\\2" }
}, },
"LimeSurvey": { "LimeSurvey": {
"cats": [ 19 ], "cats": [ 19 ],

Loading…
Cancel
Save