Obtaining IP addresses in Bittorrent
Posted
by Legend
on Stack Overflow
See other posts from Stack Overflow
or by Legend
Published on 2010-04-08T23:35:40Z
Indexed on
2010/04/08
23:43 UTC
Read the original article
Hit count: 662
I am trying to get a list of IP addresses serving or downloading a file. What I did was to contact a tracker like openbittorrent.com to get the following (as part of the scrape file):
B%00%00%0C%5F%B1%B1l%CAGa%84S%CB%B0%9BG%84%3BE:0:1
Now, the long string in the beginning is the info hash. As a next step, I did this:
http://tracker.sometracker.com/announce?info_hash=B%00%00%0C%5F%B1%B1l%CAGa%84S%CB%B0%9BG%84%3BE
It gave me back the following. So far so good. The message contained this:
d8:completei0e10:downloadedi0e10:incompletei2e8:intervali1931e12:min intervali965e5:peers12:U????????^@^@e
Can someone tell me what should I be doing after this to get the IP addresses currently serving the file or downloading it?
© Stack Overflow or respective owner