Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lyyyuna/dht_sniffer
DHT 公网嗅探器
https://github.com/lyyyuna/dht_sniffer
Last synced: 3 months ago
JSON representation
DHT 公网嗅探器
- Host: GitHub
- URL: https://github.com/lyyyuna/dht_sniffer
- Owner: lyyyuna
- Created: 2016-04-10T12:41:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-16T11:02:29.000Z (almost 7 years ago)
- Last Synced: 2024-07-30T13:16:25.264Z (3 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 21
- Watchers: 4
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-network-stuff - **13**星
README
DHT 公网嗅探器
===========这是根据 DHT 协议写的嗅探器,下载种子的 infohash。另外我还写了 [Go 版的 DHT 嗅探器](https://github.com/lyyyuna/godht)。
其实暂时大部分代码来自了 [simDHT](https://github.com/Fuck-You-GFW/simDHT/blob/master/simDHT.py),我只是改成了 gevent 版本。因为原来的版本虽然是多线程,但是在 udp.recv 的时候还是会阻塞的。
## 简单说明
### 依赖
* Python 2.7
* pip install gevent
* pip install bencode