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

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

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

    extractors:
      - type: kval
        kval:
          - server
# digest: 490a0046304402204a5464b7c77ae84e70e1d6bd68b880f1d0c1a3f06e13116e26f2f4fa8494c91502201e1ed6b90e956d050cca9941e1165d6947466978ec94396c5e6af577bd854eea:922c64590222798bb761d5b6d8e72950