syntax update
parent
6b1ec31424
commit
164075fb28
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue