From 6d4f2e136694729f3ff9a8f86a63aea9bdf0c691 Mon Sep 17 00:00:00 2001
From: Muhammad Daffa <36522826+daffainfo@users.noreply.github.com>
Date: Mon, 24 Oct 2022 13:34:11 +0700
Subject: [PATCH 1/2] fix: remove useless path aviatrix-panel
---
...viatrix-panel.yaml => aviatrix-login.yaml} | 25 ++++++++-----------
1 file changed, 10 insertions(+), 15 deletions(-)
rename exposed-panels/{aviatrix-panel.yaml => aviatrix-login.yaml} (53%)
diff --git a/exposed-panels/aviatrix-panel.yaml b/exposed-panels/aviatrix-login.yaml
similarity index 53%
rename from exposed-panels/aviatrix-panel.yaml
rename to exposed-panels/aviatrix-login.yaml
index 9107535ba9..eaf81332a5 100644
--- a/exposed-panels/aviatrix-panel.yaml
+++ b/exposed-panels/aviatrix-login.yaml
@@ -1,4 +1,4 @@
-id: aviatrix-panel
+id: aviatrix-login
info:
name: Aviatrix Cloud Controller Panel Login
@@ -17,22 +17,17 @@ requests:
- method: GET
path:
- "{{BaseURL}}"
- - "{{BaseURL}}/assets/img/favicon-32x32.png"
- stop-at-first-match: true
- matchers-condition: or
+ matchers-condition: and
matchers:
- - type: dsl
- name: "title"
+ - type: word
+ part: body
+ words:
+ - '
Aviatrix'
+ - 'Controller'
condition: and
- dsl:
- - 'contains(body, "Aviatrix")'
- - 'contains(body, "Controller")'
- - 'status_code == 200'
-
- - type: dsl
- name: "favicon"
- dsl:
- - "status_code==200 && (\"7c1c26856345cd7edbf250ead0dc9332\" == md5(body))"
+ - type: status
+ status:
+ - 200
# Enhanced by mp on 2022/03/23
From f1de30c842eb02be761ff79e590eead167e3a9f5 Mon Sep 17 00:00:00 2001
From: Prince Chaddha
Date: Tue, 25 Oct 2022 17:26:09 +0530
Subject: [PATCH 2/2] Update and rename aviatrix-login.yaml to
aviatrix-panel.yaml
---
exposed-panels/{aviatrix-login.yaml => aviatrix-panel.yaml} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename exposed-panels/{aviatrix-login.yaml => aviatrix-panel.yaml} (91%)
diff --git a/exposed-panels/aviatrix-login.yaml b/exposed-panels/aviatrix-panel.yaml
similarity index 91%
rename from exposed-panels/aviatrix-login.yaml
rename to exposed-panels/aviatrix-panel.yaml
index eaf81332a5..e8eaf889e5 100644
--- a/exposed-panels/aviatrix-login.yaml
+++ b/exposed-panels/aviatrix-panel.yaml
@@ -1,7 +1,7 @@
-id: aviatrix-login
+id: aviatrix-panel
info:
- name: Aviatrix Cloud Controller Panel Login
+ name: Aviatrix Cloud Controller Panel
author: pikpikcu,philippedelteil,daffainfo
severity: info
description: An Aviatrix Cloud Controller login panel was detected.