id: cvsweb-detect

info:
  name: CVSweb - Detect
  author: lu4nx
  severity: info
  description: |
    CVSweb is a WWW interface for CVS repositories with which you can browse a file hierarchy on your browser to view each file's revision history in a very handy manner.
  reference:
    - https://cvsweb.openbsd.org/
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"cvsweb"
    fofa-query: title="cvsweb"
    zoomeye-query: title:cvsweb
  tags: tech,cvsweb,detect

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - 'content=".*CVSweb.*"'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'content=".*CVSweb\s*([0-9.]+)"'

# digest: 490a0046304402205edaaf4869f5e99128f50d300e222b62e3ff929787c084f7271cd034d9b450f502201f253ad5141e8777d354f91ae7cbe61e6a7d08b2a944d9c2cd1b5e30c6ca3b01:922c64590222798bb761d5b6d8e72950
