L-Spider

A DHT Spider allows you to sniff the torrents and magnets.You can download them directly.

AGPL-3.0 License

Stars
82

L-Spider

A DHT Spider allows you to sniff the torrents and magnets.You can download what the script sniffed via magnets or torrents directly.

DHT

Usage

./dht_spider.py [option] [-s]: This option will not storage any file on your computer.Just print the informations on terminal. [-s]:

[-p:filename]: Where you want to storage magnets. [-p:filename]:

[-h]: Print this help and exit. [-h]:

[-t:thread num]: How many thread to get the torrents metadata. [-t:thread num]:

[-b:(0|1)]: 0-Do not save the torrent file. 1-Save the torrent file. [-b:(0|1)]: 0- 1-

When you get the magnet or torrent file.You should add the one of them into the Bittorrent Client.If few time later,there still haven't got any node.You should add the sender's IP and port to be a peer(Normally,you can find sender's information in magnets file or terminal logs).Then,the file will begin to download.

BTIPmagnets

Tips

  1. If you use the same filename when you run the script again,the script will not storage or display the storaged magnet and torrent. filename

  2. The script will check the info's infohash and announce's token automatically. infoinfohashannounce

  3. The default option is ./dht_spider -p:hash.log -t:100 -b:1. ./dht_spider -p:hash.log -t:100 -b:1

Principle

DHT Network theory and how to make a DHT Spider DHTDHT

Thanks

This project are using following articles and projects: /

KademliaDHTKRPCBitTorrent DHT SnifferBEP_0009 simDHTget_peer,find_node,announce_peer

License

This project is using AGPL-3.0+ AGPL 3.0