From 9fa285dbf18891da0e88b319fdd19eaed08572a9 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Sat, 15 Jul 2023 15:33:26 +0530 Subject: [PATCH] Fix FN piwigo-panel.yaml --- http/exposed-panels/piwigo-panel.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/http/exposed-panels/piwigo-panel.yaml b/http/exposed-panels/piwigo-panel.yaml index dffb1e4cf6..a2cdb25915 100644 --- a/http/exposed-panels/piwigo-panel.yaml +++ b/http/exposed-panels/piwigo-panel.yaml @@ -12,15 +12,18 @@ info: metadata: max-request: 1 verified: true + shodan-query: http.favicon.hash:540706145 fofa-query: title="piwigo" google-query: "Powered by Piwigo" - tags: panel,piwigo + tags: panel,piwigo,detect http: - method: GET path: + - "{{BaseURL}}" - "{{BaseURL}}/identification.php" + stop-at-first-match: true redirects: true max-redirects: 2 matchers-condition: and @@ -28,10 +31,18 @@ http: - type: word part: body words: + - 'content="Piwigo' + - '>Piwigo' - '' - - 'piwigo.org">Piwigo' - condition: and + condition: or - type: status status: - 200 + + extractors: + - type: regex + part: body + group: 1 + regex: + - 'jquery\.min\.js\?v([0-9.]+)">'