Added Ametys templates - admin panel and version detection (#3297)

* Added Ametys templates - admin panel and version detection

* Fixed yaml lint

* update: merged 2 template into one + yaml extension fix

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
patch-1
Pathtaga 2021-12-08 12:37:12 +01:00 committed by GitHub
parent 32bcaaaedb
commit 22d3e1cf1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: ametys-admin-login
info:
name: Ametys Admin Login
author: pathtaga
severity: info
tags: panel,ametys,cms
requests:
- method: GET
path:
- '{{BaseURL}}/_admin/index.html'
matchers-condition: and
matchers:
- type: word
words:
- 'Ametys - Log in'
- '<span class="ametys-version">'
condition: or
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- '&nbsp;([0-9.]+)</span>'