From e984fd4f66bcf2df5a0125d2dba99f87b7f8f092 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Tue, 1 Oct 2024 14:24:27 +0400 Subject: [PATCH] Fix FN adminer-panel-detect.yaml --- http/exposed-panels/adminer-panel-detect.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/http/exposed-panels/adminer-panel-detect.yaml b/http/exposed-panels/adminer-panel-detect.yaml index c25eadd539..931b82af54 100644 --- a/http/exposed-panels/adminer-panel-detect.yaml +++ b/http/exposed-panels/adminer-panel-detect.yaml @@ -39,17 +39,13 @@ http: threads: 50 stop-at-first-match: true - matchers-condition: and matchers: - - type: word + - type: dsl + dsl: + - 'status_code == 200' + - 'contains(body, "System")' + - 'contains_any(body, "- Adminer>", "Adminer")' condition: and - words: - - "- Adminer" - - "partial(verifyVersion" - - - type: status - status: - - 200 extractors: - type: regex @@ -57,4 +53,4 @@ http: group: 1 regex: - '([0-9.]+)' -# digest: 4b0a00483046022100a33af2d5ccddd23e8cbb62e3bea51d3a3c9b33713ec8cfce4f124231105a89e6022100c0300b40409d563efda7769a7d1b82088ca29941066d704ae460b532c6f0172e:922c64590222798bb761d5b6d8e72950 \ No newline at end of file +# digest: 4b0a00483046022100a33af2d5ccddd23e8cbb62e3bea51d3a3c9b33713ec8cfce4f124231105a89e6022100c0300b40409d563efda7769a7d1b82088ca29941066d704ae460b532c6f0172e:922c64590222798bb761d5b6d8e72950