Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Zippyshare Direct Download

Parašė avice· 2015 Kov. 24 22:03:07
#10

Greitai skubedamas padariau, failo pavadinimo netraukiau, kad sutaupyciau laika.
http://receptai.comoj.com/zippy..../file.html
puslio source

<?php
function puse($a,$b,$c){
	$ex = explode($a,$c);
	$ex = explode($b,$ex[1]);
	return $ex[0];
}
$url = $_GET['url'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
$output = curl_exec($ch);
$a = explode('%',puse('var a = ',';',$output)); $a = $a[0]%$a[1];
$b = explode('%',puse('var b = ',';',$output)); $b = $b[0]%$b[1];
$c = $a*$b+19;
$www = puse('www','.zippyshare.com',$url);
$file = puse('/v/','/file.html',$url);
$durl = 'http://www'.$www.'.zippyshare.com/d/'.$file.'/'.$c.'/file.mp3';
curl_setopt($ch, CURLOPT_URL, $durl);
$output = curl_exec($ch);
header ("Content-type: octet/stream");
header ("Content-disposition: attachment; filename=".$file.".mp3;");
echo $output;
curl_close($ch);
?>

Redagavo avice· 2015 Kov. 24 22:03:13