Merge pull request #2894 from pdelteil/patch-73

Update aviatrix-detect.yaml
patch-1
Sandeep Singh 2021-10-15 00:56:14 +05:30 committed by GitHub
commit 43e5c4d9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 10 deletions

View File

@ -2,7 +2,7 @@ id: aviatrix-detect
info:
name: Aviatrix Detect
author: pikpikcu
author: pikpikcu,philippedelteil
severity: info
tags: tech,aviatrix
@ -10,15 +10,20 @@ requests:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/assets/img/favicon-32x32.png"
matchers-condition: and
stop-at-first-match: true
matchers-condition: or
matchers:
- type: dsl
name: "title"
condition: and
dsl:
- 'contains(body, "<title>Aviatrix")'
- 'contains(body, "Controller</title>")'
- 'status_code == 200'
- type: word
part: body
words:
- "<title>Aviatrix Controller</title>"
- type: status
status:
- 200
- type: dsl
name: "favicon"
dsl:
- "status_code==200 && (\"7c1c26856345cd7edbf250ead0dc9332\" == md5(body))"