id: php-proxy-detect

info:
  name: PHP Proxy Detect
  author: pikpikcu
  severity: info
  metadata:
    max-request: 2
  tags: tech,php,proxy

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>PHP-Proxy</title>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<meta name="version" content="([0-9.]+)">'
# digest: 4a0a00473045022100a44b2c609b382ce76cc37113d3bf8963951c4459eeeeeedf29c3c15e23ade2c102204f11db840cb9abe1b817c817caa7d1cf13f8963b1e8c55cd2f3e16a5f3525f13:922c64590222798bb761d5b6d8e72950