Menu
  • HOME
  • TAGS

What exactly is the info_Hash in a torrent file

hash,torrent,info-hash

So I finally figured it out. The “infohash” is the SHA1 Hash over the part of a torrent file that includes: ITEM: length(size) and path (path with filename) Name: The name to search for Piece length: The length(size) of a single piece Pieces: SHA1 Hash of EVERY piece of this...

Hash calculation in torrent clients

hash,bittorrent,torrent,magnet-uri

The hash in a torrent client or the hashyou find in a magnet-URI is the SHA1-hash of the raw bencoded info-dictionary-part of a torrent-file. To understand how that works you need to know two things: How a torrent-file is built. How bencodeing is done. Both of these are explained in...

Objective-C iOS Generating Info_Hash from Torrent File

ios,objective-c,torrent

I finally found the solution to this issue. As everyone suspected it was an encoding issue. I followed the instructions from this SO: Calculating the info-hash of a torrent file However, I made one small tweak: + (NSDictionary *)decodeDictionary:(HTData *)data { NSMutableDictionary *dictionary = [NSMutableDictionary dictionary]; [data getNextCharacter]; while([data showNextCharacter]...

Best way to retrieve external torrent statistics in an active website

php,bittorrent,tracker,torrent

The following strategies to obtain statistics are available, listed in descending order of efficiency: full scrape via scrape interface - used to be common, less so today on large trackers due to the traffic it causes full scrape via custom export URLs - you'll have to ask the tracker admins....

The .torrent file contains gibberish characters

vim,bittorrent,torrent

The key for the data you are referring to is pieces. You can see this before your marked position as pieces129140:. This indicates that the next entry in the dictionary has a key of pieces and has value with a length of 129140 characters. We know that the key is...

How to identify torrent file pieces in µTP

bittorrent,torrent

Just from looking on their bugtracker it seems like treating µTP as a transport protocol isn't implemented: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8792

libtorrent how to get a list of files seed content?

python,libtorrent,torrent

torrent_info.files() returns file_storage object. This object represents the file layout in the torrent, including piece size and list of files. The file_storage object does not provide access to its internal list of files (to allow its representation to change without altering the ABI). Instead you can call num_files() to know...