id: tor-socks-proxy

info:
  name: Detect tor SOCKS proxy
  author: geeknik
  severity: info
  metadata:
    max-request: 1
  tags: tech,tor,proxy

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "This is a SOCKS Proxy"
          - "HTTPTunnelPort"
          - "SOCKSPort"
        condition: and

      - type: status
        status:
          - 501
# digest: 4a0a00473045022100db67d9d67bc7d9d77cc880f259ee6bf1edebd4b9b8b4f8e07612963bbbaab64a022032cc7f77a1471718a18083d3d57788459fd95c1f1da29cdbe42d9b13d3445793:922c64590222798bb761d5b6d8e72950