id: php-proxy-detect

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

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: 490a0046304402205fd5200dd69b774a097343d215a191619d8dca50b98e975e031b60261c60ad050220588e15359b0a0b1747838abfd774353d2bfde5323fe1ef243632c98ad7bc04d1:922c64590222798bb761d5b6d8e72950