Adding negative matcher for status
parent
7ec9bd99d0
commit
604f4d0064
|
@ -1,4 +1,5 @@
|
||||||
id: tomcat-manager-pathnormalization
|
id: tomcat-manager-pathnormalization
|
||||||
|
|
||||||
info:
|
info:
|
||||||
name: Tomcat Manager Path Normalization
|
name: Tomcat Manager Path Normalization
|
||||||
author: organiccrap
|
author: organiccrap
|
||||||
|
@ -11,11 +12,17 @@ requests:
|
||||||
path:
|
path:
|
||||||
- '{{BaseURL}}/..;/manager/html'
|
- '{{BaseURL}}/..;/manager/html'
|
||||||
- '{{BaseURL}}/..;/host-manager/html'
|
- '{{BaseURL}}/..;/host-manager/html'
|
||||||
headers:
|
|
||||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55
|
matchers-condition: and
|
||||||
matchers:
|
matchers:
|
||||||
- type: word
|
- type: word
|
||||||
words:
|
words:
|
||||||
- username="tomcat" password="s3cret"
|
- 'username="tomcat" password="s3cret"'
|
||||||
- manager-gui
|
- 'manager-gui'
|
||||||
condition: and
|
condition: and
|
||||||
|
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 403
|
||||||
|
- 401
|
||||||
|
negative: true
|
||||||
|
|
Loading…
Reference in New Issue