vj09 Posted January 23, 2011 Report Share Posted January 23, 2011 Hi,Im not sure if this is the appropriate forum, but i didn get any answers from any other torrent forum that is technically into it.Can any one tell me what encoding is used in .torrent file. I can see that bencoding is used, but after that the piece information looks like this.×B"y‰Kž{zA¹Æ¬êéWhat format is it? Or is it encrypted? If pls tell me what encryption it is.thnx in advance Link to comment Share on other sites More sharing options...
Ultima Posted January 23, 2011 Report Share Posted January 23, 2011 http://wiki.theory.org/BitTorrentSpecification#Info_Dictionary20x bytes of piece SHA1 hashes, where x is the number of pieces in the torrent. Link to comment Share on other sites More sharing options...
vj09 Posted January 23, 2011 Author Report Share Posted January 23, 2011 @ultima: thnx for the reply. Thats helped. But i tried calculating SHA1 for the same content, but the format looks entirely different. Is it because the content in .torrent file is encrypted? Link to comment Share on other sites More sharing options...
Ultima Posted January 23, 2011 Report Share Posted January 23, 2011 No. Each byte in the 20 byte SHA1 hash can be represented by 2 hexadecimal characters, so expanding the 20 byte hash would yield the 40 hex-character hash you're probably comparing with.That, or you're not hashing the correct piece of data. To be sure, we're talking pieces here, not files. Link to comment Share on other sites More sharing options...
vj09 Posted January 23, 2011 Author Report Share Posted January 23, 2011 @ultima: thank you very much!!! Link to comment Share on other sites More sharing options...
tabzz Posted February 4, 2011 Report Share Posted February 4, 2011 So the only way to get exact URL to file seeded by torrent is to crack the hash from .torrent file? Link to comment Share on other sites More sharing options...
DreadWingKnight Posted February 4, 2011 Report Share Posted February 4, 2011 tabzz: what are you talking about? Link to comment Share on other sites More sharing options...
tabzz Posted February 4, 2011 Report Share Posted February 4, 2011 tabzz: what are you talking about?I wonder is it possible to fetch from .torrent file exact location of file being seeded by others? Link to comment Share on other sites More sharing options...
moogly Posted February 4, 2011 Report Share Posted February 4, 2011 The location where? :|If you mean the webseed, it's not an obligation. 99% of .torrent files don't contain any webseed links. Link to comment Share on other sites More sharing options...
tabzz Posted February 4, 2011 Report Share Posted February 4, 2011 The location where?The location where file is hosted - exact path to file on seeding servers. Is it possible? Link to comment Share on other sites More sharing options...
DreadWingKnight Posted February 4, 2011 Report Share Posted February 4, 2011 No. Link to comment Share on other sites More sharing options...
tabzz Posted February 4, 2011 Report Share Posted February 4, 2011 No.Ok, so it's possible but that knowledge is hidden. IMO the easiest way to learn this is to read the BitTorrent source code and think.Thanks & cheers Link to comment Share on other sites More sharing options...
Firon Posted February 4, 2011 Report Share Posted February 4, 2011 No, it's not possible. Link to comment Share on other sites More sharing options...
Ultima Posted February 4, 2011 Report Share Posted February 4, 2011 Is it possible?No.How you extrapolated from thatOk, so it's possibleis beyond me.I don't think you understand what peer-to-peer means, or what hashes are, so I recommend that you start your research and reading there rather than in some source code.BitTorrent isn't voodoo. It doesn't simply hide a plain old HTTP download underneath its layers of complexity; that'd be stupid. Again, you're looking for something that isn't there, and isn't possible at the protocol level. Link to comment Share on other sites More sharing options...
tabzz Posted February 5, 2011 Report Share Posted February 5, 2011 Ok, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.