From b3df89e4a667e82a4ce5cf6d633d7d107f3aca97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cgxidaner?= <543568648@qq.com> Date: Fri, 10 Dec 2021 15:07:15 +0800 Subject: [PATCH 1/5] add opengear-detect --- technologies/opengear-detect.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 technologies/opengear-detect.yaml diff --git a/technologies/opengear-detect.yaml b/technologies/opengear-detect.yaml new file mode 100644 index 0000000000..b495178405 --- /dev/null +++ b/technologies/opengear-detect.yaml @@ -0,0 +1,25 @@ +id: opengear-detect + +info: + name: opengear Console Detection + author: ffffffff0x + severity: info + metadata: + fofa-query: app="opengear-Management-Console" + tags: opengear,detect + +requests: + - method: GET + path: + - "{{BaseURL}}" + + redirects: true + max-redirects: 2 + matchers: + - type: word + words: + - "Opengear Management Console" + - 'http://www.Opengear.com' + - 'www.Opengear.com/support' + part: body + condition: or \ No newline at end of file From 7ad35dbbdddd08ea313a8b8800af70a7e8bc5c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cgxidaner?= <543568648@qq.com> Date: Fri, 10 Dec 2021 15:13:11 +0800 Subject: [PATCH 2/5] add-detect --- technologies/opengear-detect.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/technologies/opengear-detect.yaml b/technologies/opengear-detect.yaml index b495178405..99eae3ca9b 100644 --- a/technologies/opengear-detect.yaml +++ b/technologies/opengear-detect.yaml @@ -4,7 +4,7 @@ info: name: opengear Console Detection author: ffffffff0x severity: info - metadata: + metadata: fofa-query: app="opengear-Management-Console" tags: opengear,detect @@ -18,7 +18,7 @@ requests: matchers: - type: word words: - - "Opengear Management Console" + - 'Opengear Management Console' - 'http://www.Opengear.com' - 'www.Opengear.com/support' part: body From d2f62c305717d769e81eab11836b5f49ce6c646b Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Fri, 10 Dec 2021 19:05:22 +0530 Subject: [PATCH 3/5] Update opengear-detect.yaml --- technologies/opengear-detect.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/technologies/opengear-detect.yaml b/technologies/opengear-detect.yaml index 99eae3ca9b..0a4c905a46 100644 --- a/technologies/opengear-detect.yaml +++ b/technologies/opengear-detect.yaml @@ -6,7 +6,7 @@ info: severity: info metadata: fofa-query: app="opengear-Management-Console" - tags: opengear,detect + tags: opengear,tech requests: - method: GET @@ -15,11 +15,8 @@ requests: redirects: true max-redirects: 2 + matchers: - - type: word - words: - - 'Opengear Management Console' - - 'http://www.Opengear.com' - - 'www.Opengear.com/support' - part: body - condition: or \ No newline at end of file + - type: regex + regex: + - '(?m)([A-Z-0-9]+) \- Opengear Management Console<\/title>' From f1b3b7cf770944fb2b49eaa4ecc16ac94d901a8f Mon Sep 17 00:00:00 2001 From: Prince Chaddha <prince@projectdiscovery.io> Date: Fri, 10 Dec 2021 19:09:31 +0530 Subject: [PATCH 4/5] Update and rename technologies/opengear-detect.yaml to exposed-panels/opengear-login.yaml --- .../opengear-login.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename technologies/opengear-detect.yaml => exposed-panels/opengear-login.yaml (80%) diff --git a/technologies/opengear-detect.yaml b/exposed-panels/opengear-login.yaml similarity index 80% rename from technologies/opengear-detect.yaml rename to exposed-panels/opengear-login.yaml index 0a4c905a46..7b05dc24e6 100644 --- a/technologies/opengear-detect.yaml +++ b/exposed-panels/opengear-login.yaml @@ -1,12 +1,12 @@ -id: opengear-detect +id: opengear-login info: - name: opengear Console Detection + name: Opengear Console Detect author: ffffffff0x severity: info metadata: fofa-query: app="opengear-Management-Console" - tags: opengear,tech + tags: opengear,panel,tech requests: - method: GET From fa02b69bca2b9269f01745ca907d591f6009da89 Mon Sep 17 00:00:00 2001 From: Prince Chaddha <cyberbossprince@gmail.com> Date: Fri, 10 Dec 2021 19:13:17 +0530 Subject: [PATCH 5/5] Revert "Create thruk-detect.yaml" This reverts commit 4703ad421e6c77d67e17cd5db30f048bf92af339. --- technologies/thruk-detect.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 technologies/thruk-detect.yaml diff --git a/technologies/thruk-detect.yaml b/technologies/thruk-detect.yaml deleted file mode 100644 index 9807758568..0000000000 --- a/technologies/thruk-detect.yaml +++ /dev/null @@ -1,28 +0,0 @@ -id: thruk-detect - -info: - name: thruk detect - author: ffffffff0x - severity: info - metadata: - fofa-query: title=="Thruk Monitoring Webinterface" - tags: thruk,tech - -requests: - - method: GET - path: - - "{{BaseURL}}" - - redirects: true - max-redirects: 2 - matchers-condition: or - matchers: - - type: word - part: body - words: - - 'Thruk Monitoring Webinterface' - - - type: word - part: header - words: - - "/thruk/cgi-bin/login.cgi?thruk/"