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: 4a0a00473045022100f075f75f45d6abaaeb5ea2500feb0c0229ad562582cd51dc15caa65ae4b50aa002203ebc8ec86be53d7d0f03804f776f696ab5db1f3f0bef48f8f41f2a8a65b15aa7:922c64590222798bb761d5b6d8e72950
