id: pahtool-panel

info:
  name: PAHTool Login Panel - Detect
  author: righettod
  severity: info
  description: |
    PAHTool login panel was detected.
  reference:
    - http://www.inovultus.com/index.html
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"PAHTool"
  tags: panel,pahtool,login,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, ">PAHTool")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'id="appVersion"\s+value="([0-9\.]+)"'
# digest: 490a0046304402205daef817ee06762accb9ce821c946b8aa931a2308c6a69c6fa093c06f4dba6c002207c68c951d72ce1273707f1ae50731ae722bcfd1620f3c06433d73f22b5db226d:922c64590222798bb761d5b6d8e72950