Skip to content

Onion Website Supported via Onion-Location Header

ID: onion-website-supported

Severity: info

Author: rxerium

Tags: misc,osint,tor,onion

Identified websites that supported Tor network access through the Onion-Location HTTP response header, which pointed to a corresponding .onion service for enhanced privacy and anonymity.

id: onion-website-supported
info:
name: Onion Website Supported via Onion-Location Header
author: rxerium
severity: info
description: |
Identified websites that supported Tor network access through the Onion-Location HTTP response header, which pointed to a corresponding .onion service for enhanced privacy and anonymity.
metadata:
verified: true
max-request: 1
tags: misc,osint,tor,onion
http:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: regex
part: header
regex:
- '(?i)onion-location:\s*https?://[a-z0-9]+\.onion'
extractors:
- type: regex
part: header
group: 1
regex:
- '(?i)onion-location:\s*(https?://[a-z0-9]+\.onion)'
# digest: 4b0a00483046022100e5092d82cbc6ba1c4a086d73edddc85f4df5cd15c8f74fcfd96e934d46a637b2022100ee5be49ce649d9325732790b65404439dfabf5d29a9b940999dcb84d287f9acb:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/miscellaneous/onion-website-supported.yaml"

View on Github