diff --git a/exposed-panels/lansweeper-login.yaml b/exposed-panels/lansweeper-login.yaml index 1fc63607fa..4ad6f52a67 100644 --- a/exposed-panels/lansweeper-login.yaml +++ b/exposed-panels/lansweeper-login.yaml @@ -10,14 +10,17 @@ requests: - method: GET path: - "{{BaseURL}}/login.aspx" + - "{{BaseURL}}/favicon.ico" + stop-at-first-match: true + matchers-condition: or matchers: - - type: regex - regex: - - [\s\S]*?Lansweeper - Login[\s\S]*?<\/title> - condition: or - + - type: word + name: login + words: + - "Lansweeper - Login" + - type: dsl - name: lansweeper + name: favicon dsl: - - "len(body)==15086 && status_code==200 && (\"0A60C945E674EC7B953429B515519567\" == md5(body))" \ No newline at end of file + - "status_code==200 && (\"1847799946\" == mmh3(base64_py(body)))" \ No newline at end of file diff --git a/misconfiguration/unauthenticated-lansweeper.yaml b/misconfiguration/unauthenticated-lansweeper.yaml index 2f1f393bfb..f110a4cabb 100644 --- a/misconfiguration/unauthenticated-lansweeper.yaml +++ b/misconfiguration/unauthenticated-lansweeper.yaml @@ -12,6 +12,6 @@ requests: - "{{BaseURL}}/Default.aspx" matchers: - - type: regex - regex: - - <title>[\s\S]*?Main page - Lansweeper[\s\S]*?<\/title> \ No newline at end of file + - type: word + words: + - "Main page - Lansweeper" \ No newline at end of file