mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
id: torrent-magnet-detect
|
|
|
|
info:
|
|
name: Torrent Magnet - Detect
|
|
author: rxerium
|
|
severity: info
|
|
description: |
|
|
Detects magnet links present on a website, which are commonly used for torrenting.
|
|
reference:
|
|
- https://www.zdnet.com/article/what-is-torrenting-and-how-does-it-work/
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: torrent,website,detect,piracy,osint
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
max-redirects: 1
|
|
redirects: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "magnet:?xt=urn:btih:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: magnet-link
|
|
part: body
|
|
regex:
|
|
- "magnet:\\?xt=urn:btih:[a-zA-Z0-9]*[^\"'\\s<]*"
|
|
# digest: 4a0a00473045022043c11c75a076854713f215d2c4eabdfd6d6a6875b9f5b68ab5f84dc7e6dcb3ee02210096d460b451b85f9fe8b7ed56e83f1153f75b8c101cd0c12f50f1fe6017f08eea:922c64590222798bb761d5b6d8e72950 |