From 22d3e1cf1cb353614fadd0af1e39f8a1890fe68f Mon Sep 17 00:00:00 2001 From: Pathtaga Date: Wed, 8 Dec 2021 12:37:12 +0100 Subject: [PATCH] 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 --- exposed-panels/ametys-admin-login.yaml | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 exposed-panels/ametys-admin-login.yaml diff --git a/exposed-panels/ametys-admin-login.yaml b/exposed-panels/ametys-admin-login.yaml new file mode 100644 index 0000000000..532dd02cda --- /dev/null +++ b/exposed-panels/ametys-admin-login.yaml @@ -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' + - '' + condition: or + + - type: status + status: + - 200 + + extractors: + - type: regex + part: body + group: 1 + regex: + - ' ([0-9.]+)' \ No newline at end of file