id: sap-logon-error-message

info:
  name: SAP Logon Error Message
  author: DhiyaneshDK
  severity: info
  description: |
    Identifies "Logon Error Message" in the SAP Internet Communication Framework which returns a 404 status code.
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Logon Error Message"
  tags: sap,logon,error,log

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Logon Error Message"
          - "SAP Internet Communication Framework Team"
        condition: and

      - type: status
        status:
          - 404
# digest: 4a0a0047304502203e7bdf1c8db51ef6dfe2215b65f4d409ee6be0b876ef64804ce78f7087d9f2d2022100c3cf5558d489756cdb2745f73e26172779f84e97f51d3ae0036e89dd0991ad56:922c64590222798bb761d5b6d8e72950