Jump to content
SlicK

Trilulilu Downloader

Recommended Posts

Posted

Buna treaba SlicK, insa metoda care o folosesti tu am vazut ca limiteaza viteza. Mie nu mi-a luat niciodata cu mai mult de 20 kbs. O alta metoda ar fi urmatoarea: se face un request la fs[server].trilulilu.ro/stream.php?type=audio&hash=[hash]&username=[user]&key=[key] ! Hashul, usernameul si keyul se preiau din sursa paginii, spre exemplu:


so.addVariable("userid", "Klain666");
so.addVariable("hash", "181e856072703d");
so.addVariable("server", "5");
so.addVariable("key", "7ffb3e072293631eff58365cd9a7c075ffb46366");
so.addVariable("generationDate", "Apr 03 2008 08:55:04");

Keyul (dupa cum tu mi-ai zis) e criptat in sha1 si se genereaza in functie de ora/minut/secunda. Cand se acceseaza pagina cu melodia, keyul expira. Asa ca am facut un script care il preia din pagina si astfel el nu mai expira:


<form action="?" method="post">
<input type="text" name="link">
<input type="submit" value="Submit">
</form>

<?php

if (!empty($_POST['link']))
{

/* $link=$_POST['link'];
$handle=fopen($link, "rb");
$content = '';
while (!feof($handle))
{
$content .= fread($handle, 8192);
}
fclose($handle);
*/

$content = file_get_contents($_POST['link']);
//userid
$aux1=explode("so.addVariable(\"userid\", \"", $content);
$aux2=explode("\"", $aux1[1]);
$userid=$aux2[0];
//hash
$aux3=explode("so.addVariable(\"hash\", \"", $content);
$aux4=explode("\"", $aux3[1]);
$hash=$aux4[0];
//server
$aux5=explode("so.addVariable(\"server\", \"", $content);
$aux6=explode("\"", $aux5[1]);
$server=$aux6[0];
//key
$aux7=explode("so.addVariable(\"key\", \"", $content);
$aux8=explode("\"", $aux7[1]);
$key=$aux8[0];
echo "fs$server.trilulilu.ro/stream.php?type=audio&hash=$hash&username=$userid&key=$key";
}
?>

Nu am pus filtre, este doar o dovada ca merge. Apoi acceasi linkul care il returneaza si o sa downlaodati stream.mp3 ! Care este exact melodia. La fel si la filmulete, numai ca in loc de ?type=audio puneti ?type=video. Bafta ! Gg :wink:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...