id: tinyproxy-detect

info:
  name: Tinyproxy - Detect
  author: bhutch
  severity: info
  description: |
    Lightweight HTTP/HTTPS proxy daemon for POSIX operating systems
  reference:
    - https://github.com/tinyproxy/tinyproxy
  classification:
    cpe: cpe:2.3:a:tinyproxy_project:tinyproxy:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: tinyproxy_project
    product: tinyproxy
    shodan-query: "Server: tinyproxy"
  tags: tech,proxy,detect,discovery

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

    matchers:
      - type: word
        part: header
        words:
          - "server: tinyproxy"
        case-insensitive: true

    extractors:
      - type: kval
        kval:
          - server
# digest: 4a0a0047304502202619759b689f3aabc97a41ec415099e4514e82be39bc110c4d5aea04f163597a022100ff340a3d361162673acde0078f935c58d76e948443e5f39d2ab1b0715cf425a3:922c64590222798bb761d5b6d8e72950