id: procore-panel

info:
  name: Procore Login - Panel
  author: rxerium
  severity: info
  metadata:
    max-request: 2
    verified: true
    shodan-query: http.favicon.hash:1952289652
  tags: panel,login,detect,procore,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/favicon.ico"
      - "{{BaseURL}}/images/favicon.ico"

    stop-at-first-match: true
    matchers-condition: or
    matchers:
      - type: dsl
        dsl:
          - "status_code==200 && (\"1952289652\" == mmh3(base64_py(body)))"

      - type: word
        words:
          - '<title>Procore Log In</title>'
          - 'Log in to your Procore account using your email and password'
        condition: and
# digest: 4a0a0047304502207d5f2724d1181415def8bf9a2ef0ca42e39552b81516ff54d4742fbaf21069950221008d39a2f1ed7ee27e40a0f1f60804928419303d650077bff4e3fdacaef08cc874:922c64590222798bb761d5b6d8e72950