[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

why this does not work?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 9
Thread images: 2

File: output.webm (361KB, 942x485px) Image search: [Google]
output.webm
361KB, 942x485px
why this does not work?
>>
>>57818950
You're dumb. That's why
>>
>>57818950
a true magnet link has tracker information embedded in the URI, for starters.

I'm not actually intimately familiar with the protocol scheme, but it kind of makes sense that more than just a file-hash would be required. As hashes like sha1 and md5 and all of those are digest schemes, if i recall correctly. Which means they ARE NOT unique. Meaning two files could end up having identical sha1 hashes, despite having different content.
>>
>>57818950
Because holy shit kill yourself.
>>
Dumb utorrentposter.
>>
File: 2016-12-03---09-32.png (47KB, 702x366px) Image search: [Google]
2016-12-03---09-32.png
47KB, 702x366px
>>57819290
>>57818950
As an example, if you open up your browser's developer tools, and paste the following in the javascript console:
(function(mUri){
var protocol = mUri.match(/^[^:]+/)[0];
var query = (function(){ var a = mUri.split('?'); a.shift(); return a.join('?'); })();
var paramProm = new Promise(function(res, rej){
var params = {};
var pairs = query.split('&');
pairs.forEach(function(itm, i){
var a = itm.split('=');
var k = a[0];
var v = decodeURIComponent(a[1]);
params[k] = v;
if ( (i + 1) == pairs.length ){
res(params);
}
});
});
var pub = {
"protocol": protocol,
"query": query,
"getParameters": paramProm
};
console.log(pub);
return pub;
})("magnet:?xt=urn:btih:c1ce7f52f25a5ccfdd6022cff6110bf05c2535c7&dn=Windows+10+Pro+v.1511+En-us+x64+July2016+Pre-Activated-%3DTEAM+OS%3D&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969").getParameters.then(function(parameters){ console.log("Magnet URI Parameters: %o", parameters); });


You can see what parameters are typically stored in a magnet URI.

Looks like a typical magnet URI has a resource name, resource identifier (in form of a file-hash), and a tracker URI
>>
>>57819290
>but it kind of makes sense that more than just a file-hash would be required
Nope. You don't even need tracker information.
>>
>>57819788
>>57819514
>>57819290
DHT
>>
>>57819788
>>57819811
alright, what fucking ever. Disregard what I said, I obviously don't know my shit
Thread posts: 9
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.