syntax update

patch-1
bauthard 2020-09-24 23:46:21 +05:30
parent 6b1ec31424
commit 164075fb28
2 changed files with 17 additions and 11 deletions

View File

@ -1,6 +1,6 @@
id: apache-version-detect
info:
name: Detect Apache Version
name: Apache Version
author: philippedelteil
description: Some Apache servers have the version on the response header. The OpenSSL version can be also obtained
severity: info
@ -10,13 +10,16 @@ requests:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: regex
part: header
regex:
- "Apache+"
- type: status
status:
- 200
extractors:
- type: kval
part: header

View File

@ -11,12 +11,15 @@ requests:
- "{{BaseURL}}/something_not_existing_"
matchers-condition: and
matchers:
- type: word
words:
- "Apache Tomcat"
- type: status
status:
- 404
extractors:
- type: regex
part: body