kovalensky / tmrr

A cli tool for extracting, comparing, and calculating file hashes for .torrent files compatible with the BitTorrent v2 protocol.
MIT License
32 stars 1 forks source link
bittorrent bittorrent-v2 command-line dht-crawlers p2p php pieces-root revive-dead-swarms root-hash script sha2 torrent torrent-file-hashes

TMRR — Torrent Merkle Root Reader

TMRR

Useful for finding the sources of the same copies of files on different trackers & DHT indexers that support BitTorrent v2 protocol, thus reviving dead torrents, valuable Internet artifacts.

[!NOTE]
Generating magnet download links without duplicates is currently not available due to the ongoing issue with piece alignment files, hopefully it will be resolved soon.

Extract file hashes from .torrent files:

tmrr e example.torrent

Calculate hashes for existing files:

tmrr c your_file

Find duplicates within .torrent file(s):

tmrr d <example.torrent> <example2.torrent>.. <exampleN.torrent>

To save a large output:

tmrr your_command > output.txt

For the Linux environment on which PHP is installed:

php tmrr.php your_command

If this tool has somehow helped you in finding important files, you can express your gratitude by starring this repository 🍀.