diff --git a/vinaget/vng270/.htaccess b/.htaccess similarity index 96% rename from vinaget/vng270/.htaccess rename to .htaccess index c7e91b9..aee3d50 100644 --- a/vinaget/vng270/.htaccess +++ b/.htaccess @@ -1,60 +1,60 @@ -Options -Indexes -DirectoryIndex index.php index.html index.htm - - RewriteEngine on - #RewriteBase /; - ## Begin - Rewrite rules to block out some common exploits. - # Block out any script trying to base64_encode data within the URL. - RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] - # Block out any script that includes a "; - echo "
{$this->lang['checkall']} | {$this->lang['uncheckall']} | {$this->lang['invert']}

"; - echo "
'; - echo '
'.($this->directdl ? '' : '').' - '; - usort($files, array( - $this, - 'datecmp' - )); - $data = ""; - foreach($files as $file) { - $timeago = Tools_get::convert_time(time() - $file[1]) . " " . $this->lang['ago']; - if (strlen($file[3]) > 80) $file[3] = substr($file[3], 0, 70); - $hosting = substr(Tools_get::site_hash($file[0]) , 0, 15); - if($this->longurl){ - if(function_exists("apache_get_modules") && in_array('mod_rewrite',@apache_get_modules())) $linkdown = Tools_get::site_hash($file[0])."/$file[2]/$file[3]"; - else $linkdown = 'index.php/'.Tools_get::site_hash($file[0])."/$file[2]/$file[3]"; - } - else $linkdown = '?file='.$file[2]; - $data.= " - - - ".($this->showlinkdown ? "" : "" )." - ".($this->directdl ? "" : "")." - - - - "; - } - - $this->CheckMBIP(); - echo $data; - $totalall = Tools_get::convertmb($this->totalMB * 1024 * 1024); - $MB1IP = Tools_get::convertmb($this->countMBIP * 1024 * 1024); - $thislimitMBIP = Tools_get::convertmb($this->limitMBIP * 1024 * 1024); - $timereset = Tools_get::convert_time($this->ttl * 60); - if($this->config['showdirect'] == true) - echo "
 ' . $this->lang['name'] . ''.$this->lang['direct'].'' . $this->lang['original'] . '' . $this->lang['size'] . '' . $this->lang['date'] . 'IP
$file[3]" . ($file[8] != 0 ? "
({$file[8]})" : "") . "
$file[3]" . $hosting . "" . $hosting . "" . $file[6] . "$timeago".$file[5]."
 " . $this->lang['total'] . ":$totalall 
-
" . $this->lang['used'] . " $MB1IP/$thislimitMBIP - " . $this->lang['reset'] . " $timereset.

"; - - else echo " " . $this->lang['total'] . ":$totalall  -
" . $this->lang['used'] . " $MB1IP/$thislimitMBIP - " . $this->lang['reset'] . " $timereset.

"; - } - - function deljob() - { - if ($this->act['delete'] == false) return; - if (isset($_POST['checkbox'])) { - echo "
"; - for ($i = 0; $i < count($_POST['checkbox']); $i++) { - $temp = explode("+++", $_POST['checkbox'][$i]); - $ftd = $temp[0]; - $name = $temp[1]; - echo "
$name "; - echo ''; - echo ''; - } - - echo "

 

"; - } - - if (isset($_POST['remove'])) { - echo "
"; - for ($i = 0; $i < count($_POST['ftd']); $i++) { - $ftd = $_POST['ftd'][$i]; - $name = $_POST['name'][$i]; - $key = ""; - foreach($this->jobs as $url => $job) { - if ($job['hash'] == $ftd) { - $key = $url; - break; - } - } - - if ($key) { - unset($this->jobs[$key]); - echo "
File: $name " . $this->lang['deld']; - } - else echo "
File: $name " . $this->lang['notfound']; - echo "
"; - } - - echo "
"; - $this->save_jobs(); - } - - if (isset($_POST['Cancel'])) { - $this->fulllist(); - } - } - - function renamejob() - { - if ($this->act['rename'] == false) return; - if (isset($_POST['checkbox'])) { - echo ""; - for ($i = 0; $i < count($_POST['checkbox']); $i++) { - $temp = explode("+++", $_POST['checkbox'][$i]); - $name = $temp[1]; - echo "
$name "; - echo ''; - echo ''; - echo '
' . $this->lang['nname'] . ':
'; - } - - echo "
 

"; - } - - if (isset($_POST['renn'])) { - for ($i = 0; $i < count($_POST['name']); $i++) { - $orname = $_POST['name'][$i]; - $hash = $_POST['hash'][$i]; - $nname = $_POST['nname'][$i]; - $nname = Tools_get::convert_name($nname); - $nname = str_replace($this->banned, '', $nname); - if ($nname == "") { - echo "
" . $this->lang['bname'] . "

"; - return; - } - else { - echo "
"; - $key = ""; - foreach($this->jobs as $url => $job) { - if ($job['hash'] == $hash) { - $key = $url; - - // $hash = $this->create_hash($key,$nname); - - $jobn = array( - 'hash' => $job['hash'], - 'path' => $job['path'], - 'filename' => urlencode($nname) , - 'size' => $job['size'], - 'msize' => $job['msize'], - 'mtime' => $job['mtime'], - 'speed' => 0, - 'url' => $job['url'], - 'owner' => $job['owner'], - 'ip' => $job['ip'], - 'type' => 'direct', - 'directlink' => array( - 'url' => $job['directlink']['url'], - 'cookies' => $job['directlink']['cookies'], - ) , - ); - } - } - - if ($key) { - $this->jobs[$key] = $jobn; - $this->save_jobs(); - echo "File $orname " . $this->lang['rnameto'] . " $nname"; - } - else echo "File $orname " . $this->lang['notfound']; - echo "

"; - } - } - } - - if (isset($_POST['Cancel'])) { - $this->fulllist(); - } - } - function error1($msg, $a = "", $b = "", $c = "", $d = ""){ - if(isset($this->lang[$msg])) $msg = sprintf($this->lang[$msg], $a, $b, $c, $d); - $msg = sprintf($this->lang["error1"], $msg); - die($msg); - } - function error2($msg, $a = "", $b = "", $c = "", $d = ""){ - if(isset($this->lang[$msg])) $msg = sprintf($this->lang[$msg], $b, $c, $d); - $msg = sprintf($this->lang["error2"], $msg, $a); - die($msg); - } - function Googlzip($longUrl) - { - $GoogleApiKey = $this->googlapikey; //Get API key from : https://code.google.com/apis/console/ - $postData = array( - 'longUrl' => $longUrl, - 'key' => $GoogleApiKey, - ); - $curlObj = curl_init(); - curl_setopt($curlObj, CURLOPT_URL, "https://www.googleapis.com/urlshortener/v1/url?key={$GoogleApiKey}"); - curl_setopt($curlObj, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, 0); - curl_setopt($curlObj, CURLOPT_HEADER, 0); - curl_setopt($curlObj, CURLOPT_HTTPHEADER, array('Content-type:application/json')); - curl_setopt($curlObj, CURLOPT_POST, 1); - curl_setopt($curlObj, CURLOPT_POSTFIELDS, json_encode($postData)); - $response = curl_exec($curlObj); - $json = json_decode($response, true); - curl_close($curlObj); - return $json['id']; - } - function bitly($url, $format='txt') - { - $login = $this->BitLylogin; - $apikey = $this->BitLyApi; - $data = $this->curl("http://api.bit.ly/v3/shorten?login={$login}&apiKey={$apikey}&uri=".urlencode($url)."&format={$format}", "", ""); - return $data; - } - // Credit to France10s - function wrong_proxy($proxy) - { - if(strpos($proxy, "|")){ - list($prox, $userpass) = explode("|", $proxy); - list($ip, $port) = explode(":", $prox); - list($user, $pass) = explode(":", $userpass); - } - else list($ip, $port) = explode(":", $proxy); - die('You must add this proxy to IDM '.(strpos($proxy, "|") ? 'IP: '.$ip.' Port: '.$port.' User: '.$user.' & Pass: '.$pass.'' : 'IP: '.$ip.' Port: '.$port.'').'
You must add this proxy to IDM ('.(strpos($proxy, "|") ? 'IP: '.$ip.' Port: '.$port.' User: '.$user.' and Pass: '.$pass.'' : 'IP: '.$ip.' Port: '.$port.'').')
PLEASE REMEMBER: IF YOU DO NOT ADD THE PROXY, YOU CAN NOT DOWNLOAD THIS LINK!

Open IDM > Downloads > Options.


Proxy/Socks > Choose "Use Proxy" > Add proxy server: '.$ip.', port: '.$port.' '.(strpos($proxy, "|") ? ', username: '.$user.' and password: '.$pass.'' : '').' > Choose http > OK.
'.(strpos($proxy, "|") ? '' : '').'

Copy your link > Paste in IDM > OK.


It will work > Start Download > Enjoy!
'); - } -} - -// #################################### End class stream_get ################################### -// #################################### Begin class Tools_get ################################### - -class Tools_get extends getinfo - -{ - function useronline() - { - $data = @file_get_contents($this->fileinfo_dir . "/online.dat"); - $online = @json_decode($data, true); - if (!is_array($online)) { - $online = array(); - $data = 'vng'; - } - - $online[$_SERVER['REMOTE_ADDR']] = time(); - - // ## clean jobs ### - - $oldest = time() - 45; - foreach($online as $ip => $time) { - if ($time < $oldest) unset($online[$ip]); - } - - // ## clean jobs ### - - /*-------------- save --------------*/ - $tmp = json_encode($online); - if ($tmp !== $data) { - $data = $tmp; - $fh = fopen($this->fileinfo_dir . "/online.dat", 'w') or die('
Could not open file ! Try to chmod the folder "' . $this->fileinfo_dir . '" to 777
'); - fwrite($fh, $data) or die('
Could not write file ! Try to chmod the folder "' . $this->fileinfo_dir . '" to 777
'); - fclose($fh); - @chmod($this->fileinfo_dir . "/online.dat", 0666); - } - - /*-------------- /save --------------*/ - return count($online); - } - - function size_name($link, $cookie) - { - if (!$link || !stristr($link, 'http')) return; - $link = str_replace(" ", "%20", $link); - $port = 80; - $schema = parse_url(trim($link)); - $host = $schema['host']; - $scheme = "http://"; - if (empty($schema['path'])) return; - $gach = explode("/", $link); - list($path1, $path) = explode($gach[2], $link); - if (isset($schema['port'])) $port = $schema['port']; - elseif ($schema['scheme'] == 'https') { - $scheme = "ssl://"; - $port = 443; - } - - if ($scheme != "ssl://") { - $scheme = ""; - } - $errno = 0; - $errstr = ""; - $hosts = $scheme . $host . ':' . $port; - if($this->proxy != 0){ - if(strpos($this->proxy, "|")){ - list($ip, $user) = explode("|", $this->proxy); - $auth = base64_encode($user); - } - else $ip = $this->proxy; - $data = "GET {$link} HTTP/1.1\r\n"; - if(isset($auth)) $data.= "Proxy-Authorization: Basic $auth\r\n"; - $fp = @stream_socket_client("tcp://{$ip}", $errno, $errstr, 20, STREAM_CLIENT_CONNECT); - } - else { - $data = "GET {$path} HTTP/1.1\r\n"; - $fp = @stream_socket_client($hosts, $errno, $errstr, 20, STREAM_CLIENT_CONNECT); - } - $data.= "User-Agent: " . $this->UserAgent . "\r\n"; - $data.= "Host: {$host}\r\n"; - $data.= $cookie ? "Cookie: $cookie\r\n" : ''; - $data.= "Connection: Close\r\n\r\n"; - if (!$fp) return -1; - fputs($fp, $data); - fflush($fp); - $header = ""; - do { - if (!$header) { - $header.= fgets($fp, 8192); - if (!stristr($header, "HTTP/1")) break; - } - else $header.= fgets($fp, 8192); - } - - while (strpos($header, "\r\n\r\n") === false); - if (stristr($header, "TTP/1.0 200 OK") || stristr($header, "TTP/1.1 200 OK") || stristr($header, "TTP/1.1 206")) $filesize = trim($this->cut_str($header, "Content-Length:", "\n")); - else $filesize = - 1; - if (!is_numeric($filesize)) $filesize = - 1; - $filename = ""; - if (stristr($header, "filename")) { - $filename = trim($this->cut_str($header, "filename", "\n")); - } - else $filename = substr(strrchr($link, '/') , 1); - $filename = self::convert_name($filename); - return array( - $filesize, - $filename - ); - } - - function site_hash($url) - { - if (strpos($url, "4shared.com")) $site = "4S"; - elseif (strpos($url, "asfile.com")) $site = "AS"; - elseif (strpos($url, "bitshare.com")) $site = "BS"; - elseif (strpos($url, "depositfiles.com") || strpos($url, "dfiles.eu")) $site = "DF"; - elseif (strpos($url, "extabit.com")) $site = "EB"; - elseif (strpos($url, "filefactory.com")) $site = "FF"; - elseif (strpos($url, "filepost.com")) $site = "FP"; - elseif (strpos($url, "hotfile.com")) $site = "HF"; - elseif (strpos($url, "lumfile.com")) $site = "LF"; - elseif (strpos($url, "mediafire.com")) $site = "MF"; - elseif (strpos($url, "megashares.com")) $site = "MS"; - elseif (strpos($url, "netload.in")) $site = "NL"; - elseif (strpos($url, "rapidgator.net")) $site = "RG"; - elseif (strpos($url, "ryushare.com")) $site = "RY"; - elseif (strpos($url, "turbobit.net")) $site = "TB"; - elseif (strpos($url, "uploaded.to") || strpos($url, "ul.to") || strpos($url, "uploaded.net")) $site = "UT"; - elseif (strpos($url, "uploading.com")) $site = "UP"; - elseif (strpos($url, "1fichier.com")) $site = "1F"; - elseif (strpos($url, "rapidshare.com")) $site = "RS"; - elseif (strpos($url, "fshare.vn")) $site = "FshareVN"; - elseif (strpos($url, "up.4share.vn") || strpos($url, "4share.vn")) $site = "4ShareVN"; - elseif (strpos($url, "share.vnn.vn")) $site = "share.vnn.vn"; - elseif (strpos($url, "upfile.vn")) $site = "UpfileVN"; - elseif (strpos($url, "mega.co.nz")) $site = "MEGA"; - else { - $schema = parse_url($url); - $site = preg_replace("/(www\.|\.com|\.net|\.biz|\.info|\.org|\.us|\.vn|\.jp|\.fr|\.in|\.to)/", "", $schema['host']); - } - - return $site; - } - - function convert($filesize) - { - $filesize = str_replace(",", ".", $filesize); - if (preg_match('/^([0-9]{1,4}+(\.[0-9]{1,2})?)/', $filesize, $value)) { - if (stristr($filesize, "TB")) $value = $value[1] * 1024 * 1024 * 1024 * 1024; - elseif (stristr($filesize, "GB")) $value = $value[1] * 1024 * 1024 * 1024; - elseif (stristr($filesize, "MB")) $value = $value[1] * 1024 * 1024; - elseif (stristr($filesize, "KB")) $value = $value[1] * 1024; - else $value = $value[1]; - } - else $value = 0; - return $value; - } - - function convertmb($filesize) - { - if (!is_numeric($filesize)) return $filesize; - $soam = false; - if ($filesize < 0) { - $filesize = abs($filesize); - $soam = true; - } - - if ($filesize >= 1024 * 1024 * 1024 * 1024) $value = ($soam ? "-" : "") . round($filesize / (1024 * 1024 * 1024 * 1024) , 2) . " TB"; - elseif ($filesize >= 1024 * 1024 * 1024) $value = ($soam ? "-" : "") . round($filesize / (1024 * 1024 * 1024) , 2) . " GB"; - elseif ($filesize >= 1024 * 1024) $value = ($soam ? "-" : "") . round($filesize / (1024 * 1024) , 2) . " MB"; - elseif ($filesize >= 1024) $value = ($soam ? "-" : "") . round($filesize / (1024) , 2) . " KB"; - else $value = ($soam ? "-" : "") . $filesize . " Bytes"; - return $value; - } - - function uft8html2utf8($s) - { - if (!function_exists('uft8html2utf8_callback')) { - function uft8html2utf8_callback($t) - { - $dec = $t[1]; - if ($dec < 128) { - $utf = chr($dec); - } - else - if ($dec < 2048) { - $utf = chr(192 + (($dec - ($dec % 64)) / 64)); - $utf.= chr(128 + ($dec % 64)); - } - else { - $utf = chr(224 + (($dec - ($dec % 4096)) / 4096)); - $utf.= chr(128 + ((($dec % 4096) - ($dec % 64)) / 64)); - $utf.= chr(128 + ($dec % 64)); - } - - return $utf; - } - } - - return preg_replace_callback('|&#([0-9]{1,});|', 'uft8html2utf8_callback', $s); - } - - function convert_name($filename) - { - $filename = urldecode($filename); - $filename = Tools_get::uft8html2utf8($filename); - $filename = preg_replace("/(\]|\[|\@|\"\;\?\=|\"|=|\*|UTF-8|\')/", "", $filename); - $filename = preg_replace("/(HTTP|http|WWW|www|\.html|\.htm)/i", "", $filename); - $filename = str_replace($this->banned, '.xxx', $filename); - if (empty($filename) == true) $filename = substr(md5(time() . $url) , 0, 10); - return $filename; - } - - function convert_time($time) - { - if ($time >= 86400) $time = round($time / (60 * 24 * 60) , 1) . " " . $this->lang['days']; - elseif (86400 > $time && $time >= 3600) $time = round($time / (60 * 60) , 1) . " " . $this->lang['hours']; - elseif (3600 > $time && $time >= 60) $time = round($time / 60, 1) . " " . $this->lang['mins']; - else $time = $time . " " . $this->lang['sec']; - return $time; - } -} -// #################################### End class Tools_get ##################################### - - -class Download { - public $last = false; - public function __construct ($lib, $site) { - $this->lib = $lib; - $this->site = $site; - } - - public function error($msg, $force = false, $delcookie = true, $type = 1){ - if(isset($this->lib->lang[$msg])) $msg = sprintf($this->lib->lang[$msg], $this->site, $this->url); - $msg = sprintf($this->lib->lang["error{$type}"], $msg, $this->url); - if($delcookie) $this->save(); - if($force || $this->last) die($msg); - } - - public function filter_cookie($cookie, $del = array('', '""', 'deleted')){ - $cookie = explode(";", $cookie); - $cookies = ""; - $a = array(); - foreach($cookie as $c){ - $delete = false; - $pos = strpos($c, "="); - $key = str_replace(" ", "", substr($c, 0, $pos)); - $val = substr($c, $pos+1); - foreach($del as $dul) { - if($val == $dul) $delete = true; - } - if(!$delete) $a[$key] = $val; - } - foreach($a as $b => $c){ - $cookies .= "{$b}={$c}; "; - } - return $cookies; - } - - public function save($cookies = "", $save = true){ - $cookie = $cookies != "" ? $this->filter_cookie(($this->lib->cookie ? $this->lib->cookie.";" : "").$cookies) : ""; - if($save) $this->lib->save_cookies($this->site, $cookie); - $this->lib->cookie = $cookie; - } - - public function exploder($del, $data, $i){ - $a = explode($del, $data); - return $a[$i]; - } - - public function isredirect($data){ - if (preg_match('/ocation: (.*)/',$data,$match)) { - $this->redirect = trim($match[1]); - return true; - } - else return false; - } - - public function getredirect($link, $cookie=""){ - $data = $this->lib->curl($link,$cookie,"",-1); - if (preg_match('/ocation: (.*)/',$data,$match)) $link = trim($match[1]); - $cookies = $this->lib->GetCookies($data); - if($cookies != "") $this->save($cookies); - return $link; - } - - public function parseForm($data){ - $post = array(); - if(preg_match_all('//U', $data, $matches)){ - foreach($matches[0] as $input){ - if(!stristr($input, "name=")) continue; - if(preg_match('/name=(".*"|\'.*\')/U', $input, $name)){ - $key = substr($name[1], 1, -1); - if(preg_match('/value=(".*"|\'.*\')/U', $input, $value)) $post[$key] = substr($value[1], 1, -1); - else $post[$key] = ""; - } - } - } - return $post; - } - - public function linkpassword($url){ - $password = ""; - if(strpos($url,"|")) { - $linkpass = explode('|', $url); - $url = $linkpass[0]; - $password = $linkpass[1]; - } - if (isset($_POST['password'])) $password = $_POST['password']; - return array($url, $password); - } - - public function forcelink($link, $a){ - $link = str_replace(" ", "%20", $link); - for($i=0;$i<$a;$i++){ - if($size = $this->lib->getsize($link, $this->lib->cookie) <= 0) { - $link = $this->getredirect($link, $this->lib->cookie); - } - else return $link; - } - $this->error("cantconnect", false, false); - return false; - } - - public function General($url){ - $this->url = $url; - $this->cookie = ""; - if($this->lib->acc[$this->site]['proxy'] != "") $this->lib->proxy = $this->lib->acc[$this->site]['proxy']; - if(method_exists($this, "PreLeech")) { - $this->PreLeech($this->url); - } - if(method_exists($this, "FreeLeech")) { - $link = $this->FreeLeech($this->url); - if($link) { - $link = $this->forcelink($link, 2); - if($link) return $link; - } - } - $maxacc = count($this->lib->acc[$this->site]['accounts']); - if($maxacc == 0) $this->error('noaccount', true); - for ($k=0; $k < $maxacc; $k++){ - $account = trim($this->lib->acc[$this->site]['accounts'][$k]); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(!empty($cookie) || (!empty($user) && !empty($pass))){ - for ($j=0; $j < 2; $j++){ - if(($maxacc-$k) == 1 && $j == 1) $this->last = true; - if(empty($cookie)) $cookie = $this->lib->get_cookie($this->site); - if(empty($cookie)) { - $cookie = false; - if(method_exists($this, "Login")) $cookie = $this->Login($user, $pass); - } - if(!$cookie) continue; - $this->save($cookie); - if(method_exists($this, "CheckAcc")) $status = $this->CheckAcc($this->lib->cookie); - else $status = array(true, "Without Acc Checker"); - if($status[0]){ - $link = false; - if(method_exists($this, "Leech")) $link = $this->Leech($this->url); - if($link) { - $link = $this->forcelink($link, 3); - if($link) return $link; - } - else $this->error('pluginerror'); - } - else{ - $this->error($status[1]); - } - } - } - } - return false; - } -} - -/** - * Mega.co.nz downloader - * Require mcrypt, curl - * @license GNU GPLv3 http://opensource.org/licenses/gpl-3.0.html - * @author ZonD80 - */ -class MEGA { - - private $seqno, $f; - - /** - * Class constructor - * @param string $file_hash File hash, coming after # in mega URL - */ - function __construct($file_hash) { - $this->seqno = 0; - $this->f = $this->mega_get_file_info($file_hash); - } - - function a32_to_str($hex) { - return call_user_func_array('pack', array_merge(array('N*'), $hex)); - } - - function aes_ctr_decrypt($data, $key, $iv) { - return mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $data, 'ctr', $iv); - } - - function base64_to_a32($s) { - return $this->str_to_a32($this->base64urldecode($s)); - } - - function base64urldecode($data) { - $data .= substr('==', (2 - strlen($data) * 3) % 4); - $data = str_replace(array('-', '_', ','), array('+', '/', ''), $data); - return base64_decode($data); - } - - function str_to_a32($b) { - // Add padding, we need a string with a length multiple of 4 - $b = str_pad($b, 4 * ceil(strlen($b) / 4), "\0"); - return array_values(unpack('N*', $b)); - } - - /** - * Handles query to mega servers - * @param array $req data to be sent to mega - * @return type - */ - function mega_api_req($req) { - - $ch = curl_init('https://g.api.mega.co.nz/cs?id=' . ($this->seqno++)/* . ($sid ? '&sid=' . $sid : '') */); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - curl_setopt($ch, CURLOPT_POST, true); - curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array($req))); - $resp = curl_exec($ch); - curl_close($ch); - $resp = json_decode($resp, true); - return $resp[0]; - } - - function aes_cbc_decrypt($data, $key) { - return mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $data, MCRYPT_MODE_CBC, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); - } - - function mega_dec_attr($attr, $key) { - $attr = trim($this->aes_cbc_decrypt($attr, $this->a32_to_str($key))); - if (substr($attr, 0, 6) != 'MEGA{"') { - return false; - } - return json_decode(substr($attr, 4), true); - } - - /** - * Downloads file from megaupload - * @param string $as_attachment Download file as attachment, default true - * @param string $local_path Save file to specified by $local_path folder - * @return boolean True - */ - function download($as_attachment = true, $local_path = null) { - $ch = curl_init($this->f['binary_url']); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - //curl_setopt($ch, CURLOPT_VERBOSE, true); - $data_enc = curl_exec($ch); - curl_close($ch); - $data = $this->aes_ctr_decrypt($data_enc, $this->a32_to_str($this->f['k']), $this->a32_to_str($this->f['iv'])); - if ($as_attachment) { - //die(var_dump($this->f['attr']['n'])); - header("Content-Disposition: attachment;filename=\"{$this->f['attr']['n']}\""); - header('Content-Description: File Transfer'); - header('Content-Type: application/octet-stream'); - header("Content-Transfer-Encoding: binary"); - header("Content-Length: " . $this->f['size']); - header('Pragma: no-cache'); - header('Expires: 0'); - print $data; - return true; - } else { - file_put_contents($local_path . DIRECTORY_SEPARATOR . $this->f['attr']['n'], $data); - return true; - } - /* $file_mac = cbc_mac($data, $k, $iv); - print "\nchecking mac\n"; - if (array($file_mac[0] ^ $file_mac[1], $file_mac[2] ^ $file_mac[3]) != $meta_mac) { - echo "MAC mismatch"; - } */ - } - - function get_chunks($size) { - $chunks = array(); - $p = $pp = 0; - - for ($i = 1; $i <= 8 && $p < $size - $i * 0x20000; $i++) { - $chunks[$p] = $i * 0x20000; - $pp = $p; - $p += $chunks[$p]; - } - - while ($p < $size) { - $chunks[$p] = 0x100000; - $pp = $p; - $p += $chunks[$p]; - } - - $chunks[$pp] = ($size - $pp); - if (!$chunks[$pp]) { - unset($chunks[$pp]); - } - - return $chunks; - } - - /** - * Downloads file from megaupload as a stream (useful if you want to implement megaupload proxy) - * @param string $as_attachment Download file as attachment, default true - * @param string $local_path Save file to specified by $local_path folder - * @return boolean True - */ - function stream_download($as_attachment = true, $local_path = null) { - - //$data = $this->aes_ctr_decrypt($data_enc, $this->a32_to_str($this->f['k']), $this->a32_to_str($this->f['iv'])); - if ($as_attachment) { - header("Content-Disposition: attachment;filename=\"{$this->f['attr']['n']}\""); - header('Content-Description: File Transfer'); - header('Content-Type: application/octet-stream'); - header("Content-Transfer-Encoding: binary"); - header("Content-Length: " . $this->f['size']); - header('Pragma: no-cache'); - header('Expires: 0'); - } else { - $destfile = fopen($local_path . DIRECTORY_SEPARATOR . $this->f['attr']['n'], 'wb'); - } - $cipher = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', 'ctr', ''); - - mcrypt_generic_init($cipher, $this->a32_to_str($this->f['k']), $this->a32_to_str($this->f['iv'])); - - $chunks = $this->get_chunks($this->f['size']); - - $protocol = parse_url($this->f['binary_url'], PHP_URL_SCHEME); - - $opts = array( - $protocol => array( - 'method' => 'GET' - ) - ); - - $context = stream_context_create($opts); - $stream = fopen($this->f['binary_url'], 'rb', false, $context); - - $info = stream_get_meta_data($stream); - $end = !$info['eof']; - foreach ($chunks as $length) { - - $bytes = strlen($buffer); - while ($bytes < $length && $end) { - $data = fread($stream, min(1024, $length - $bytes)); - $buffer .= $data; - - $bytes = strlen($buffer); - $info = stream_get_meta_data($stream); - $end = !$info['eof'] && $data; - } - - $chunk = substr($buffer, 0, $length); - $buffer = $bytes > $length ? substr($buffer, $length) : ''; - - $chunk = mdecrypt_generic($cipher, $chunk); - if ($as_attachment) { - print $chunk; - ob_flush(); - } - else - fwrite($destfile, $chunk); - } - - // Terminate decryption handle and close module - mcrypt_generic_deinit($cipher); - mcrypt_module_close($cipher); - fclose($stream); - if (!$as_attachment) - fclose($destfile); - - return true; - /* $file_mac = cbc_mac($data, $k, $iv); - print "\nchecking mac\n"; - if (array($file_mac[0] ^ $file_mac[1], $file_mac[2] ^ $file_mac[3]) != $meta_mac) { - echo "MAC mismatch"; - } */ - } - - private function mega_get_file_info($hash) { - preg_match('/\!(.*?)\!(.*)/', $hash, $matches); - $id = $matches[1]; - $key = $matches[2]; - $key = $this->base64_to_a32($key); - $k = array($key[0] ^ $key[4], $key[1] ^ $key[5], $key[2] ^ $key[6], $key[3] ^ $key[7]); - $iv = array_merge(array_slice($key, 4, 2), array(0, 0)); - $meta_mac = array_slice($key, 6, 2); - $info = $this->mega_api_req(array('a' => 'g', 'g' => 1, 'p' => $id)); - if (!$info['g']) die('No such file on mega. Maybe it was deleted.'); - return array('id' => $id, 'key' => $key, 'k' => $k, 'iv' => $iv, 'meta_mac' => $meta_mac, 'binary_url' => $info['g'], 'attr' => $this->mega_dec_attr($this->base64urldecode($info['at']), $k), 'size' => $info['s']); - } - - /** - * Returns file information - * @return array File information - */ - function file_info() { - return $this->f; - } - -} +self = 'http://' . $_SERVER['HTTP_HOST'] . preg_replace('/\?.*$/', '', isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : $_SERVER['PHP_SELF']); + $this->Deny = true; + $this->admin = false; + $this->fileinfo_dir = "data"; + $this->filecookie = "/cookie.dat"; + $this->fileconfig = "/config.dat"; + $this->fileaccount = "/account.dat"; + $this->fileinfo_ext = "vng"; + $this->banned = explode(' ', '.htaccess .htpasswd .php .php3 .php4 .php5 .phtml .asp .aspx .cgi .pl'); + $this->unit = 512; + $this->UserAgent = 'Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/27.0.1'; + $this->config = $this->load_json($this->fileconfig); + include ("config.php"); + if(count($this->config) == 0) { + $this->config = $config; + $_GET['id'] = 'admin'; + $this->Deny = false; + $this->admin = true; + } + else{ + foreach($config as $key=>$val){ + if (!isset($this->config[$key])) $this->config[$key] = $val; + } + if ($this->config['secure'] == false) $this->Deny = false; + $password = explode(", ", $this->config['password']); + $password[] = $this->config['admin']; + foreach($password as $login_vng) if (isset($_COOKIE["secureid"]) && $_COOKIE["secureid"] == md5($login_vng)) { + $this->Deny = false; + break; + } + } + $this->set_config(); + if (!file_exists($this->fileinfo_dir)) { + mkdir($this->fileinfo_dir) or die("
Could not create folder! Try to chmod the folder \"$this->fileinfo_dir\" to 777
"); + @chmod($this->fileinfo_dir, 0777); + } + if (!file_exists($this->fileinfo_dir . "/files")) { + mkdir($this->fileinfo_dir . "/files") or die("
Could not create folder! Try to chmod the folder \"$this->fileinfo_dir/files\" to 777
"); + @chmod($this->fileinfo_dir . "/files", 0777); + } + if (!file_exists($this->fileinfo_dir . "/index.php")) { + $clog = fopen($this->fileinfo_dir . "/index.php", "a") or die("
Could not create folder! Try to chmod the folder \"$this->fileinfo_dir\" to 777
"); + fwrite($clog, ''); + fclose($clog); + @chmod($this->fileinfo_dir . "/index.php", 0666); + } + if (!file_exists($this->fileinfo_dir . "/files/index.php")) { + $clog = fopen($this->fileinfo_dir . "/files/index.php", "a") or die("
Could not create folder! Try to chmod the folder \"$this->fileinfo_dir/files\" to 777
"); + fwrite($clog, ''); + fclose($clog); + @chmod($this->fileinfo_dir . "/files/index.php", 0666); + } + } + function set_config(){ + include("lang/{$this->config['language']}.php"); + $this->lang = $lang; + $this->Secure = $this->config['secure']; + $this->skin = $this->config['skin']; + $this->download_prefix = $this->config['download_prefix']; + $this->download_suffix = $this->config['download_suffix']; + $this->limitMBIP = $this->config['limitMBIP']; + $this->ttl = $this->config['ttl']; + $this->limitPERIP = $this->config['limitPERIP']; + $this->ttl_ip = $this->config['ttl_ip']; + $this->max_jobs_per_ip = $this->config['max_jobs_per_ip']; + $this->max_jobs = $this->config['max_jobs']; + $this->max_load = $this->config['max_load']; + $this->max_size_default = $this->config['max_size_default']; + $this->file_size_limit = $this->config['file_size_limit']; + $this->zlink = $this->config['ziplink']; + $this->link_zip = $this->config['apiadf']; + $this->link_rutgon = $this->config['apirutgon']; + $this->Googlzip = $this->config['Googlzip']; + $this->googlapikey = $this->config['googleapikey']; + $this->bitly = $this->config['bitly']; + $this->BitLylogin = $this->config['BitLylogin']; + $this->BitLyApi = $this->config['BitLyApi']; + $this->badword = explode(", ", $this->config['badword']); + $this->act = array('rename' => $this->config['rename'], 'delete' => $this->config['delete']); + $this->listfile = $this->config['listfile']; + $this->showlinkdown = $this->config['showlinkdown']; + $this->checkacc = $this->config['checkacc']; + $this->privatef = $this->config['privatefile']; + $this->privateip = $this->config['privateip']; + $this->redirdl = $this->config['redirectdl']; + $this->check3x = $this->config['checklinksex']; + $this->colorfn = $this->config['colorfilename']; + $this->colorfs = $this->config['colorfilesize']; + $this->title = $this->config['title']; + $this->directdl = $this->config['showdirect']; + $this->longurl = $this->config['longurl']; + $this->display_error = $this->config['display_error']; + $this->proxy = false; + $this->prox = $_POST['proxy']; + $this->bbcode = $this->config['bbcode']; + } + function isadmin(){ + return (isset($_COOKIE['secureid']) && $_COOKIE['secureid'] == md5($this->config['admin']) ? true : $this->admin); + } + function getversion(){ + $version = $this->cut_str($this->curl("https://github.com/giaythuytinh176/vinaget-script", "", ""), '',''); + return intval($version); + } + function notice($id="notice") + { + if($id=="notice") return sprintf($this->lang['notice'], Tools_get::convert_time($this->ttl * 60) , $this->limitPERIP, Tools_get::convert_time($this->ttl_ip * 60)); + else { + $this->CheckMBIP(); + $MB1IP = Tools_get::convertmb($this->countMBIP * 1024 * 1024); + $thislimitMBIP = Tools_get::convertmb($this->limitMBIP * 1024 * 1024); + $maxsize = Tools_get::convertmb($this->max_size_other_host * 1024 * 1024); + if($id=="yourip") return $this->lang['yourip']; + if($id=="yourjob") return $this->lang['yourjob']; + if($id=="userjobs") return' '.$this->lookup_ip($_SERVER['REMOTE_ADDR']).' (max '.$this->max_jobs_per_ip.') '; + if($id=="youused") return sprintf($this->lang['youused']); + if($id=="used") return' '.$MB1IP.' (max '.$thislimitMBIP.') '; + if($id=="sizelimit") return $this->lang['sizelimit']; + if($id=="maxsize") return $maxsize; + if($id=="totjob") return $this->lang['totjob']; + if($id=="totjobs") return' '.count($this->jobs).' (max '.$this->max_jobs.') '; + if($id=="serverload") return $this->lang['serverload']; + if($id=="maxload") return' '.$this->get_load().' (max '.$this->max_load.') '; + if($id=="uonline") return $this->lang['uonline']; + if($id=="useronline") return Tools_get::useronline(); + } + } + function load_jobs() + { + if (isset($this->jobs)) return; + $dir = opendir($this->fileinfo_dir . "/files/"); + $this->lists = array(); + while ($file = readdir($dir)) { + if (substr($file, -strlen($this->fileinfo_ext) - 1) == "." . $this->fileinfo_ext) { + $this->lists[] = $this->fileinfo_dir . "/files/" . $file; + } + } + closedir($dir); + $this->jobs = array(); + if (count($this->lists)) { + sort($this->lists); + foreach($this->lists as $file) { + $contentsfile = @file_get_contents($file); + $jobs_data = @json_decode($contentsfile, true); + if (is_array($jobs_data)) { + $this->jobs = array_merge($this->jobs, $jobs_data); + } + } + } + } + function save_jobs() + { + if (!isset($this->jobs) || is_array($this->jobs) == false) return; + // ## clean jobs ### + $oldest = time() - $this->ttl * 60; + $delete = array(); + foreach($this->jobs as $key => $job) { + if ($job['mtime'] < $oldest) { + $delete[] = $key; + } + } + foreach($delete as $key) { + unset($this->jobs[$key]); + } + // ## clean jobs ### + $namedata = $timeload = explode(" ", microtime()); + $namedata = $namedata[1] * 1000 + round($namedata[0] * 1000); + $this->fileinfo = $this->fileinfo_dir . "/files/" . $namedata . "." . $this->fileinfo_ext; + $tmp = @json_encode($this->jobs); + $fh = fopen($this->fileinfo, 'w') or die('
Could not open file ! Try to chmod the folder "' . $this->fileinfo_dir . "/files/" . '" to 777
'); + fwrite($fh, $tmp); + fclose($fh); + @chmod($this->fileinfo, 0666); + if (count($this->lists)) foreach($this->lists as $file) if (file_exists($file)) @unlink($file); + return true; + } + function load_json($file) + { + $hash = substr($file, 1); + $this->json[$hash] = @file_get_contents($this->fileinfo_dir . $file); + $data = @json_decode($this->json[$hash], true); + if (!is_array($data)) { + $data = array(); + $this->json[$hash] = 'default'; + } + return $data; + } + function save_json($file, $data) + { + $tmp = json_encode($data); + $hash = substr($file, 1); + if ($tmp !== $this->json[$hash]) { + $this->json[$hash] = $tmp; + $fh = fopen($this->fileinfo_dir . $file, 'w') or die('
Could not open file ! Try to chmod the folder "' . $this->fileinfo_dir . '" to 777
'); + fwrite($fh, $this->json[$hash]) or die('
Could not write file ! Try to chmod the folder "' . $this->fileinfo_dir . '" to 777
'); + fclose($fh); + @chmod($this->fileinfo_dir . $file, 0666); + return true; + } + } + function load_cookies() + { + if (isset($this->cookies)) return; + $this->cookies = $this->load_json($this->filecookie); + } + function get_cookie($site) + { + $cookie = ""; + if (isset($this->cookies) && count($this->cookies) > 0) { + foreach($this->cookies as $ckey => $cookies) { + if ($ckey === $site) { + $cookie = $cookies['cookie']; + break; + } + } + } + return $cookie; + } + function save_cookies($site, $cookie) + { + if (!isset($this->cookies)) return; + if ($site) { + $cookies = array( + 'cookie' => $cookie, + 'time' => time() , + ); + $this->cookies[$site] = $cookies; + } + $this->save_json($this->filecookie, $this->cookies); + } + function load_account(){ + if (isset($this->acc)) return; + $this->acc = $this->load_json($this->fileaccount); + foreach($this->list_host as $site => $host) { + if(!$host['alias']){ + if(empty($this->acc[$site]['proxy'])) $this->acc[$site]['proxy'] = ""; + if(empty($this->acc[$site]['direct'])) $this->acc[$site]['direct'] = false; + if(empty($this->acc[$site]['max_size'])) $this->acc[$site]['max_size'] = $this->max_size_default; + if(empty($this->acc[$site]['accounts'])) $this->acc[$site]['accounts'] = array(); + } + } + } + function save_account($service, $acc){ + foreach ($this->acc[$service]['accounts'] as $value) if ($acc == $value) return false; + if(empty($this->acc[$service])) $this->acc[$service]['max_size'] = $this->max_size_default; + $this->acc[$_POST['type']]['accounts'][] = $_POST['account']; + $this->save_json($this->fileaccount, $this->acc); + } + function get_account($service) + { + $acc = ''; + if (isset($this->acc[$service])) { + $service = $this->acc[$service]; + $this->max_size = $service['max_size']; + if (count($service['accounts']) > 0) $acc = $service['accounts'][rand(0, count($service['accounts']) - 1) ]; + } + return $acc; + } + function lookup_job($hash) + { + $this->load_jobs(); + foreach($this->jobs as $key => $job) { + if ($job['hash'] === $hash) return $job; + } + return false; + } + function get_load($i = 0) + { + $load = array( + '0', + '0', + '0' + ); + if (@file_exists('/proc/loadavg')) { + if ($fh = @fopen('/proc/loadavg', 'r')) { + $data = @fread($fh, 15); + @fclose($fh); + $load = explode(' ', $data); + } + } + else { + if ($serverstats = @exec('uptime')) { + if (preg_match('/(?:averages)?\: ([0-9\.]+),?[\s]+([0-9\.]+),?[\s]+([0-9\.]+)/', $serverstats, $matches)) { + $load = array( + $matches[1], + $matches[2], + $matches[3] + ); + } + } + } + return $i == - 1 ? $load : $load[$i]; + } + function lookup_ip($ip) + { + $this->load_jobs(); + $cnt = 0; + foreach($this->jobs as $job) { + if ($job['ip'] === $ip) $cnt++; + } + return $cnt; + } + function Checkjobs() + { + $ip = $_SERVER['REMOTE_ADDR']; + $heute = 0; + $lasttime = time(); + $altr = $lasttime - $this->ttl_ip * 60; + foreach($this->jobs as $job) { + if ($job['ip'] === $ip && $job['mtime'] > $altr) { + $heute++; + if ($job['mtime'] < $lasttime) $lasttime = $job['mtime']; + } + } + $lefttime = $this->ttl_ip * 60 - time() + $lasttime; + $lefttime = Tools_get::convert_time($lefttime); + return array( + $heute, + $lefttime + ); + } +} +// #################################### End class getinfo ####################################### +// #################################### Begin class stream_get ################################## + +class stream_get extends getinfo +{ + function stream_get() + { + $this->config(); + $this->max_size_other_host = $this->file_size_limit; + $this->load_jobs(); + $this->load_cookies(); + $this->cookie = ''; + if (preg_match('%^(http.+.index.php)/(.*?)/(.*?)/%U', $this->self, $redir)) { + if (stristr($redir[3], 'mega_')) $this->downloadmega($redir[3]); + else $this->download($redir[3]); + } + elseif (isset($_REQUEST['file'])) { + if (stristr($_REQUEST['file'], 'mega_')) $this->downloadmega($_REQUEST['file']); + else $this->download($_REQUEST['file']); + } + else{ + include ("hosts/hosts.php"); + ksort($host); + $this->list_host = $host; + $this->load_account(); + } + if (isset($_COOKIE['owner'])) { + $this->owner = $_COOKIE['owner']; + } + else { + $this->owner = intval(rand() * 10000); + setcookie('owner', $this->owner, 0); + } + } + function download($hash) + { + error_reporting(0); + $job = $this->lookup_job($hash); + if (!$job) { + sleep(15); + header("HTTP/1.1 404 Not Found"); + die($this->lang['errorget']); + } + if (($_SERVER['REMOTE_ADDR'] !== $job['ip']) && $this->privateip == true) { + sleep(15); + die($this->lang['errordl']); + } + if ($this->get_load() > $this->max_load) sleep(15); + $link = ''; + $filesize = $job['size']; + $filename = $this->download_prefix . Tools_get::convert_name($job['filename']) . $this->download_suffix; + $directlink = urldecode($job['directlink']['url']); + $this->cookie = $job['directlink']['cookies']; + $link = $directlink; + $link = str_replace(" ", "%20", $link); + if (!$link) { + sleep(15); + header("HTTP/1.1 404 Not Found"); + $this->error1('erroracc'); + } + if ($job['proxy'] != 0 && $this->redirdl == true) { + list($ip, ) = explode(":", $job['proxy']); + if($_SERVER['REMOTE_ADDR'] != $ip) { + $this->wrong_proxy($job['proxy']); + } + else { + header('Location: '.$link); + die; + } + } + $range = ''; + if (isset($_SERVER['HTTP_RANGE'])) { + $range = substr($_SERVER['HTTP_RANGE'], 6); + list($start, $end) = explode('-', $range); + $new_length = $filesize - $start; + } + $port = 80; + $schema = parse_url(trim($link)); + $host = $schema['host']; + $scheme = "http://"; + $gach = explode("/", $link); + list($path1, $path) = explode($gach[2], $link); + if (isset($schema['port'])) $port = $schema['port']; + elseif ($schema['scheme'] == 'https') { + $scheme = "ssl://"; + $port = 443; + } + if ($scheme != "ssl://") { + $scheme = ""; + } + $hosts = $scheme . $host . ':' . $port; + if($job['proxy'] != 0){ + if(strpos($job['proxy'], "|")){ + list($ip, $user) = explode("|", $job['proxy']); + $auth = base64_encode($user); + } + else $ip = $job['proxy']; + $data = "GET {$link} HTTP/1.1\r\n"; + if(isset($auth)) $data.= "Proxy-Authorization: Basic $auth\r\n"; + $fp = @stream_socket_client("tcp://{$ip}", $errno, $errstr, 20, STREAM_CLIENT_CONNECT); + } + else { + $data = "GET {$path} HTTP/1.1\r\n"; + $fp = @stream_socket_client($hosts, $errno, $errstr, 20, STREAM_CLIENT_CONNECT); + } + if (!$fp) { + sleep(15); + header("HTTP/1.1 404 Not Found"); + die("HTTP/1.1 404 Not Found"); + } + $data.= "User-Agent: " . $this->UserAgent . "\r\n"; + $data.= "Host: {$host}\r\n"; + $data.= "Accept: */*\r\n"; + $data.= $this->cookie ? "Cookie: " . $this->cookie . "\r\n" : ''; + if (!empty($range)) $data.= "Range: bytes={$range}\r\n"; + $data.= "Connection: Close\r\n\r\n"; + @stream_set_timeout($fp, 2); + fputs($fp, $data); + fflush($fp); + $header = ''; + do { + if (!$header) { + $header.= stream_get_line($fp, $this->unit); + if (!stristr($header, "HTTP/1")) break; + } + else $header.= stream_get_line($fp, $this->unit); + } + while (strpos($header, "\r\n\r\n") === false); + /* debug */ + if ($this->isadmin() && isset($_GET['debug'])) { + // Uncomment next line for enable to admins this debug code. + // echo "
connected to : $hosts ".($job['proxy'] == 0 ? '' : "via {$job['proxy']}")."\r\n$data\r\n\r\nServer replied: \r\n$header
"; + die(); + } + /* debug */ + // Must be fresh start + if (headers_sent()) die('Headers Sent'); + // Required for some browsers + if (ini_get('zlib.output_compression')) ini_set('zlib.output_compression', 'Off'); + header("Pragma: public"); // required + header("Expires: 0"); + header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); + header("Cache-Control: private", false); // required for certain browsers + header("Content-Transfer-Encoding: binary"); + header("Accept-Ranges: bytes"); + if (stristr($header, "TTP/1.0 200 OK") || stristr($header, "TTP/1.1 200 OK")) { + if (!is_numeric($filesize)) $filesize = trim($this->cut_str($header, "Content-Length:", "\n")); + if (stristr($header, "filename")) { + $filename = trim($this->cut_str($header, "filename", "\n")); + $filename = preg_replace("/(\"\;\?\=|\"|=|\*|UTF-8|\')/", "", $filename); + $filename = $this->download_prefix . $filename . $this->download_suffix; + } + if (is_numeric($filesize)) { + header("HTTP/1.1 200 OK"); + header("Content-Type: application/force-download"); + header("Content-Disposition: attachment; filename=" . $filename); + header("Content-Length: {$filesize}"); + } + else { + sleep(5); + header("HTTP/1.1 404 Not Found"); + die("HTTP/1.1 404 Not Found"); + } + } + elseif (stristr($header, "TTP/1.1 206") || stristr($header, "TTP/1.0 206")) { + sleep(2); + header("HTTP/1.1 206 Partial Content"); + header("Content-Type: application/force-download"); + header("Content-Length: $new_length"); + header("Content-Range: bytes $range/{$filesize}"); + } + else { + sleep(10); + header("HTTP/1.1 404 Not Found"); + die("HTTP/1.1 404 Not Found"); + } + $tmp = explode("\r\n\r\n", $header); + $max = count($tmp); + for ($i = 1; $i < $max; $i++) { + print $tmp[$i]; + if ($i != $max - 1) echo "\r\n\r\n"; + } + while (!feof($fp) && (connection_status() == 0)) { + $recv = @stream_get_line($fp, $this->unit); + @print $recv; + @flush(); + @ob_flush(); + } + fclose($fp); + exit; + } + + function downloadmega($hash) + { + error_reporting(0); + $job = $this->lookup_job($hash); + if (!$job) { + sleep(15); + header("HTTP/1.1 404 Not Found"); + die($this->lang['errorget']); + } + if (($_SERVER['REMOTE_ADDR'] !== $job['ip']) && $this->privateip == true) { + sleep(15); + die($this->lang['errordl']); + } + if ($this->get_load() > $this->max_load) sleep(15); + + $megafile = new MEGA(urldecode($job['url'])); + $megafile->stream_download(); + } + + function CheckMBIP() + { + $this->countMBIP = 0; + $this->totalMB = 0; + $this->timebw = 0; + $timedata = time(); + foreach($this->jobs as $job) { + if ($job['ip'] == $_SERVER['REMOTE_ADDR']) { + $this->countMBIP = $this->countMBIP + $job['size'] / 1024 / 1024; + if ($job['mtime'] < $timedata) $timedata = $job['mtime']; + $this->timebw = $this->ttl * 60 + $timedata - time(); + } + + if ($this->privatef == false) { + $this->totalMB = $this->totalMB + $job['size'] / 1024 / 1024; + $this->totalMB = round($this->totalMB); + } + else { + if ($job['owner'] == $this->owner) { + $this->totalMB = $this->totalMB + $job['size'] / 1024 / 1024; + $this->totalMB = round($this->totalMB); + } + } + } + + $this->countMBIP = round($this->countMBIP); + if ($this->countMBIP >= $this->limitMBIP) return false; + return true; + } + + function curl($url, $cookies, $post, $header = 1, $json = 0, $ref = 0, $xml = 0) + { + $ch = @curl_init(); + curl_setopt($ch, CURLOPT_URL, $url); + if ($json == 1) { + $head[] = "Content-type: application/json"; + $head[] = "X-Requested-With: XMLHttpRequest"; + } + if ($xml == 1) { + $head[] = "X-Requested-With: XMLHttpRequest"; + } + $head[] = "Connection: keep-alive"; + $head[] = "Keep-Alive: 300"; + $head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"; + $head[] = "Accept-Language: en-us,en;q=0.5"; + if ($cookies) curl_setopt($ch, CURLOPT_COOKIE, $cookies); + curl_setopt($ch, CURLOPT_USERAGENT, $this->UserAgent); + curl_setopt($ch, CURLOPT_REFERER, $ref == 0 ? $url : $ref); + curl_setopt($ch, CURLOPT_HTTPHEADER, $head); + if($header == -1){ + curl_setopt($ch, CURLOPT_HEADER, 1); + curl_setopt($ch, CURLOPT_NOBODY, 1); + } + else curl_setopt($ch, CURLOPT_HEADER, $header); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + if ($post) { + curl_setopt($ch, CURLOPT_POST, 1); + curl_setopt($ch, CURLOPT_POSTFIELDS, $post); + } + if ($this->proxy != false) { + if(strpos($this->proxy, "|")) { + list($ip, $auth) = explode("|", $this->proxy); + curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1); + curl_setopt($ch, CURLOPT_PROXYUSERPWD, $auth); + } + else $ip = $this->proxy; + curl_setopt($ch, CURLOPT_PROXYTYPE, 'HTTP'); + curl_setopt($ch, CURLOPT_PROXY, $ip); + } + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); + curl_setopt($ch, CURLOPT_TIMEOUT, 30); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20); + curl_setopt($ch, CURLOPT_FOLLOWLOCATION, FALSE); + curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:')); + $page = curl_exec($ch); + curl_close($ch); + return $page; + } + + function cut_str($str, $left, $right) + { + $str = substr(stristr($str, $left) , strlen($left)); + $leftLen = strlen(stristr($str, $right)); + $leftLen = $leftLen ? -($leftLen) : strlen($str); + $str = substr($str, 0, $leftLen); + return $str; + } + + function GetCookies($content) + { + preg_match_all('/Set-Cookie: (.*);/U',$content,$temp); + $cookie = $temp[1]; + $cookies = ""; + $a = array(); + foreach($cookie as $c){ + $pos = strpos($c, "="); + $key = substr($c, 0, $pos); + $val = substr($c, $pos+1); + $a[$key] = $val; + } + foreach($a as $b => $c){ + $cookies .= "{$b}={$c}; "; + } + return $cookies; + } + + function GetAllCookies($page) + { + $lines = explode("\n", $page); + $retCookie = ""; + foreach($lines as $val) { + preg_match('/Set-Cookie: (.*)/', $val, $temp); + if (isset($temp[1])) { + if ($cook = substr($temp[1], 0, stripos($temp[1], ';'))) $retCookie.= $cook . ";"; + } + } + + return $retCookie; + } + + function mf_str_conv($str_or) + { + $str_or = stripslashes($str_or); + if (!preg_match("/unescape\(\W([0-9a-f]+)\W\);\w+=([0-9]+);[^\^]+\)([0-9\^]+)?\)\);eval/", $str_or, $match)) return $str_or; + $match[3] = $match[3] ? $match[3] : ""; + $str_re = ""; + for ($i = 0; $i < $match[2]; $i++) { + $c = HexDec(substr($match[1], $i * 2, 2)); + eval("\$c = \$c" . $match[3] . ";"); + $str_re.= chr($c); + } + + $str_re = str_replace($match[0], stripslashes($str_re) , $str_or); + if (preg_match("/unescape\(\W([0-9a-f]+)\W\);\w+=([0-9]+);[^\^]+\)([0-9\^]+)?\)\);eval/", $str_re, $dummy)) $str_re = $this->mf_str_conv($str_re); + return $str_re; + } + + function main() + { + if ($this->get_load() > $this->max_load) { + echo '
' . $this->lang['svload'] . '
'; + return; + } + + if (isset($_POST['urllist'])) { + $url = $_POST['urllist']; + $url = str_replace("\r", "", $url); + $url = str_replace("\n", "", $url); + $url = str_replace("<", "", $url); + $url = str_replace(">", "", $url); + $url = str_replace(" ", "", $url); + } + + if (isset($url) && strlen($url) > 10) { + if (substr($url, 0, 4) == 'www.') $url = "http://" . $url; + if (!$this->check3x) { + if (stristr($url, 'mega.co.nz')) $dlhtml = $this->mega($url); + else $dlhtml = $this->get($url); + } + else { + + // ################## CHECK 3X ######################### + + $check3x = false; + if (strpos($url, "|not3x")) $url = str_replace("|not3x", "", $url); + else { + $data = strtolower($this->google($url)); + if(strlen($data) > 1){ + foreach($this->badword as $bad){ + if(stristr($data, " {$bad}") || stristr($data, "_{$bad}") || stristr($data, ".{$bad}") || stristr($data, "-{$bad}")){ + $check3x = $bad; + break; + } + } + } + } + + if ($check3x == false) { + if (stristr($url, 'mega.co.nz')) $dlhtml = $this->mega($url); + else $dlhtml = $this->get($url); + } + else { + $dlhtml = printf($this->lang['issex'], $url); + unset($check3x); + } + // ################## CHECK 3X ######################### + + } + } + else $dlhtml = "" . $url . " errorlink " . $this->lang['errorlink'] . "
"; + echo $dlhtml; + } + + function google($q){ + $q = urldecode($q); + $q = str_replace(' ', '+', $q); + $oldagent = $this->UserAgent; + $this->UserAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia 800)"; + $data = $this->curl("http://www.google.com/search?q={$q}&hl=en", '', '', 0); + $this->UserAgent = $oldagent; + $parsing = $this->cut_str($data, '
    ', '
'); + $new = "
    {$parsing}
"; + $new = str_replace('
  1. ', "", $new); + $new = str_replace('
  2. ', "\n\n\n", $new); + $new = str_replace('
', "", $new); + $new = preg_replace ('%]+>|%s', "", $new); + $new = preg_replace ('%|%s', "", $new); + $new = preg_replace ('%

|

%s', "", $new); + $new = preg_replace ('%
[^<]+
%s', " ", $new); + $new = str_replace(' ...', "", $new); + $new = strip_tags($new); + $new = str_replace('‎', '', $new); + $new = str_replace('', '', $new); + $new = htmlspecialchars_decode($new); + return $new; + } + + function getsize($link, $cookie=""){ + $size_name = Tools_get::size_name($link, $cookie=="" ? $this->cookie : $cookie); + return $size_name[0]; + } + + function getname($link, $cookie=""){ + $size_name = Tools_get::size_name($link, $cookie=="" ? $this->cookie : $cookie); + return $size_name[1]; + } + + function get($url) + { + $this->reserved = array(); + $this->CheckMBIP(); + $dlhtml = ''; + if (count($this->jobs) >= $this->max_jobs) { + $this->error1('manyjob'); + } + if ($this->countMBIP >= $this->limitMBIP) { + $this->error1('countMBIP', Tools_get::convertmb($this->limitMBIP * 1024 * 1024) , Tools_get::convert_time($this->ttl * 60) , Tools_get::convert_time($this->timebw)); + } + /* check 1 */ + $checkjobs = $this->Checkjobs(); + $heute = $checkjobs[0]; + $lefttime = $checkjobs[1]; + if ($heute >= $this->limitPERIP) { + $this->error1('limitPERIP', $this->limitPERIP, Tools_get::convert_time($this->ttl_ip * 60) , $lefttime); + } + /* /check 1 */ + if ($this->lookup_ip($_SERVER['REMOTE_ADDR']) >= $this->max_jobs_per_ip) { + $this->error1('limitip'); + } + + $url = trim($url); + + if (empty($url)) return; + $Original = $url; + $link = ''; + $cookie = ''; + $report = false; + + if (!$link) { + $site = $this->using; + $this->proxy = isset($this->acc[$site]['proxy']) ? $this->acc[$site]['proxy'] : false; + $this->proxy = isset($this->prox) ? $this->prox : false; + if($this->get_account($site) != ""){ + require_once ('hosts/' . $this->list_host[$site]['file']); + $download = new $this->list_host[$site]['class']($this, $this->list_host[$site]['site']); + $link = $download->General($url); + } + } + + if (!$link) { + $domain = str_replace("www.", "", $this->cut_str($Original, "://", "/")); + if(strpos($domain, "1fichier.com")) $domain = "1fichier.com"; + if(strpos($domain, "letitbit.net")) $domain = "letitbit.net"; + if(strpos($domain, "shareflare.net")) $domain = "shareflare.net"; + if(isset($this->list_host[$domain])){ + require_once ('hosts/' . $this->list_host[$domain]['file']); + $download = new $this->list_host[$domain]['class']($this, $this->list_host[$domain]['site']); + $site = $this->list_host[$domain]['site']; + $this->proxy = isset($this->acc[$site]['proxy']) ? $this->acc[$site]['proxy'] : false; + $this->proxy = isset($this->prox) ? $this->prox : false; + $link = $download->General($url); + } + } + + if (!$link) { + $this->proxy = isset($this->acc[$site]['proxy']) ? $this->acc[$site]['proxy'] : false; + $this->proxy = isset($this->prox) ? $this->prox : false; + $size_name = Tools_get::size_name($Original, ""); + $filesize = $size_name[0]; + $filename = $size_name[1]; + $this->max_size = $this->max_size_other_host; + if ($size_name[0] > 1024 * 100) $link = $url; + else $this->error2('notsupport', $Original); + } + else{ + $size_name = Tools_get::size_name($link, $this->cookie); + $filesize = $size_name[0]; + $filename = isset($this->reserved['filename']) ? $this->reserved['filename'] : $size_name[1]; + } + + $hosting = Tools_get::site_hash($Original); + if (!isset($filesize)) { + $this->error2('notsupport', $Original); + } + $this->max_size = $this->acc[$site]['max_size']; + if (!isset($this->max_size)) $this->max_size = $this->max_size_other_host; + $msize = Tools_get::convertmb($filesize); + $hash = md5($_SERVER['REMOTE_ADDR'] . $Original); + if ($hash === false) { + $this->error1('cantjob'); + } + + if ($filesize > $this->max_size * 1024 * 1024) { + $this->error2('filebig', $Original, $msize, Tools_get::convertmb($this->max_size * 1024 * 1024)); + } + + if (($this->countMBIP + $filesize / (1024 * 1024)) >= $this->limitMBIP) { + $this->error1('countMBIP', Tools_get::convertmb($this->limitMBIP * 1024 * 1024) , Tools_get::convert_time($this->ttl * 60) , Tools_get::convert_time($this->timebw)); + } + + /* check 2 */ + $checkjobs = $this->Checkjobs(); + $heute = $checkjobs[0]; + $lefttime = $checkjobs[1]; + if ($heute >= $this->limitPERIP) { + $this->error1('limitPERIP', $this->limitPERIP, Tools_get::convert_time($this->ttl_ip * 60) , $lefttime); + } + /* /check 2 */ + $job = array( + 'hash' => substr(md5($hash) , 0, 10) , + 'path' => substr(md5(rand()) , 0, 5) , + 'filename' => urlencode($filename) , + 'size' => $filesize, + 'msize' => $msize, + 'mtime' => time() , + 'speed' => 0, + 'url' => urlencode($Original) , + 'owner' => $this->owner, + 'ip' => $_SERVER['REMOTE_ADDR'], + 'type' => 'direct', + 'proxy' => $this->proxy == false ? 0 : $this->proxy, + 'directlink' => array( + 'url' => urlencode($link) , + 'cookies' => $this->cookie, + ) , + ); + $this->jobs[$hash] = $job; + $this->save_jobs(); + $tiam = time() . rand(0, 999); + $gach = explode('/', $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']); + $sv_name = ""; + for ($i = 0; $i < count($gach) - 1; $i++) $sv_name.= $gach[$i] . "/"; + if($this->acc[$site]['direct']) $linkdown = $link; + elseif($this->longurl){ + if(function_exists("apache_get_modules") && in_array('mod_rewrite',@apache_get_modules())) $linkdown = 'http://'.$sv_name.$hosting.'/'.$job['hash'].'/'.urlencode($filename); + else $linkdown = 'http://'.$sv_name.'index.php/'.$hosting.'/'.$job['hash'].'/'.urlencode($filename); + } + else $linkdown = 'http://'.$sv_name.'?file='.$job['hash']; + // #########Begin short link ############ // Short link by giaythuytinh176@rapidleech.com + if (empty($this->zlink) == true && empty($link) == false && empty($this->Googlzip) == false && empty($this->bitly) == true) { + $datalink = $this->Googlzip($linkdown); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->zlink) == true && empty($link) == false && empty($this->Googlzip) == true && empty($this->bitly) == false) { + $datalink = $this->bitly($linkdown); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->zlink) == false && empty($link) == false) { + if (empty($this->Googlzip) == true && empty($this->bitly) == true) { + if (empty($this->link_zip) == false) { + if (empty($this->link_rutgon) == true) { + $datalink = $this->curl($this->link_zip . $linkdown, '', '', 0); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $apizip2 = $this->curl($this->link_rutgon . $apizip, '', '', 0); + if (preg_match('%(http:\/\/.++)%U', $apizip2, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + elseif (empty($this->link_zip) == true) { + if (empty($this->link_rutgon) == true) { + $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $datalink = $this->curl($this->link_rutgon . $linkdown, '', '', 0); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + } + elseif (empty($this->Googlzip) == false && empty($this->bitly) == true) { + if (empty($this->link_zip) == false) { + if (empty($this->link_rutgon) == true) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $datalink = $this->Googlzip($apizip); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $apizip2 = $this->curl($this->link_rutgon . $apizip, '', '', 0); + $datalink = $this->Googlzip($apizip2); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + elseif (empty($this->link_zip) == true) { + if (empty($this->link_rutgon) == true) { + $datalink = $this->Googlzip($linkdown); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_rutgon . $linkdown, '', '', 0); + $datalink = $this->Googlzip($apizip); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + } + elseif (empty($this->Googlzip) == true && empty($this->bitly) == false) { + if (empty($this->link_zip) == false) { + if (empty($this->link_rutgon) == true) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $datalink = $this->bitly($apizip); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $apizip2 = $this->curl($this->link_rutgon . $apizip, '', '', 0); + $datalink = $this->bitly($apizip2); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + elseif (empty($this->link_zip) == true) { + if (empty($this->link_rutgon) == true) { + $datalink = $this->bitly($linkdown); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_rutgon . $linkdown, '', '', 0); + $datalink = $this->bitly($apizip); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + } + } + // ########### End short link ########## + else $lik = $linkdown; + + if($this->bbcode){ + if($this->proxy != false && $this->redirdl == true) { + if(strpos($this->proxy, "|")){ + list($prox, $userpass) = explode("|", $this->proxy); + list($ip, $port) = explode(":", $prox); + list($user, $pass) = explode(":", $userpass); + } + else list($ip, $port) = explode(":", $this->proxy); + echo ""; + echo "
"; + } + else { + echo ""; + echo "
"; + } + } + $dlhtml = " " . $filename . " ($msize) ".($this->directdl && !$this->acc[$site]['direct'] ? "Direct " : ""). "" .($this->proxy != false ? "({$this->proxy})" : ""). "".(($this->proxy != false && $this->redirdl == true) ? "
You must add proxy or you can not download this link" : ""); + return $dlhtml; + } + + function mega($url) + { + $this->reserved = array(); + $this->CheckMBIP(); + $dlhtml = ''; + if (count($this->jobs) >= $this->max_jobs) { + $this->error1('manyjob'); + } + if ($this->countMBIP >= $this->limitMBIP) { + $this->error1('countMBIP', Tools_get::convertmb($this->limitMBIP * 1024 * 1024) , Tools_get::convert_time($this->ttl * 60) , Tools_get::convert_time($this->timebw)); + } + /* check 1 */ + $checkjobs = $this->Checkjobs(); + $heute = $checkjobs[0]; + $lefttime = $checkjobs[1]; + if ($heute >= $this->limitPERIP) { + $this->error1('limitPERIP', $this->limitPERIP, Tools_get::convert_time($this->ttl_ip * 60) , $lefttime); + } + /* /check 1 */ + if ($this->lookup_ip($_SERVER['REMOTE_ADDR']) >= $this->max_jobs_per_ip) { + $this->error1('limitip'); + } + + $url = trim($url); + + if (empty($url)) return; + $Original = $url; + $link = ''; + $cookie = ''; + $report = false; + + $megafile = new MEGA(urldecode($url)); + + $info = $megafile->file_info(); + + $link = $info['binary_url']; + + $filesize = $info['size']; + $filename = isset($this->reserved['filename']) ? $this->reserved['filename'] : Tools_get::convert_name($info['attr']['n']); + + $hosting = Tools_get::site_hash($Original); + if (!isset($filesize)) { + $this->error2('notsupport', $Original); + } + $this->max_size = $this->acc[$site]['max_size']; + if (!isset($this->max_size)) $this->max_size = $this->max_size_other_host; + $msize = Tools_get::convertmb($filesize); + $hash = md5($_SERVER['REMOTE_ADDR'] . $Original); + if ($hash === false) { + $this->error1('cantjob'); + } + + if ($filesize > $this->max_size * 1024 * 1024) { + $this->error2('filebig', $Original, $msize, Tools_get::convertmb($this->max_size * 1024 * 1024)); + } + + if (($this->countMBIP + $filesize / (1024 * 1024)) >= $this->limitMBIP) { + $this->error1('countMBIP', Tools_get::convertmb($this->limitMBIP * 1024 * 1024) , Tools_get::convert_time($this->ttl * 60) , Tools_get::convert_time($this->timebw)); + } + + /* check 2 */ + $checkjobs = $this->Checkjobs(); + $heute = $checkjobs[0]; + $lefttime = $checkjobs[1]; + if ($heute >= $this->limitPERIP) { + $this->error1('limitPERIP', $this->limitPERIP, Tools_get::convert_time($this->ttl_ip * 60) , $lefttime); + } + /* /check 2 */ + $job = array( + 'hash' => "mega_".substr(md5($hash) , 0, 10) , + 'path' => substr(md5(rand()) , 0, 5) , + 'filename' => urlencode($filename) , + 'size' => $filesize, + 'msize' => $msize, + 'mtime' => time() , + 'speed' => 0, + 'url' => urlencode($Original) , + 'owner' => $this->owner, + 'ip' => $_SERVER['REMOTE_ADDR'], + 'type' => 'direct', + 'proxy' => 0, + 'directlink' => array( + 'url' => urlencode($link) , + 'cookies' => $this->cookie, + ) , + ); + $this->jobs[$hash] = $job; + $this->save_jobs(); + $tiam = time() . rand(0, 999); + $gach = explode('/', $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']); + $sv_name = ""; + for ($i = 0; $i < count($gach) - 1; $i++) $sv_name.= $gach[$i] . "/"; + if($this->acc[$site]['direct']) $linkdown = $link; + elseif($this->longurl){ + if(function_exists("apache_get_modules") && in_array('mod_rewrite',@apache_get_modules())) $linkdown = 'http://'.$sv_name.$hosting.'/'.$job['hash'].'/'.urlencode($filename); + else $linkdown = 'http://'.$sv_name.'index.php/'.$hosting.'/'.$job['hash'].'/'.urlencode($filename); + } + else $linkdown = 'http://'.$sv_name.'?file='.$job['hash']; + // #########Begin short link ############ // Short link by giaythuytinh176@rapidleech.com + if (empty($this->zlink) == true && empty($link) == false && empty($this->Googlzip) == false && empty($this->bitly) == true) { + $datalink = $this->Googlzip($linkdown); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->zlink) == true && empty($link) == false && empty($this->Googlzip) == true && empty($this->bitly) == false) { + $datalink = $this->bitly($linkdown); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->zlink) == false && empty($link) == false) { + if (empty($this->Googlzip) == true && empty($this->bitly) == true) { + if (empty($this->link_zip) == false) { + if (empty($this->link_rutgon) == true) { + $datalink = $this->curl($this->link_zip . $linkdown, '', '', 0); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $apizip2 = $this->curl($this->link_rutgon . $apizip, '', '', 0); + if (preg_match('%(http:\/\/.++)%U', $apizip2, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + elseif (empty($this->link_zip) == true) { + if (empty($this->link_rutgon) == true) { + $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $datalink = $this->curl($this->link_rutgon . $linkdown, '', '', 0); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + } + elseif (empty($this->Googlzip) == false && empty($this->bitly) == true) { + if (empty($this->link_zip) == false) { + if (empty($this->link_rutgon) == true) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $datalink = $this->Googlzip($apizip); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $apizip2 = $this->curl($this->link_rutgon . $apizip, '', '', 0); + $datalink = $this->Googlzip($apizip2); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + elseif (empty($this->link_zip) == true) { + if (empty($this->link_rutgon) == true) { + $datalink = $this->Googlzip($linkdown); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_rutgon . $linkdown, '', '', 0); + $datalink = $this->Googlzip($apizip); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + } + elseif (empty($this->Googlzip) == true && empty($this->bitly) == false) { + if (empty($this->link_zip) == false) { + if (empty($this->link_rutgon) == true) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $datalink = $this->bitly($apizip); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_zip . $linkdown, '', '', 0); + $apizip2 = $this->curl($this->link_rutgon . $apizip, '', '', 0); + $datalink = $this->bitly($apizip2); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + elseif (empty($this->link_zip) == true) { + if (empty($this->link_rutgon) == true) { + $datalink = $this->bitly($linkdown); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + elseif (empty($this->link_rutgon) == false) { + $apizip = $this->curl($this->link_rutgon . $linkdown, '', '', 0); + $datalink = $this->bitly($apizip); + if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); + else $lik = $linkdown; + } + } + } + } + // ########### End short link ########## + else $lik = $linkdown; + + if($this->bbcode){ + echo ""; + echo "
"; + } + $dlhtml = " " . $filename . " ($msize) "; + return $dlhtml; + } + + function datecmp($a, $b) + { + return ($a[1] < $b[1]) ? 1 : 0; + } + + function fulllist() + { + $act = ""; + if ($this->act['delete'] == true) { + $act.= ''; + } + + if ($this->act['rename'] == true) { + $act.= ''; + } + + if ($act != "") { + if ((isset($_POST['checkbox'][0]) && $_POST['checkbox'][0] != null) || isset($_POST['renn']) || isset($_POST['remove'])) { + echo '
'; + switch ($_POST['option']) { + case 'del': + $this->deljob(); + break; + + case 'ren': + $this->renamejob(); + break; + } + + if (isset($_POST['renn'])) $this->renamejob(); + if (isset($_POST['remove'])) $this->deljob(); + echo "

"; + } + } + else echo ''; + $files = array(); + foreach($this->jobs as $job) { + if ($job['owner'] != $this->owner && $this->privatef == true) continue; + $files[] = array( + urldecode($job['url']) , + $job['mtime'], + $job['hash'], + urldecode($job['filename']) , + $job['size'], + $job['ip'], + $job['msize'], + urldecode($job['directlink']['url']) , + $job['proxy'] + ); + } + + if (count($files) == 0) { + echo "
" . $this->lang['notfile'] . "
[" . $this->lang['main'] . "]
"; + return; + } + + echo ""; + echo "
{$this->lang['checkall']} | {$this->lang['uncheckall']} | {$this->lang['invert']}

"; + echo "
'; + echo '
'.($this->directdl ? '' : '').' + '; + usort($files, array( + $this, + 'datecmp' + )); + $data = ""; + foreach($files as $file) { + $timeago = Tools_get::convert_time(time() - $file[1]) . " " . $this->lang['ago']; + if (strlen($file[3]) > 80) $file[3] = substr($file[3], 0, 70); + $hosting = substr(Tools_get::site_hash($file[0]) , 0, 15); + if($this->longurl){ + if(function_exists("apache_get_modules") && in_array('mod_rewrite',@apache_get_modules())) $linkdown = Tools_get::site_hash($file[0])."/$file[2]/$file[3]"; + else $linkdown = 'index.php/'.Tools_get::site_hash($file[0])."/$file[2]/$file[3]"; + } + else $linkdown = '?file='.$file[2]; + $data.= " + + + ".($this->showlinkdown ? "" : "" )." + ".($this->directdl ? "" : "")." + + + + "; + } + + $this->CheckMBIP(); + echo $data; + $totalall = Tools_get::convertmb($this->totalMB * 1024 * 1024); + $MB1IP = Tools_get::convertmb($this->countMBIP * 1024 * 1024); + $thislimitMBIP = Tools_get::convertmb($this->limitMBIP * 1024 * 1024); + $timereset = Tools_get::convert_time($this->ttl * 60); + if($this->config['showdirect'] == true) + echo "
 ' . $this->lang['name'] . ''.$this->lang['direct'].'' . $this->lang['original'] . '' . $this->lang['size'] . '' . $this->lang['date'] . 'IP
$file[3]" . ($file[8] != 0 ? "
({$file[8]})" : "") . "
$file[3]" . $hosting . "" . $hosting . "" . $file[6] . "$timeago".$file[5]."
 " . $this->lang['total'] . ":$totalall 
+
" . $this->lang['used'] . " $MB1IP/$thislimitMBIP - " . $this->lang['reset'] . " $timereset.

"; + + else echo " " . $this->lang['total'] . ":$totalall  +
" . $this->lang['used'] . " $MB1IP/$thislimitMBIP - " . $this->lang['reset'] . " $timereset.

"; + } + + function deljob() + { + if ($this->act['delete'] == false) return; + if (isset($_POST['checkbox'])) { + echo "
"; + for ($i = 0; $i < count($_POST['checkbox']); $i++) { + $temp = explode("+++", $_POST['checkbox'][$i]); + $ftd = $temp[0]; + $name = $temp[1]; + echo "
$name "; + echo ''; + echo ''; + } + + echo "

 

"; + } + + if (isset($_POST['remove'])) { + echo "
"; + for ($i = 0; $i < count($_POST['ftd']); $i++) { + $ftd = $_POST['ftd'][$i]; + $name = $_POST['name'][$i]; + $key = ""; + foreach($this->jobs as $url => $job) { + if ($job['hash'] == $ftd) { + $key = $url; + break; + } + } + + if ($key) { + unset($this->jobs[$key]); + echo "
File: $name " . $this->lang['deld']; + } + else echo "
File: $name " . $this->lang['notfound']; + echo "
"; + } + + echo "
"; + $this->save_jobs(); + } + + if (isset($_POST['Cancel'])) { + $this->fulllist(); + } + } + + function renamejob() + { + if ($this->act['rename'] == false) return; + if (isset($_POST['checkbox'])) { + echo ""; + for ($i = 0; $i < count($_POST['checkbox']); $i++) { + $temp = explode("+++", $_POST['checkbox'][$i]); + $name = $temp[1]; + echo "
$name "; + echo ''; + echo ''; + echo '
' . $this->lang['nname'] . ':
'; + } + + echo "
 

"; + } + + if (isset($_POST['renn'])) { + for ($i = 0; $i < count($_POST['name']); $i++) { + $orname = $_POST['name'][$i]; + $hash = $_POST['hash'][$i]; + $nname = $_POST['nname'][$i]; + $nname = Tools_get::convert_name($nname); + $nname = str_replace($this->banned, '', $nname); + if ($nname == "") { + echo "
" . $this->lang['bname'] . "

"; + return; + } + else { + echo "
"; + $key = ""; + foreach($this->jobs as $url => $job) { + if ($job['hash'] == $hash) { + $key = $url; + + // $hash = $this->create_hash($key,$nname); + + $jobn = array( + 'hash' => $job['hash'], + 'path' => $job['path'], + 'filename' => urlencode($nname) , + 'size' => $job['size'], + 'msize' => $job['msize'], + 'mtime' => $job['mtime'], + 'speed' => 0, + 'url' => $job['url'], + 'owner' => $job['owner'], + 'ip' => $job['ip'], + 'type' => 'direct', + 'directlink' => array( + 'url' => $job['directlink']['url'], + 'cookies' => $job['directlink']['cookies'], + ) , + ); + } + } + + if ($key) { + $this->jobs[$key] = $jobn; + $this->save_jobs(); + echo "File $orname " . $this->lang['rnameto'] . " $nname"; + } + else echo "File $orname " . $this->lang['notfound']; + echo "

"; + } + } + } + + if (isset($_POST['Cancel'])) { + $this->fulllist(); + } + } + function error1($msg, $a = "", $b = "", $c = "", $d = ""){ + if(isset($this->lang[$msg])) $msg = sprintf($this->lang[$msg], $a, $b, $c, $d); + $msg = sprintf($this->lang["error1"], $msg); + die($msg); + } + function error2($msg, $a = "", $b = "", $c = "", $d = ""){ + if(isset($this->lang[$msg])) $msg = sprintf($this->lang[$msg], $b, $c, $d); + $msg = sprintf($this->lang["error2"], $msg, $a); + die($msg); + } + function Googlzip($longUrl) + { + $GoogleApiKey = $this->googlapikey; //Get API key from : https://code.google.com/apis/console/ + $postData = array( + 'longUrl' => $longUrl, + 'key' => $GoogleApiKey, + ); + $curlObj = curl_init(); + curl_setopt($curlObj, CURLOPT_URL, "https://www.googleapis.com/urlshortener/v1/url?key={$GoogleApiKey}"); + curl_setopt($curlObj, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, 0); + curl_setopt($curlObj, CURLOPT_HEADER, 0); + curl_setopt($curlObj, CURLOPT_HTTPHEADER, array('Content-type:application/json')); + curl_setopt($curlObj, CURLOPT_POST, 1); + curl_setopt($curlObj, CURLOPT_POSTFIELDS, json_encode($postData)); + $response = curl_exec($curlObj); + $json = json_decode($response, true); + curl_close($curlObj); + return $json['id']; + } + function bitly($url, $format='txt') + { + $login = $this->BitLylogin; + $apikey = $this->BitLyApi; + $data = $this->curl("http://api.bit.ly/v3/shorten?login={$login}&apiKey={$apikey}&uri=".urlencode($url)."&format={$format}", "", ""); + return $data; + } + // Credit to France10s + function wrong_proxy($proxy) + { + if(strpos($proxy, "|")){ + list($prox, $userpass) = explode("|", $proxy); + list($ip, $port) = explode(":", $prox); + list($user, $pass) = explode(":", $userpass); + } + else list($ip, $port) = explode(":", $proxy); + die('You must add this proxy to IDM '.(strpos($proxy, "|") ? 'IP: '.$ip.' Port: '.$port.' User: '.$user.' & Pass: '.$pass.'' : 'IP: '.$ip.' Port: '.$port.'').'
You must add this proxy to IDM ('.(strpos($proxy, "|") ? 'IP: '.$ip.' Port: '.$port.' User: '.$user.' and Pass: '.$pass.'' : 'IP: '.$ip.' Port: '.$port.'').')
PLEASE REMEMBER: IF YOU DO NOT ADD THE PROXY, YOU CAN NOT DOWNLOAD THIS LINK!

Open IDM > Downloads > Options.


Proxy/Socks > Choose "Use Proxy" > Add proxy server: '.$ip.', port: '.$port.' '.(strpos($proxy, "|") ? ', username: '.$user.' and password: '.$pass.'' : '').' > Choose http > OK.
'.(strpos($proxy, "|") ? '' : '').'

Copy your link > Paste in IDM > OK.


It will work > Start Download > Enjoy!
'); + } +} + +// #################################### End class stream_get ################################### +// #################################### Begin class Tools_get ################################### + +class Tools_get extends getinfo + +{ + function useronline() + { + $data = @file_get_contents($this->fileinfo_dir . "/online.dat"); + $online = @json_decode($data, true); + if (!is_array($online)) { + $online = array(); + $data = 'vng'; + } + + $online[$_SERVER['REMOTE_ADDR']] = time(); + + // ## clean jobs ### + + $oldest = time() - 45; + foreach($online as $ip => $time) { + if ($time < $oldest) unset($online[$ip]); + } + + // ## clean jobs ### + + /*-------------- save --------------*/ + $tmp = json_encode($online); + if ($tmp !== $data) { + $data = $tmp; + $fh = fopen($this->fileinfo_dir . "/online.dat", 'w') or die('
Could not open file ! Try to chmod the folder "' . $this->fileinfo_dir . '" to 777
'); + fwrite($fh, $data) or die('
Could not write file ! Try to chmod the folder "' . $this->fileinfo_dir . '" to 777
'); + fclose($fh); + @chmod($this->fileinfo_dir . "/online.dat", 0666); + } + + /*-------------- /save --------------*/ + return count($online); + } + + function size_name($link, $cookie) + { + if (!$link || !stristr($link, 'http')) return; + $link = str_replace(" ", "%20", $link); + $port = 80; + $schema = parse_url(trim($link)); + $host = $schema['host']; + $scheme = "http://"; + if (empty($schema['path'])) return; + $gach = explode("/", $link); + list($path1, $path) = explode($gach[2], $link); + if (isset($schema['port'])) $port = $schema['port']; + elseif ($schema['scheme'] == 'https') { + $scheme = "ssl://"; + $port = 443; + } + + if ($scheme != "ssl://") { + $scheme = ""; + } + $errno = 0; + $errstr = ""; + $hosts = $scheme . $host . ':' . $port; + if($this->proxy != 0){ + if(strpos($this->proxy, "|")){ + list($ip, $user) = explode("|", $this->proxy); + $auth = base64_encode($user); + } + else $ip = $this->proxy; + $data = "GET {$link} HTTP/1.1\r\n"; + if(isset($auth)) $data.= "Proxy-Authorization: Basic $auth\r\n"; + $fp = @stream_socket_client("tcp://{$ip}", $errno, $errstr, 20, STREAM_CLIENT_CONNECT); + } + else { + $data = "GET {$path} HTTP/1.1\r\n"; + $fp = @stream_socket_client($hosts, $errno, $errstr, 20, STREAM_CLIENT_CONNECT); + } + $data.= "User-Agent: " . $this->UserAgent . "\r\n"; + $data.= "Host: {$host}\r\n"; + $data.= $cookie ? "Cookie: $cookie\r\n" : ''; + $data.= "Connection: Close\r\n\r\n"; + if (!$fp) return -1; + fputs($fp, $data); + fflush($fp); + $header = ""; + do { + if (!$header) { + $header.= fgets($fp, 8192); + if (!stristr($header, "HTTP/1")) break; + } + else $header.= fgets($fp, 8192); + } + + while (strpos($header, "\r\n\r\n") === false); + if (stristr($header, "TTP/1.0 200 OK") || stristr($header, "TTP/1.1 200 OK") || stristr($header, "TTP/1.1 206")) $filesize = trim($this->cut_str($header, "Content-Length:", "\n")); + else $filesize = - 1; + if (!is_numeric($filesize)) $filesize = - 1; + $filename = ""; + if (stristr($header, "filename")) { + $filename = trim($this->cut_str($header, "filename", "\n")); + } + else $filename = substr(strrchr($link, '/') , 1); + $filename = self::convert_name($filename); + return array( + $filesize, + $filename + ); + } + + function site_hash($url) + { + if (strpos($url, "4shared.com")) $site = "4S"; + elseif (strpos($url, "asfile.com")) $site = "AS"; + elseif (strpos($url, "bitshare.com")) $site = "BS"; + elseif (strpos($url, "depositfiles.com") || strpos($url, "dfiles.eu")) $site = "DF"; + elseif (strpos($url, "extabit.com")) $site = "EB"; + elseif (strpos($url, "filefactory.com")) $site = "FF"; + elseif (strpos($url, "filepost.com")) $site = "FP"; + elseif (strpos($url, "hotfile.com")) $site = "HF"; + elseif (strpos($url, "lumfile.com")) $site = "LF"; + elseif (strpos($url, "mediafire.com")) $site = "MF"; + elseif (strpos($url, "megashares.com")) $site = "MS"; + elseif (strpos($url, "netload.in")) $site = "NL"; + elseif (strpos($url, "rapidgator.net")) $site = "RG"; + elseif (strpos($url, "ryushare.com")) $site = "RY"; + elseif (strpos($url, "turbobit.net")) $site = "TB"; + elseif (strpos($url, "uploaded.to") || strpos($url, "ul.to") || strpos($url, "uploaded.net")) $site = "UT"; + elseif (strpos($url, "uploading.com")) $site = "UP"; + elseif (strpos($url, "1fichier.com")) $site = "1F"; + elseif (strpos($url, "rapidshare.com")) $site = "RS"; + elseif (strpos($url, "fshare.vn")) $site = "FshareVN"; + elseif (strpos($url, "up.4share.vn") || strpos($url, "4share.vn")) $site = "4ShareVN"; + elseif (strpos($url, "share.vnn.vn")) $site = "share.vnn.vn"; + elseif (strpos($url, "upfile.vn")) $site = "UpfileVN"; + elseif (strpos($url, "mega.co.nz")) $site = "MEGA"; + else { + $schema = parse_url($url); + $site = preg_replace("/(www\.|\.com|\.net|\.biz|\.info|\.org|\.us|\.vn|\.jp|\.fr|\.in|\.to)/", "", $schema['host']); + } + + return $site; + } + + function convert($filesize) + { + $filesize = str_replace(",", ".", $filesize); + if (preg_match('/^([0-9]{1,4}+(\.[0-9]{1,2})?)/', $filesize, $value)) { + if (stristr($filesize, "TB")) $value = $value[1] * 1024 * 1024 * 1024 * 1024; + elseif (stristr($filesize, "GB")) $value = $value[1] * 1024 * 1024 * 1024; + elseif (stristr($filesize, "MB")) $value = $value[1] * 1024 * 1024; + elseif (stristr($filesize, "KB")) $value = $value[1] * 1024; + else $value = $value[1]; + } + else $value = 0; + return $value; + } + + function convertmb($filesize) + { + if (!is_numeric($filesize)) return $filesize; + $soam = false; + if ($filesize < 0) { + $filesize = abs($filesize); + $soam = true; + } + + if ($filesize >= 1024 * 1024 * 1024 * 1024) $value = ($soam ? "-" : "") . round($filesize / (1024 * 1024 * 1024 * 1024) , 2) . " TB"; + elseif ($filesize >= 1024 * 1024 * 1024) $value = ($soam ? "-" : "") . round($filesize / (1024 * 1024 * 1024) , 2) . " GB"; + elseif ($filesize >= 1024 * 1024) $value = ($soam ? "-" : "") . round($filesize / (1024 * 1024) , 2) . " MB"; + elseif ($filesize >= 1024) $value = ($soam ? "-" : "") . round($filesize / (1024) , 2) . " KB"; + else $value = ($soam ? "-" : "") . $filesize . " Bytes"; + return $value; + } + + function uft8html2utf8($s) + { + if (!function_exists('uft8html2utf8_callback')) { + function uft8html2utf8_callback($t) + { + $dec = $t[1]; + if ($dec < 128) { + $utf = chr($dec); + } + else + if ($dec < 2048) { + $utf = chr(192 + (($dec - ($dec % 64)) / 64)); + $utf.= chr(128 + ($dec % 64)); + } + else { + $utf = chr(224 + (($dec - ($dec % 4096)) / 4096)); + $utf.= chr(128 + ((($dec % 4096) - ($dec % 64)) / 64)); + $utf.= chr(128 + ($dec % 64)); + } + + return $utf; + } + } + + return preg_replace_callback('|&#([0-9]{1,});|', 'uft8html2utf8_callback', $s); + } + + function convert_name($filename) + { + $filename = urldecode($filename); + $filename = Tools_get::uft8html2utf8($filename); + $filename = preg_replace("/(\]|\[|\@|\"\;\?\=|\"|=|\*|UTF-8|\')/", "", $filename); + $filename = preg_replace("/(HTTP|http|WWW|www|\.html|\.htm)/i", "", $filename); + $filename = str_replace($this->banned, '.xxx', $filename); + if (empty($filename) == true) $filename = substr(md5(time() . $url) , 0, 10); + return $filename; + } + + function convert_time($time) + { + if ($time >= 86400) $time = round($time / (60 * 24 * 60) , 1) . " " . $this->lang['days']; + elseif (86400 > $time && $time >= 3600) $time = round($time / (60 * 60) , 1) . " " . $this->lang['hours']; + elseif (3600 > $time && $time >= 60) $time = round($time / 60, 1) . " " . $this->lang['mins']; + else $time = $time . " " . $this->lang['sec']; + return $time; + } +} +// #################################### End class Tools_get ##################################### + + +class Download { + public $last = false; + public function __construct ($lib, $site) { + $this->lib = $lib; + $this->site = $site; + } + + public function error($msg, $force = false, $delcookie = true, $type = 1){ + if(isset($this->lib->lang[$msg])) $msg = sprintf($this->lib->lang[$msg], $this->site, $this->url); + $msg = sprintf($this->lib->lang["error{$type}"], $msg, $this->url); + if($delcookie) $this->save(); + if($force || $this->last) die($msg); + } + + public function filter_cookie($cookie, $del = array('', '""', 'deleted')){ + $cookie = explode(";", $cookie); + $cookies = ""; + $a = array(); + foreach($cookie as $c){ + $delete = false; + $pos = strpos($c, "="); + $key = str_replace(" ", "", substr($c, 0, $pos)); + $val = substr($c, $pos+1); + foreach($del as $dul) { + if($val == $dul) $delete = true; + } + if(!$delete) $a[$key] = $val; + } + foreach($a as $b => $c){ + $cookies .= "{$b}={$c}; "; + } + return $cookies; + } + + public function save($cookies = "", $save = true){ + $cookie = $cookies != "" ? $this->filter_cookie(($this->lib->cookie ? $this->lib->cookie.";" : "").$cookies) : ""; + if($save) $this->lib->save_cookies($this->site, $cookie); + $this->lib->cookie = $cookie; + } + + public function exploder($del, $data, $i){ + $a = explode($del, $data); + return $a[$i]; + } + + public function isredirect($data){ + if (preg_match('/ocation: (.*)/',$data,$match)) { + $this->redirect = trim($match[1]); + return true; + } + else return false; + } + + public function getredirect($link, $cookie=""){ + $data = $this->lib->curl($link,$cookie,"",-1); + if (preg_match('/ocation: (.*)/',$data,$match)) $link = trim($match[1]); + $cookies = $this->lib->GetCookies($data); + if($cookies != "") $this->save($cookies); + return $link; + } + + public function parseForm($data){ + $post = array(); + if(preg_match_all('//U', $data, $matches)){ + foreach($matches[0] as $input){ + if(!stristr($input, "name=")) continue; + if(preg_match('/name=(".*"|\'.*\')/U', $input, $name)){ + $key = substr($name[1], 1, -1); + if(preg_match('/value=(".*"|\'.*\')/U', $input, $value)) $post[$key] = substr($value[1], 1, -1); + else $post[$key] = ""; + } + } + } + return $post; + } + + public function linkpassword($url){ + $password = ""; + if(strpos($url,"|")) { + $linkpass = explode('|', $url); + $url = $linkpass[0]; + $password = $linkpass[1]; + } + if (isset($_POST['password'])) $password = $_POST['password']; + return array($url, $password); + } + + public function forcelink($link, $a){ + $link = str_replace(" ", "%20", $link); + for($i=0;$i<$a;$i++){ + if($size = $this->lib->getsize($link, $this->lib->cookie) <= 0) { + $link = $this->getredirect($link, $this->lib->cookie); + } + else return $link; + } + $this->error("cantconnect", false, false); + return false; + } + + public function General($url){ + $this->url = $url; + $this->cookie = ""; + if($this->lib->acc[$this->site]['proxy'] != "") $this->lib->proxy = $this->lib->acc[$this->site]['proxy']; + if(method_exists($this, "PreLeech")) { + $this->PreLeech($this->url); + } + if(method_exists($this, "FreeLeech")) { + $link = $this->FreeLeech($this->url); + if($link) { + $link = $this->forcelink($link, 2); + if($link) return $link; + } + } + $maxacc = count($this->lib->acc[$this->site]['accounts']); + if($maxacc == 0) $this->error('noaccount', true); + for ($k=0; $k < $maxacc; $k++){ + $account = trim($this->lib->acc[$this->site]['accounts'][$k]); + if (stristr($account,':')) list($user, $pass) = explode(':',$account); + else $cookie = $account; + if(!empty($cookie) || (!empty($user) && !empty($pass))){ + for ($j=0; $j < 2; $j++){ + if(($maxacc-$k) == 1 && $j == 1) $this->last = true; + if(empty($cookie)) $cookie = $this->lib->get_cookie($this->site); + if(empty($cookie)) { + $cookie = false; + if(method_exists($this, "Login")) $cookie = $this->Login($user, $pass); + } + if(!$cookie) continue; + $this->save($cookie); + if(method_exists($this, "CheckAcc")) $status = $this->CheckAcc($this->lib->cookie); + else $status = array(true, "Without Acc Checker"); + if($status[0]){ + $link = false; + if(method_exists($this, "Leech")) $link = $this->Leech($this->url); + if($link) { + $link = $this->forcelink($link, 3); + if($link) return $link; + } + else $this->error('pluginerror'); + } + else{ + $this->error($status[1]); + } + } + } + } + return false; + } +} + +/** + * Mega.co.nz downloader + * Require mcrypt, curl + * @license GNU GPLv3 http://opensource.org/licenses/gpl-3.0.html + * @author ZonD80 + */ +class MEGA { + + private $seqno, $f; + + /** + * Class constructor + * @param string $file_hash File hash, coming after # in mega URL + */ + function __construct($file_hash) { + $this->seqno = 0; + $this->f = $this->mega_get_file_info($file_hash); + } + + function a32_to_str($hex) { + return call_user_func_array('pack', array_merge(array('N*'), $hex)); + } + + function aes_ctr_decrypt($data, $key, $iv) { + return mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $data, 'ctr', $iv); + } + + function base64_to_a32($s) { + return $this->str_to_a32($this->base64urldecode($s)); + } + + function base64urldecode($data) { + $data .= substr('==', (2 - strlen($data) * 3) % 4); + $data = str_replace(array('-', '_', ','), array('+', '/', ''), $data); + return base64_decode($data); + } + + function str_to_a32($b) { + // Add padding, we need a string with a length multiple of 4 + $b = str_pad($b, 4 * ceil(strlen($b) / 4), "\0"); + return array_values(unpack('N*', $b)); + } + + /** + * Handles query to mega servers + * @param array $req data to be sent to mega + * @return type + */ + function mega_api_req($req) { + + $ch = curl_init('https://g.api.mega.co.nz/cs?id=' . ($this->seqno++)/* . ($sid ? '&sid=' . $sid : '') */); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array($req))); + $resp = curl_exec($ch); + curl_close($ch); + $resp = json_decode($resp, true); + return $resp[0]; + } + + function aes_cbc_decrypt($data, $key) { + return mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $data, MCRYPT_MODE_CBC, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); + } + + function mega_dec_attr($attr, $key) { + $attr = trim($this->aes_cbc_decrypt($attr, $this->a32_to_str($key))); + if (substr($attr, 0, 6) != 'MEGA{"') { + return false; + } + return json_decode(substr($attr, 4), true); + } + + /** + * Downloads file from megaupload + * @param string $as_attachment Download file as attachment, default true + * @param string $local_path Save file to specified by $local_path folder + * @return boolean True + */ + function download($as_attachment = true, $local_path = null) { + $ch = curl_init($this->f['binary_url']); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + //curl_setopt($ch, CURLOPT_VERBOSE, true); + $data_enc = curl_exec($ch); + curl_close($ch); + $data = $this->aes_ctr_decrypt($data_enc, $this->a32_to_str($this->f['k']), $this->a32_to_str($this->f['iv'])); + if ($as_attachment) { + //die(var_dump($this->f['attr']['n'])); + header("Content-Disposition: attachment;filename=\"{$this->f['attr']['n']}\""); + header('Content-Description: File Transfer'); + header('Content-Type: application/octet-stream'); + header("Content-Transfer-Encoding: binary"); + header("Content-Length: " . $this->f['size']); + header('Pragma: no-cache'); + header('Expires: 0'); + print $data; + return true; + } else { + file_put_contents($local_path . DIRECTORY_SEPARATOR . $this->f['attr']['n'], $data); + return true; + } + /* $file_mac = cbc_mac($data, $k, $iv); + print "\nchecking mac\n"; + if (array($file_mac[0] ^ $file_mac[1], $file_mac[2] ^ $file_mac[3]) != $meta_mac) { + echo "MAC mismatch"; + } */ + } + + function get_chunks($size) { + $chunks = array(); + $p = $pp = 0; + + for ($i = 1; $i <= 8 && $p < $size - $i * 0x20000; $i++) { + $chunks[$p] = $i * 0x20000; + $pp = $p; + $p += $chunks[$p]; + } + + while ($p < $size) { + $chunks[$p] = 0x100000; + $pp = $p; + $p += $chunks[$p]; + } + + $chunks[$pp] = ($size - $pp); + if (!$chunks[$pp]) { + unset($chunks[$pp]); + } + + return $chunks; + } + + /** + * Downloads file from megaupload as a stream (useful if you want to implement megaupload proxy) + * @param string $as_attachment Download file as attachment, default true + * @param string $local_path Save file to specified by $local_path folder + * @return boolean True + */ + function stream_download($as_attachment = true, $local_path = null) { + + //$data = $this->aes_ctr_decrypt($data_enc, $this->a32_to_str($this->f['k']), $this->a32_to_str($this->f['iv'])); + if ($as_attachment) { + header("Content-Disposition: attachment;filename=\"{$this->f['attr']['n']}\""); + header('Content-Description: File Transfer'); + header('Content-Type: application/octet-stream'); + header("Content-Transfer-Encoding: binary"); + header("Content-Length: " . $this->f['size']); + header('Pragma: no-cache'); + header('Expires: 0'); + } else { + $destfile = fopen($local_path . DIRECTORY_SEPARATOR . $this->f['attr']['n'], 'wb'); + } + $cipher = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', 'ctr', ''); + + mcrypt_generic_init($cipher, $this->a32_to_str($this->f['k']), $this->a32_to_str($this->f['iv'])); + + $chunks = $this->get_chunks($this->f['size']); + + $protocol = parse_url($this->f['binary_url'], PHP_URL_SCHEME); + + $opts = array( + $protocol => array( + 'method' => 'GET' + ) + ); + + $context = stream_context_create($opts); + $stream = fopen($this->f['binary_url'], 'rb', false, $context); + + $info = stream_get_meta_data($stream); + $end = !$info['eof']; + foreach ($chunks as $length) { + + $bytes = strlen($buffer); + while ($bytes < $length && $end) { + $data = fread($stream, min(1024, $length - $bytes)); + $buffer .= $data; + + $bytes = strlen($buffer); + $info = stream_get_meta_data($stream); + $end = !$info['eof'] && $data; + } + + $chunk = substr($buffer, 0, $length); + $buffer = $bytes > $length ? substr($buffer, $length) : ''; + + $chunk = mdecrypt_generic($cipher, $chunk); + if ($as_attachment) { + print $chunk; + ob_flush(); + } + else + fwrite($destfile, $chunk); + } + + // Terminate decryption handle and close module + mcrypt_generic_deinit($cipher); + mcrypt_module_close($cipher); + fclose($stream); + if (!$as_attachment) + fclose($destfile); + + return true; + /* $file_mac = cbc_mac($data, $k, $iv); + print "\nchecking mac\n"; + if (array($file_mac[0] ^ $file_mac[1], $file_mac[2] ^ $file_mac[3]) != $meta_mac) { + echo "MAC mismatch"; + } */ + } + + private function mega_get_file_info($hash) { + preg_match('/\!(.*?)\!(.*)/', $hash, $matches); + $id = $matches[1]; + $key = $matches[2]; + $key = $this->base64_to_a32($key); + $k = array($key[0] ^ $key[4], $key[1] ^ $key[5], $key[2] ^ $key[6], $key[3] ^ $key[7]); + $iv = array_merge(array_slice($key, 4, 2), array(0, 0)); + $meta_mac = array_slice($key, 6, 2); + $info = $this->mega_api_req(array('a' => 'g', 'g' => 1, 'p' => $id)); + if (!$info['g']) die('No such file on mega. Maybe it was deleted.'); + return array('id' => $id, 'key' => $key, 'k' => $k, 'iv' => $iv, 'meta_mac' => $meta_mac, 'binary_url' => $info['g'], 'attr' => $this->mega_dec_attr($this->base64urldecode($info['at']), $k), 'size' => $info['s']); + } + + /** + * Returns file information + * @return array File information + */ + function file_info() { + return $this->f; + } + +} ?> \ No newline at end of file diff --git a/vinaget/vng270/config.php b/config.php similarity index 97% rename from vinaget/vng270/config.php rename to config.php index 04a6e41..c6fcf76 100644 --- a/vinaget/vng270/config.php +++ b/config.php @@ -1,45 +1,45 @@ - \ No newline at end of file diff --git a/vinaget/vng270/data/account.dat b/data/account.dat similarity index 100% rename from vinaget/vng270/data/account.dat rename to data/account.dat diff --git a/vinaget/vng270/data/config.dat b/data/config.dat similarity index 100% rename from vinaget/vng270/data/config.dat rename to data/config.dat diff --git a/vinaget/vng270/data/cookie.dat b/data/cookie.dat similarity index 100% rename from vinaget/vng270/data/cookie.dat rename to data/cookie.dat diff --git a/vinaget/vng270/data/files/index.php b/data/files/index.php similarity index 100% rename from vinaget/vng270/data/files/index.php rename to data/files/index.php diff --git a/vinaget/vng270/data/index.php b/data/index.php similarity index 100% rename from vinaget/vng270/data/index.php rename to data/index.php diff --git a/vinaget/vng270/data/log.txt b/data/log.txt similarity index 100% rename from vinaget/vng270/data/log.txt rename to data/log.txt diff --git a/vinaget/vng270/data/online.dat b/data/online.dat similarity index 100% rename from vinaget/vng270/data/online.dat rename to data/online.dat diff --git a/vinaget/vng270/debug.php b/debug.php similarity index 96% rename from vinaget/vng270/debug.php rename to debug.php index 5e7772f..edf59c5 100644 --- a/vinaget/vng270/debug.php +++ b/debug.php @@ -1,27 +1,27 @@ -Deny || !$obj->isadmin()) { - setcookie('msg', 'debug.php :: Access Violation'); - header('Location: index.php'); - ob_end_flush(); - exit; -} elseif (!empty($_REQUEST['link'])) { - if (!empty($_REQUEST['proxy'])) $obj->proxy = $_REQUEST['proxy']; - echo '
'.htmlspecialchars($obj->curl($_REQUEST['link'], (!empty($_REQUEST['cookie']) ? $_REQUEST['cookie'] : 0), (!empty($_REQUEST['post']) ? $_REQUEST['post'] : 0))) . '
'; -} else { - echo '





DEBUG RESULT

'; -} - -ob_end_flush(); - +Deny || !$obj->isadmin()) { + setcookie('msg', 'debug.php :: Access Violation'); + header('Location: index.php'); + ob_end_flush(); + exit; +} elseif (!empty($_REQUEST['link'])) { + if (!empty($_REQUEST['proxy'])) $obj->proxy = $_REQUEST['proxy']; + echo '
'.htmlspecialchars($obj->curl($_REQUEST['link'], (!empty($_REQUEST['cookie']) ? $_REQUEST['cookie'] : 0), (!empty($_REQUEST['post']) ? $_REQUEST['post'] : 0))) . '
'; +} else { + echo '





DEBUG RESULT

'; +} + +ob_end_flush(); + ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/.htaccess b/hosts/.htaccess similarity index 100% rename from vinaget/vng270/hosts/.htaccess rename to hosts/.htaccess diff --git a/vinaget/vng270/hosts/1fichier_com.php b/hosts/1fichier_com.php similarity index 96% rename from vinaget/vng270/hosts/1fichier_com.php rename to hosts/1fichier_com.php index 42d5f06..c488c28 100644 --- a/vinaget/vng270/hosts/1fichier_com.php +++ b/hosts/1fichier_com.php @@ -1,34 +1,34 @@ -lib->curl("http://www.1fichier.com/en/console/abo.pl", $cookie, ""); - if(stristr($data, "You are a premium user until")) return array(true, $this->lib->cut_str($data, "You are a premium user ",".")); - elseif(stristr($data, "You must be registered and logged in before subscribing")) return array(false, "accinvalid"); - else return array(false, "accfree"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("https://www.1fichier.com/en/login.pl", "", "mail={$user}&pass={$pass}<=on&Login=Login"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, "The requested file could not be found")) $this->error("dead", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* 1fichier Download Plugin -* Downloader Class By [FZ] -*/ +lib->curl("http://www.1fichier.com/en/console/abo.pl", $cookie, ""); + if(stristr($data, "You are a premium user until")) return array(true, $this->lib->cut_str($data, "You are a premium user ",".")); + elseif(stristr($data, "You must be registered and logged in before subscribing")) return array(false, "accinvalid"); + else return array(false, "accfree"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("https://www.1fichier.com/en/login.pl", "", "mail={$user}&pass={$pass}<=on&Login=Login"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, "The requested file could not be found")) $this->error("dead", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* 1fichier Download Plugin +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/1st-files_com.php b/hosts/1st-files_com.php similarity index 97% rename from vinaget/vng270/hosts/1st-files_com.php rename to hosts/1st-files_com.php index 3a526d7..eb63201 100644 --- a/vinaget/vng270/hosts/1st-files_com.php +++ b/hosts/1st-files_com.php @@ -1,49 +1,49 @@ -lib->curl("http://www.1st-files.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); - else if(stristr($data, 'Free member')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.1st-files.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false); - elseif(preg_match('@http:\/\/(\w+\.)?1st-files\.com\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); - } - if(stristr($data,'
Password: error("reportpass", true, false); - elseif(stristr($data,'>File Not Found<')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@http:\/\/(\w+\.)?1st-files\.com\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* 1st-files.com Download Plugin -* Downloader Class By [FZ] -* Download plugin by giaythuytinh176 [28.7.2013] -*/ +lib->curl("http://www.1st-files.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); + else if(stristr($data, 'Free member')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.1st-files.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false); + elseif(preg_match('@http:\/\/(\w+\.)?1st-files\.com\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); + } + if(stristr($data,'
Password: error("reportpass", true, false); + elseif(stristr($data,'>File Not Found<')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@http:\/\/(\w+\.)?1st-files\.com\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* 1st-files.com Download Plugin +* Downloader Class By [FZ] +* Download plugin by giaythuytinh176 [28.7.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/2shared_com.php b/hosts/2shared_com.php similarity index 97% rename from vinaget/vng270/hosts/2shared_com.php rename to hosts/2shared_com.php index f682147..0c41a21 100644 --- a/vinaget/vng270/hosts/2shared_com.php +++ b/hosts/2shared_com.php @@ -1,30 +1,30 @@ -linkpassword($url); - if(stristr($url, "/fadmin/")) $this->error("dead", true, false, 2); - $post = !empty($pass) ? "userPass2=".$pass : ""; - $data = $this->lib->curl($url, $this->lib->cookie, $post ? "userPass2={$pass}" : ""); - $this->save($this->lib->GetCookies($data)); - if (stristr($data,"The file link that you requested is not valid.") && stristr($data,"Please contact link publisher or try to make a search.")) $this->error("dead", true, false, 2); - elseif (stristr($data,"Your free download limit is over.")) $this->error("LimitAcc", true, false); - elseif (stristr($data,"Please enter password to access this file")) $this->error("reportpass", true, false); - elseif (preg_match ('/dc(\d+)\.2shared\.com\/download\/([^\'|\"|\<|\>|\r|\n]+)/i', $data, $link)) { - $link = "http://dc" . $link[1] . ".2shared.com/download/" . $link[2]; - return trim($link); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* 2Shared.com Download Plugin by giaythuytinh176 [24.7.2013] -* Downloader Class By [FZ] -*/ +linkpassword($url); + if(stristr($url, "/fadmin/")) $this->error("dead", true, false, 2); + $post = !empty($pass) ? "userPass2=".$pass : ""; + $data = $this->lib->curl($url, $this->lib->cookie, $post ? "userPass2={$pass}" : ""); + $this->save($this->lib->GetCookies($data)); + if (stristr($data,"The file link that you requested is not valid.") && stristr($data,"Please contact link publisher or try to make a search.")) $this->error("dead", true, false, 2); + elseif (stristr($data,"Your free download limit is over.")) $this->error("LimitAcc", true, false); + elseif (stristr($data,"Please enter password to access this file")) $this->error("reportpass", true, false); + elseif (preg_match ('/dc(\d+)\.2shared\.com\/download\/([^\'|\"|\<|\>|\r|\n]+)/i', $data, $link)) { + $link = "http://dc" . $link[1] . ".2shared.com/download/" . $link[2]; + return trim($link); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* 2Shared.com Download Plugin by giaythuytinh176 [24.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/4share_vn.php b/hosts/4share_vn.php similarity index 100% rename from vinaget/vng270/hosts/4share_vn.php rename to hosts/4share_vn.php diff --git a/vinaget/vng270/hosts/4shared_com.php b/hosts/4shared_com.php similarity index 100% rename from vinaget/vng270/hosts/4shared_com.php rename to hosts/4shared_com.php diff --git a/vinaget/vng270/hosts/adrive_com.php b/hosts/adrive_com.php similarity index 97% rename from vinaget/vng270/hosts/adrive_com.php rename to hosts/adrive_com.php index 69e5295..96199a3 100644 --- a/vinaget/vng270/hosts/adrive_com.php +++ b/hosts/adrive_com.php @@ -1,25 +1,25 @@ -lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,'The file is password protected')) $this->error("notsupportpass", true, false); - elseif(stristr($data,'Not Found') || stristr($data,'The file you are trying to access is no longer available publicly') || stristr($data,'Public File Busy')) $this->error("dead", true, false, 2); - elseif(preg_match('%click here%U', $data, $giay)) - return trim($giay[1]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Adrive.com Download Plugin by giaythuytinh176 [24.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,'The file is password protected')) $this->error("notsupportpass", true, false); + elseif(stristr($data,'Not Found') || stristr($data,'The file you are trying to access is no longer available publicly') || stristr($data,'Public File Busy')) $this->error("dead", true, false, 2); + elseif(preg_match('%click here%U', $data, $giay)) + return trim($giay[1]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Adrive.com Download Plugin by giaythuytinh176 [24.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/asfile_com.php b/hosts/asfile_com.php similarity index 97% rename from vinaget/vng270/hosts/asfile_com.php rename to hosts/asfile_com.php index a222264..1d272f7 100644 --- a/vinaget/vng270/hosts/asfile_com.php +++ b/hosts/asfile_com.php @@ -1,30 +1,30 @@ -lib->curl("http://asfile.com/en/login", "", "login={$user}&password={$pass}&remember_me=1&referer={$url}"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->curl("http://asfile.com/en/premium-download/file/{$this->exploder('/', $url, 4)}",($pass ? "password={$pass};" : "")."{$this->lib->cookie}",""); - if(preg_match('%"(http:\/\/.+asfile\.com/file/premium/.+)"%U', $data, $redir2)) return trim($redir2[1]); - elseif(stristr($data,'http://asfile.com/file_is_unavailable')) $this->error("dead", true, false, 2); - elseif(stristr($data,'http://asfile.com/en/index/pay')) $this->error("blockAcc"); - elseif(stristr($data,'http://asfile.com/en/password/')) $this->error("notsupportpass", true, false); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Asfile Download Plugin -* Downloader Class By [FZ] -*/ +lib->curl("http://asfile.com/en/login", "", "login={$user}&password={$pass}&remember_me=1&referer={$url}"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->curl("http://asfile.com/en/premium-download/file/{$this->exploder('/', $url, 4)}",($pass ? "password={$pass};" : "")."{$this->lib->cookie}",""); + if(preg_match('%"(http:\/\/.+asfile\.com/file/premium/.+)"%U', $data, $redir2)) return trim($redir2[1]); + elseif(stristr($data,'http://asfile.com/file_is_unavailable')) $this->error("dead", true, false, 2); + elseif(stristr($data,'http://asfile.com/en/index/pay')) $this->error("blockAcc"); + elseif(stristr($data,'http://asfile.com/en/password/')) $this->error("notsupportpass", true, false); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Asfile Download Plugin +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/bayfiles_net.php b/hosts/bayfiles_net.php similarity index 97% rename from vinaget/vng270/hosts/bayfiles_net.php rename to hosts/bayfiles_net.php index ffb2dc8..1f5c935 100644 --- a/vinaget/vng270/hosts/bayfiles_net.php +++ b/hosts/bayfiles_net.php @@ -1,47 +1,47 @@ -lib->curl("http://bayfiles.net/account", $cookie, ""); - if(stristr($data, '

Premium

') && stristr($data, 'Expiration date:')) return array(true, "Until ".$this->lib->cut_str($data, '

Expiration date:', '(Extend)

')); - else if(stristr($data, '') && stristr($data, '

Normal

')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - - public function Login($user, $pass){ - $post["username"]= $user; - $post["password"]= $pass; - $post["next"] = "%2F"; - $post["action"] = "login"; - $data = $this->lib->curl("http://bayfiles.net/ajax_login", "", $post); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if (stristr($data,"

Invalid security token. Please check your link.

")) $this->error("dead", true, false, 2); - elseif (stristr($data,"

The requested file could not be found.

")) $this->error("dead", true, false, 2); - else { - $link = $this->lib->cut_str($this->lib->cut_str($data, '
', '
'), 'Premium Download'); - return trim($link); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Bayfiles.net Download Plugin -* Downloader Class By [FZ] -* Plugin By giaythuytinh176 -* Date: 22.7.2013 -* Fix check file not avaiable by giaythuytinh176 [23.7.2013] -*/ +lib->curl("http://bayfiles.net/account", $cookie, ""); + if(stristr($data, '

Premium

') && stristr($data, 'Expiration date:')) return array(true, "Until ".$this->lib->cut_str($data, '

Expiration date:', '(Extend)

')); + else if(stristr($data, '') && stristr($data, '

Normal

')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + + public function Login($user, $pass){ + $post["username"]= $user; + $post["password"]= $pass; + $post["next"] = "%2F"; + $post["action"] = "login"; + $data = $this->lib->curl("http://bayfiles.net/ajax_login", "", $post); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if (stristr($data,"

Invalid security token. Please check your link.

")) $this->error("dead", true, false, 2); + elseif (stristr($data,"

The requested file could not be found.

")) $this->error("dead", true, false, 2); + else { + $link = $this->lib->cut_str($this->lib->cut_str($data, '
', '
'), 'Premium Download'); + return trim($link); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Bayfiles.net Download Plugin +* Downloader Class By [FZ] +* Plugin By giaythuytinh176 +* Date: 22.7.2013 +* Fix check file not avaiable by giaythuytinh176 [23.7.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/billionuploads_com.php b/hosts/billionuploads_com.php similarity index 100% rename from vinaget/vng270/hosts/billionuploads_com.php rename to hosts/billionuploads_com.php diff --git a/vinaget/vng270/hosts/bitshare_com.php b/hosts/bitshare_com.php similarity index 100% rename from vinaget/vng270/hosts/bitshare_com.php rename to hosts/bitshare_com.php diff --git a/vinaget/vng270/hosts/catshare_net.php b/hosts/catshare_net.php similarity index 96% rename from vinaget/vng270/hosts/catshare_net.php rename to hosts/catshare_net.php index d3a4eb3..caaa078 100644 --- a/vinaget/vng270/hosts/catshare_net.php +++ b/hosts/catshare_net.php @@ -1,34 +1,34 @@ -lib->curl("http://catshare.net", $cookie, ""); - if(stristr($data, 'Premium')) return array(true, "Until ".$this->lib->cut_str($data, '','')); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://catshare.net/login", "", "user_email={$user}&user_password={$pass}"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if (stristr($data,"Podany plik zosta")) $this->error("dead", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - elseif(preg_match('/lib->curl("http://catshare.net", $cookie, ""); + if(stristr($data, 'Premium')) return array(true, "Until ".$this->lib->cut_str($data, '','')); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://catshare.net/login", "", "user_email={$user}&user_password={$pass}"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if (stristr($data,"Podany plik zosta")) $this->error("dead", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + elseif(preg_match('/ \ No newline at end of file diff --git a/vinaget/vng270/hosts/chiasenhac_com.php b/hosts/chiasenhac_com.php similarity index 97% rename from vinaget/vng270/hosts/chiasenhac_com.php rename to hosts/chiasenhac_com.php index aec250c..4948e3a 100644 --- a/vinaget/vng270/hosts/chiasenhac_com.php +++ b/hosts/chiasenhac_com.php @@ -1,108 +1,108 @@ -lib->curl("http://chiasenhac.com/member.php", $cookie, ""); - if(stristr($data, 'Tài khoản: ')) return array(true, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass) { - $post["username"]= $user; - $post["password"]= $pass; - $post["redirect"] = ""; - $post["autologin"] = "checked"; - $post["login"] = 'Äăng nhập'; - $data = $this->lib->curl("http://chiasenhac.com/login.php","",$post); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(!preg_match('@https?:\/\/chiasenhac\.com\/s\/(\d+)\.swf@i', $data, $id)) - $this->error("Cannot get ID", true, false, 2); - else - $thuytinh = $this->lib->curl("http://download.chiasenhac.com/download.php?m=".$id[1], $this->lib->cookie, ""); - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[FLAC Lossless\]\.flac)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[M4A 500kbps\]\.m4a)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 320kbps\]\.mp3)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 256kbps\]\.mp3)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 192kbps\]\.mp3)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 128kbps\]\.mp3)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 64kbps\]\.mp3)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[M4A 32kbps\]\.m4a)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 1902x1080\]\.mp4)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 1080p\]\.mp4)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 1280x726\]\.mp4)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 720p\]\.mp4)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 1280x726\]\.mp4)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 720p\]\.mp4)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 480p\]\.mp4)"/', $thuytinh, $giay)) { - if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 360p\]\.mp4)"/', $thuytinh, $giay)) { - if(preg_match('@https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/[^"\'><\r\n\t]+@i', $thuytinh, $giay)) - return trim($giay[0]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - } - else - return trim($giay[1]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Chiasenhac.com Download Plugin -* Downloader Class By [FZ] -* Plugin By giaythuytinh176 -* Date: 20.8.2013 -*/ +lib->curl("http://chiasenhac.com/member.php", $cookie, ""); + if(stristr($data, 'Tài khoản: ')) return array(true, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass) { + $post["username"]= $user; + $post["password"]= $pass; + $post["redirect"] = ""; + $post["autologin"] = "checked"; + $post["login"] = 'Äăng nhập'; + $data = $this->lib->curl("http://chiasenhac.com/login.php","",$post); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(!preg_match('@https?:\/\/chiasenhac\.com\/s\/(\d+)\.swf@i', $data, $id)) + $this->error("Cannot get ID", true, false, 2); + else + $thuytinh = $this->lib->curl("http://download.chiasenhac.com/download.php?m=".$id[1], $this->lib->cookie, ""); + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[FLAC Lossless\]\.flac)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[M4A 500kbps\]\.m4a)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 320kbps\]\.mp3)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 256kbps\]\.mp3)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 192kbps\]\.mp3)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 128kbps\]\.mp3)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP3 64kbps\]\.mp3)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[M4A 32kbps\]\.m4a)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 1902x1080\]\.mp4)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 1080p\]\.mp4)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 1280x726\]\.mp4)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 720p\]\.mp4)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 1280x726\]\.mp4)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 720p\]\.mp4)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 480p\]\.mp4)"/', $thuytinh, $giay)) { + if(!preg_match('/href="(https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/(.+)\[MP4 HD 360p\]\.mp4)"/', $thuytinh, $giay)) { + if(preg_match('@https?:\/\/(:?(:?(data(\d+)?))|:?download)\.chiasenhac\.com\/downloads\/[^"\'><\r\n\t]+@i', $thuytinh, $giay)) + return trim($giay[0]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + } + else + return trim($giay[1]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Chiasenhac.com Download Plugin +* Downloader Class By [FZ] +* Plugin By giaythuytinh176 +* Date: 20.8.2013 +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/cloudzer_net.php b/hosts/cloudzer_net.php similarity index 97% rename from vinaget/vng270/hosts/cloudzer_net.php rename to hosts/cloudzer_net.php index a9f9fb6..28a4f45 100644 --- a/vinaget/vng270/hosts/cloudzer_net.php +++ b/hosts/cloudzer_net.php @@ -1,49 +1,49 @@ -lib->curl("http://cloudzer.net/", $cookie, ""); - if(stristr($data, 'status status_premium">Premium')) return array(true, $this->lib->cut_str($data, "Premium
","
")); - elseif(stristr($data, 'status status_free">Free')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://cloudzer.net/io/login", "", "id={$user}&pw={$pass}&rememberME=1"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - if(stristr($url, "clz.to")) { - $ex = explode("/", $url); - $url = 'http://cloudzer.net/file/' .$ex[3]; - } - $url = $this->getredirect($url); - if (stristr($url,'cloudzer.net/404')) $this->error("dead", true, false, 2); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if (stristr($data,"

Extend traffic

")) $this->error("LimitAcc"); - elseif (stristr($data,"Hybrid-Traffic is completely exhausted")) $this->error("LimitAcc"); - elseif (stristr($data,"Our service is currently unavailable in your country")) $this->error("blockCountry", true, false); - elseif (stristr($data,"You used too many different IPs")) $this->error("blockAcc", true, false); - elseif (stristr($data,"Download Blocked (ip)")) $this->error("blockIP", true, false); - elseif(!$this->isredirect($data)) { - if (preg_match('@https?:\/\/[a-z0-9-]+stor\d+\.cloudzer\.net(:\d+)?\/dl\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* cloudzer.net Download Plugin By giaythuytinh176 [20.8.2013] -* Downloader Class By [FZ] -* Special thanks to test500@rapidleech.com for your cloudzer.net account. -*/ +lib->curl("http://cloudzer.net/", $cookie, ""); + if(stristr($data, 'status status_premium">Premium')) return array(true, $this->lib->cut_str($data, "Premium
","
")); + elseif(stristr($data, 'status status_free">Free')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://cloudzer.net/io/login", "", "id={$user}&pw={$pass}&rememberME=1"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + if(stristr($url, "clz.to")) { + $ex = explode("/", $url); + $url = 'http://cloudzer.net/file/' .$ex[3]; + } + $url = $this->getredirect($url); + if (stristr($url,'cloudzer.net/404')) $this->error("dead", true, false, 2); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if (stristr($data,"

Extend traffic

")) $this->error("LimitAcc"); + elseif (stristr($data,"Hybrid-Traffic is completely exhausted")) $this->error("LimitAcc"); + elseif (stristr($data,"Our service is currently unavailable in your country")) $this->error("blockCountry", true, false); + elseif (stristr($data,"You used too many different IPs")) $this->error("blockAcc", true, false); + elseif (stristr($data,"Download Blocked (ip)")) $this->error("blockIP", true, false); + elseif(!$this->isredirect($data)) { + if (preg_match('@https?:\/\/[a-z0-9-]+stor\d+\.cloudzer\.net(:\d+)?\/dl\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* cloudzer.net Download Plugin By giaythuytinh176 [20.8.2013] +* Downloader Class By [FZ] +* Special thanks to test500@rapidleech.com for your cloudzer.net account. +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/clz_to.php b/hosts/clz_to.php similarity index 100% rename from vinaget/vng270/hosts/clz_to.php rename to hosts/clz_to.php diff --git a/vinaget/vng270/hosts/cramit_in.php b/hosts/cramit_in.php similarity index 97% rename from vinaget/vng270/hosts/cramit_in.php rename to hosts/cramit_in.php index f61a9e7..ebef466 100644 --- a/vinaget/vng270/hosts/cramit_in.php +++ b/hosts/cramit_in.php @@ -1,47 +1,47 @@ -lib->curl("http://cramit.in/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium Account expires on')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium Account expires on', '')); - else if(stristr($data, 'http://cramit.in/?op=logout') && !stristr($data, 'Premium Account expires on')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://cramit.in/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - return "lang=english;{$this->lib->GetCookies($data)}"; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, '>The file was deleted by its owner <')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $link = trim($this->lib->cut_str($data, '


CLICK')); - $tach = explode('/', $link); - $tach1 = explode('?st=', $tach[10]); - $this->lib->reserved['filename'] = $tach1[0]; - return $link; - } - else { - $tach = explode('/', $this->redirect); - $tach1 = explode('?st=', $tach[10]); - $this->lib->reserved['filename'] = $tach1[0]; - return trim($this->redirect); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Cramit.in Download Plugin by giaythuytinh176 [27.1.2014] -* Downloader Class By [FZ] -*/ +lib->curl("http://cramit.in/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium Account expires on')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium Account expires on', '')); + else if(stristr($data, 'http://cramit.in/?op=logout') && !stristr($data, 'Premium Account expires on')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://cramit.in/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + return "lang=english;{$this->lib->GetCookies($data)}"; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, '>The file was deleted by its owner <')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $link = trim($this->lib->cut_str($data, '


CLICK')); + $tach = explode('/', $link); + $tach1 = explode('?st=', $tach[10]); + $this->lib->reserved['filename'] = $tach1[0]; + return $link; + } + else { + $tach = explode('/', $this->redirect); + $tach1 = explode('?st=', $tach[10]); + $this->lib->reserved['filename'] = $tach1[0]; + return trim($this->redirect); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Cramit.in Download Plugin by giaythuytinh176 [27.1.2014] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/crocko_com.php b/hosts/crocko_com.php similarity index 97% rename from vinaget/vng270/hosts/crocko_com.php rename to hosts/crocko_com.php index c17fc16..9436c45 100644 --- a/vinaget/vng270/hosts/crocko_com.php +++ b/hosts/crocko_com.php @@ -1,46 +1,46 @@ -error("Not Support Folder", true, false, 2); - } - - public function CheckAcc($cookie){ - $data = $this->lib->curl("https://www.crocko.com/accounts", "language=en;".$cookie, ""); - if(stristr($data, 'Premium membership: Active
') || stristr($data, 'Premium membership: Expiring
')) return array(true, "Until ".$this->lib->cut_str($data, 'Ends: ',', in')); - else if(stristr($data, '

Premium account active

')) return array(true, "Until ".$this->lib->cut_str($data, 'End time: ',', in')); - else if(stristr($data, 'Premium membership: No premium')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $post["login"]= $user; - $post["password"]= $pass; - $data = $this->lib->curl("https://www.crocko.com/accounts/login", "language=en", $post); - $cookie = "language=en; {$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - $url = str_replace('http://', 'https://', $url); - if(stristr($url, "easy-share.com")) $url = str_replace("easy-share.com", "crocko.com", $url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,">the page you're looking forerror("dead", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Crocko.com Download Plugin By giaythuytinh176 -* Fix by [FZ] -* Downloader Class By [FZ] -* Date: 18.7.2013 -* Fixed login account by giaythuytinh176 [22.7.2013] -*/ +error("Not Support Folder", true, false, 2); + } + + public function CheckAcc($cookie){ + $data = $this->lib->curl("https://www.crocko.com/accounts", "language=en;".$cookie, ""); + if(stristr($data, 'Premium membership: Active
') || stristr($data, 'Premium membership: Expiring
')) return array(true, "Until ".$this->lib->cut_str($data, 'Ends: ',', in')); + else if(stristr($data, '

Premium account active

')) return array(true, "Until ".$this->lib->cut_str($data, 'End time: ',', in')); + else if(stristr($data, 'Premium membership: No premium')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $post["login"]= $user; + $post["password"]= $pass; + $data = $this->lib->curl("https://www.crocko.com/accounts/login", "language=en", $post); + $cookie = "language=en; {$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + $url = str_replace('http://', 'https://', $url); + if(stristr($url, "easy-share.com")) $url = str_replace("easy-share.com", "crocko.com", $url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,">the page you're looking forerror("dead", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Crocko.com Download Plugin By giaythuytinh176 +* Fix by [FZ] +* Downloader Class By [FZ] +* Date: 18.7.2013 +* Fixed login account by giaythuytinh176 [22.7.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/cyberlocker_ch.php b/hosts/cyberlocker_ch.php similarity index 97% rename from vinaget/vng270/hosts/cyberlocker_ch.php rename to hosts/cyberlocker_ch.php index 74393fe..8577436 100644 --- a/vinaget/vng270/hosts/cyberlocker_ch.php +++ b/hosts/cyberlocker_ch.php @@ -1,85 +1,85 @@ -lib->curl("http://cyberlocker.ch/?op=my_account", "lang=english;".$cookie, ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://cyberlocker.ch/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(!stristr($data, 'btn.value = \'Free Download\';')) - $this->error("Cannot get Free Download", true, false); - else { - $post = $this->parseForm($this->lib->cut_str($data, '', 'class="1tbl_pre" border="0" style="width:750px; max-width:750px')); - $post['method_free'] = 'Wait for 0 seconds'; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $post1 = $this->parseForm($this->lib->cut_str($data, '')); - $post1['method_premium'] = ""; - $post1['down_direct'] = "1"; - $post1['password'] = $pass; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data1)) return trim($this->redirect); - } - if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) $this->error($count[0], true, false); - elseif(stristr($data,'
')) $this->error("reportpass", true, false); - elseif(!stristr($data, 'btn_download" value="Download" class="bt')) - $this->error("Cannot get DOWNLOAD", true, false); - else { - $post1 = $this->parseForm($this->lib->cut_str($data, '')); - $post1['method_premium'] = ""; - $post1['down_direct'] = "1"; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if($this->isredirect($data1)) return trim($this->redirect); - } - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - elseif (stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); - elseif (stristr($data,'404 Not Found')) $this->error("dead", true, false, 2); - elseif(stristr($data,'
')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Cyberlocker.ch Download Plugin by giaythutyinh176 [30.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://cyberlocker.ch/?op=my_account", "lang=english;".$cookie, ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://cyberlocker.ch/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(!stristr($data, 'btn.value = \'Free Download\';')) + $this->error("Cannot get Free Download", true, false); + else { + $post = $this->parseForm($this->lib->cut_str($data, '', 'class="1tbl_pre" border="0" style="width:750px; max-width:750px')); + $post['method_free'] = 'Wait for 0 seconds'; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $post1 = $this->parseForm($this->lib->cut_str($data, '')); + $post1['method_premium'] = ""; + $post1['down_direct'] = "1"; + $post1['password'] = $pass; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data1)) return trim($this->redirect); + } + if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) $this->error($count[0], true, false); + elseif(stristr($data,'
')) $this->error("reportpass", true, false); + elseif(!stristr($data, 'btn_download" value="Download" class="bt')) + $this->error("Cannot get DOWNLOAD", true, false); + else { + $post1 = $this->parseForm($this->lib->cut_str($data, '')); + $post1['method_premium'] = ""; + $post1['down_direct'] = "1"; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if($this->isredirect($data1)) return trim($this->redirect); + } + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + elseif (stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); + elseif (stristr($data,'404 Not Found')) $this->error("dead", true, false, 2); + elseif(stristr($data,'
')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Cyberlocker.ch Download Plugin by giaythutyinh176 [30.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/czshare_com.php b/hosts/czshare_com.php similarity index 97% rename from vinaget/vng270/hosts/czshare_com.php rename to hosts/czshare_com.php index 073af44..230524d 100644 --- a/vinaget/vng270/hosts/czshare_com.php +++ b/hosts/czshare_com.php @@ -1,38 +1,38 @@ -lib->curl("http://czshare.com/", $cookie, ""); - if(stristr($data, 'kredit: ')) return array(true, "kredit: ".$this->lib->cut_str($this->lib->cut_str($data, '
','
'), '','')); - elseif(stristr($data, '>CZShare manager<') && !stristr($data, 'kredit: ')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("https://czshare.com/index.php", "","login-name={$user}&login-password={$pass}&trvale=1&Prihlasit=Přihlásit SSL&submit=Obnov heslo"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,">404 - Stránka nenalezena") || stristr($data,">Soubor nenalezen")) $this->error("dead", true, false, 2); - $id = $this->lib->cut_str($data, "name=\"id\" value=\"", "\""); - $code = $this->lib->cut_str($data, "name=\"code\" value=\"", "\""); - $data = $this->lib->curl("http://czshare.com/profi_down.php", $this->lib->cookie, "id={$id}&code={$code}"); - if($this->isredirect($data)) return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* czshare Download Plugin by giaythuytinh176 [1.8.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://czshare.com/", $cookie, ""); + if(stristr($data, 'kredit: ')) return array(true, "kredit: ".$this->lib->cut_str($this->lib->cut_str($data, '
','
'), '','')); + elseif(stristr($data, '>CZShare manager<') && !stristr($data, 'kredit: ')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("https://czshare.com/index.php", "","login-name={$user}&login-password={$pass}&trvale=1&Prihlasit=PÅ™ihlásit SSL&submit=Obnov heslo"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,">404 - Stránka nenalezena") || stristr($data,">Soubor nenalezen")) $this->error("dead", true, false, 2); + $id = $this->lib->cut_str($data, "name=\"id\" value=\"", "\""); + $code = $this->lib->cut_str($data, "name=\"code\" value=\"", "\""); + $data = $this->lib->curl("http://czshare.com/profi_down.php", $this->lib->cookie, "id={$id}&code={$code}"); + if($this->isredirect($data)) return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* czshare Download Plugin by giaythuytinh176 [1.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/d-h.st.php b/hosts/d-h.st.php similarity index 95% rename from vinaget/vng270/hosts/d-h.st.php rename to hosts/d-h.st.php index 30b0537..a53149c 100644 --- a/vinaget/vng270/hosts/d-h.st.php +++ b/hosts/d-h.st.php @@ -1,22 +1,22 @@ -lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(preg_match('@https?:\/\/fs(\d+\.)?d\-h\.st\/download\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* d-h.st Download Plugin by giaythuytinh176 [25.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(preg_match('@https?:\/\/fs(\d+\.)?d\-h\.st\/download\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* d-h.st Download Plugin by giaythuytinh176 [25.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/d01_megashares_com.php b/hosts/d01_megashares_com.php similarity index 100% rename from vinaget/vng270/hosts/d01_megashares_com.php rename to hosts/d01_megashares_com.php diff --git a/vinaget/vng270/hosts/dailymotion_com.php b/hosts/dailymotion_com.php similarity index 97% rename from vinaget/vng270/hosts/dailymotion_com.php rename to hosts/dailymotion_com.php index bd43620..dad7aff 100644 --- a/vinaget/vng270/hosts/dailymotion_com.php +++ b/hosts/dailymotion_com.php @@ -1,29 +1,29 @@ -lib->cut_str($url, '/video/','_'); - $data = $this->lib->curl("http://www.dailymotion.com/embed/video/{$id}", "", ""); - if(stristr($data, "")){ - $title = $this->lib->cut_str($data, '<title>', ''); - $data = urldecode(urldecode($this->lib->cut_str($data, "var info =", "catch (e)"))); - $data = str_replace("\/", "/", $this->lib->cut_str($data, "http:\/\/www.dailymotion.com\/cdn\/", '",')); - $link = "http://www.dailymotion.com/cdn/{$data}"; - $ext = $this->lib->cut_str($data, '.','?auth='); - $this->lib->reserved['filename'] = urldecode(str_replace(str_split('\\/:*?"<>|'), '_', html_entity_decode(trim($title), ENT_QUOTES))) . ".$ext"; - return $this->getredirect(trim($link)); - } - else $this->error("dead", true, false, 2); - return false; - } -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Dailymotion Download Plugin -* Downloader Class By [FZ] -*/ -?> +lib->cut_str($url, '/video/','_'); + $data = $this->lib->curl("http://www.dailymotion.com/embed/video/{$id}", "", ""); + if(stristr($data, "")){ + $title = $this->lib->cut_str($data, '<title>', ''); + $data = urldecode(urldecode($this->lib->cut_str($data, "var info =", "catch (e)"))); + $data = str_replace("\/", "/", $this->lib->cut_str($data, "http:\/\/www.dailymotion.com\/cdn\/", '",')); + $link = "http://www.dailymotion.com/cdn/{$data}"; + $ext = $this->lib->cut_str($data, '.','?auth='); + $this->lib->reserved['filename'] = urldecode(str_replace(str_split('\\/:*?"<>|'), '_', html_entity_decode(trim($title), ENT_QUOTES))) . ".$ext"; + return $this->getredirect(trim($link)); + } + else $this->error("dead", true, false, 2); + return false; + } +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Dailymotion Download Plugin +* Downloader Class By [FZ] +*/ +?> diff --git a/vinaget/vng270/hosts/datafile_com.php b/hosts/datafile_com.php similarity index 97% rename from vinaget/vng270/hosts/datafile_com.php rename to hosts/datafile_com.php index a48c345..b4a9e17 100644 --- a/vinaget/vng270/hosts/datafile_com.php +++ b/hosts/datafile_com.php @@ -1,45 +1,45 @@ -lib->curl("http://www.datafile.com/profile.html", "lang=en;{$cookie}", ""); - if(stristr($data, '>Premium Expires:<')) return array(true, "Until " .$this->lib->cut_str($data, '', '  ('). "
On the left today: " .$this->lib->cut_str($this->lib->cut_str($data, 'On the left today:', ''), '', '')); - else if(stristr($data, '">Upgrade
)')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("https://www.datafile.com/login.html", "lang=en", "login={$user}&password={$pass}&remember_me=1"); - $cookie = "lang=en;".$this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url,$this->lib->cookie,""); - if($this->isredirect($data)) { - $link = trim("http://www.datafile.com" .$this->redirect); - $data = $this->lib->curl($link,$this->lib->cookie,""); - if(stristr($data, "ErrorCode 6: Download limit in")) $this->error("LimitAcc", true, false); - if($this->isredirect($data)) $redir = trim($this->redirect); - $name = $this->lib->getname($redir, $this->lib->cookie); - $tach = explode(';', $name); - $this->lib->reserved['filename'] = $tach[0]; - return $redir; - } - elseif(stristr($data,'ErrorCode 0: Invalid Link')) $this->error("dead", true, false, 2); - return false; - } - -} -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* DataFile.com Download Plugin by giaythuytinh176 -* Downloader Class By [FZ] -* Date: 20.7.2013 -* Fix check account by giaythuytinh176 [21.7.2013] -* Fix check account by giaythuytinh176 [6.8.2013] -*/ +lib->curl("http://www.datafile.com/profile.html", "lang=en;{$cookie}", ""); + if(stristr($data, '>Premium Expires:<')) return array(true, "Until " .$this->lib->cut_str($data, '', '  ('). "
On the left today: " .$this->lib->cut_str($this->lib->cut_str($data, 'On the left today:', ''), '', '')); + else if(stristr($data, '">Upgrade)')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("https://www.datafile.com/login.html", "lang=en", "login={$user}&password={$pass}&remember_me=1"); + $cookie = "lang=en;".$this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url,$this->lib->cookie,""); + if($this->isredirect($data)) { + $link = trim("http://www.datafile.com" .$this->redirect); + $data = $this->lib->curl($link,$this->lib->cookie,""); + if(stristr($data, "ErrorCode 6: Download limit in")) $this->error("LimitAcc", true, false); + if($this->isredirect($data)) $redir = trim($this->redirect); + $name = $this->lib->getname($redir, $this->lib->cookie); + $tach = explode(';', $name); + $this->lib->reserved['filename'] = $tach[0]; + return $redir; + } + elseif(stristr($data,'ErrorCode 0: Invalid Link')) $this->error("dead", true, false, 2); + return false; + } + +} +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* DataFile.com Download Plugin by giaythuytinh176 +* Downloader Class By [FZ] +* Date: 20.7.2013 +* Fix check account by giaythuytinh176 [21.7.2013] +* Fix check account by giaythuytinh176 [6.8.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/datafilehost_com.php b/hosts/datafilehost_com.php similarity index 95% rename from vinaget/vng270/hosts/datafilehost_com.php rename to hosts/datafilehost_com.php index 7c232d1..26a2112 100644 --- a/vinaget/vng270/hosts/datafilehost_com.php +++ b/hosts/datafilehost_com.php @@ -1,22 +1,22 @@ -lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if (preg_match('/a href=\'(http:\/\/www\.datafilehost\.com\/get\.php\?file\=[^\']+)/i', $data, $dl)) - return trim($dl[1]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Datafilehost.com Download Plugin by giaythuytinh176 [25.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if (preg_match('/a href=\'(http:\/\/www\.datafilehost\.com\/get\.php\?file\=[^\']+)/i', $data, $dl)) + return trim($dl[1]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Datafilehost.com Download Plugin by giaythuytinh176 [25.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/ddlstorage_com.php b/hosts/ddlstorage_com.php similarity index 97% rename from vinaget/vng270/hosts/ddlstorage_com.php rename to hosts/ddlstorage_com.php index 53086d2..5d6ce3b 100644 --- a/vinaget/vng270/hosts/ddlstorage_com.php +++ b/hosts/ddlstorage_com.php @@ -1,50 +1,50 @@ -lib->curl("http://www.ddlstorage.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'my_premium_expiration" class="td_descr">','')); - else if(stristr($data, 'class="blu_title">Registered

')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.ddlstorage.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, 'lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('/onclick="parent.location=\'(http:\/\/\w+\.ddlstorage\.com:182\/d\/.+)\'">/', $data, $link)) - return trim($link[1]); - } - if(stristr($data,'type="password" name="password" style="width:210px')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, 'redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* DDLstorage.com Download Plugin by giaythuytinh176 [25.8.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://www.ddlstorage.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'my_premium_expiration" class="td_descr">','')); + else if(stristr($data, 'class="blu_title">Registered

')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.ddlstorage.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, 'lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('/onclick="parent.location=\'(http:\/\/\w+\.ddlstorage\.com:182\/d\/.+)\'">/', $data, $link)) + return trim($link[1]); + } + if(stristr($data,'type="password" name="password" style="width:210px')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, 'redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* DDLstorage.com Download Plugin by giaythuytinh176 [25.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/demo_ovh_eu.php b/hosts/demo_ovh_eu.php similarity index 95% rename from vinaget/vng270/hosts/demo_ovh_eu.php rename to hosts/demo_ovh_eu.php index 6bcde71..39f263e 100644 --- a/vinaget/vng270/hosts/demo_ovh_eu.php +++ b/hosts/demo_ovh_eu.php @@ -1,25 +1,25 @@ -lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if (preg_match('@^HTTP/1\.[0|1] 404 Not Found@i', $data)) $this->error("dead", true, false, 2); - elseif(preg_match('@href="/(download/\w+/[^\"]+)"@i', $data, $dl)) { - $dl = "http://demo.ovh.eu/".$dl[1]; - return trim($dl); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* demo.ovh.eu Download Plugin by giaythuytinh176 [21.8.2013] -* Downloader Class By [FZ] -*/ +lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if (preg_match('@^HTTP/1\.[0|1] 404 Not Found@i', $data)) $this->error("dead", true, false, 2); + elseif(preg_match('@href="/(download/\w+/[^\"]+)"@i', $data, $dl)) { + $dl = "http://demo.ovh.eu/".$dl[1]; + return trim($dl); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* demo.ovh.eu Download Plugin by giaythuytinh176 [21.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/depfile_com.php b/hosts/depfile_com.php similarity index 97% rename from vinaget/vng270/hosts/depfile_com.php rename to hosts/depfile_com.php index d192c12..0d69fa1 100644 --- a/vinaget/vng270/hosts/depfile_com.php +++ b/hosts/depfile_com.php @@ -1,38 +1,38 @@ -lib->curl("https://depfile.com/", "sdlanguageid=2;{$cookie}", ""); - if(stristr($data, '>Premium: ", '')); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("https://depfile.com/", "sdlanguageid=2", "login=login&loginemail={$user}&loginpassword={$pass}&submit=login&rememberme=1"); - $cookie = "sdlanguageid=2;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - if(!stristr($url, "https")) { - $url = str_replace('http', 'https', $url); - } - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'Page Not Found!') || stristr($data,'File was not found in the') || stristr($data,'Provided link contains errors')) $this->error("dead", true, false, 2); - elseif(preg_match('@https?:\/\/[a-z]+\.depfile\.com\/premdw\/\d+\/[a-z0-9]+\/[^"\'<>\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* depfile.com Download Plugin -* Downloader Class By [FZ] -* Download plugin by giaythuytinh176 [11.8.2013] -*/ +lib->curl("https://depfile.com/", "sdlanguageid=2;{$cookie}", ""); + if(stristr($data, '>Premium: ", '')); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("https://depfile.com/", "sdlanguageid=2", "login=login&loginemail={$user}&loginpassword={$pass}&submit=login&rememberme=1"); + $cookie = "sdlanguageid=2;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + if(!stristr($url, "https")) { + $url = str_replace('http', 'https', $url); + } + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'Page Not Found!') || stristr($data,'File was not found in the') || stristr($data,'Provided link contains errors')) $this->error("dead", true, false, 2); + elseif(preg_match('@https?:\/\/[a-z]+\.depfile\.com\/premdw\/\d+\/[a-z0-9]+\/[^"\'<>\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* depfile.com Download Plugin +* Downloader Class By [FZ] +* Download plugin by giaythuytinh176 [11.8.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/depositfiles_com.php b/hosts/depositfiles_com.php similarity index 98% rename from vinaget/vng270/hosts/depositfiles_com.php rename to hosts/depositfiles_com.php index 05b604b..f9a415a 100644 --- a/vinaget/vng270/hosts/depositfiles_com.php +++ b/hosts/depositfiles_com.php @@ -1,74 +1,74 @@ -lib->cut_str($this->getredirect("http://depositfiles.com/"), "//", "/"); - $data = $this->lib->curl("http://{$domain}/gold/payment_history.php", "lang_current=en;{$cookie}", ""); - if(stristr($data, 'You have Gold access until:')) { - $checksubscribe = $this->lib->curl("http://{$domain}/gold/payment_subscribe_manage.php", "lang_current=en;{$cookie}", ""); - return array(true, "Until ".$this->lib->cut_str($data, '
You have Gold access until: ','
') ."
". (strpos($checksubscribe, '>You are subscribed to automatically') ? "You are subscribed" : "You are not subscribed")); - } - elseif(stristr($data, 'Your current status: FREE - member')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $this->error("notsupportacc", true, false); - return false; - } - /* - public function Leech($url) { - $url = preg_replace("@(depositfiles\.org|depositfiles\.net|dfiles\.eu|dfiles\.ru)@", "depositfiles.com", $url); - list($url, $pass) = $this->linkpassword($url); - list($name, $domain) = explode(".", $this->lib->cut_str(str_replace("www.", "", $url), "http://", "/")); - $url = $this->getredirect($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post["file_password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data, 'The file\'s password is incorrect')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/fileshare\d+\.'.$name.'\.'.$domain.'\/auth\-[^"\'<>\r\n\t]+@i', $data, $link)) - return trim($link[0]); - } - if(stristr($data, "You have exceeded the")) $this->error("LimitAcc"); - elseif(stristr($data,'Please, enter the password for this file')) $this->error("reportpass", true, false); - elseif(stristr($data, "it has been removed due to infringement of copyright") || stristr($data, "Such file does not exist")) $this->error("dead", true, false, 2); - elseif(preg_match('@https?:\/\/fileshare\d+\.'.$name.'\.'.$domain.'\/auth\-[^"\'<>\r\n\t]+@i', $data, $link)) - return trim($link[0]); - return false; - //if(preg_match('%linkpassword($url); - $domain = $this->lib->cut_str($this->getredirect("http://depositfiles.com/"), "//", "/"); - $tachid = explode("/", $url); - if(preg_match("/\/files\/(.*)\/(.+)/i", $url, $id)) $DFid = $id[1]; - elseif(count($tachid) == 5) $DFid = $tachid[4]; - else $DFid = $tachid[5]; - $data = $this->lib->curl("http://depositfiles.com/api/download/file?file_id={$DFid}&file_password={$pass}", "lang_current=en;".$this->lib->cookie, "", 0); - $page = json_decode($data, true); - if($page['status'] !== "OK" && $page['error'] == "FileIsPasswordProtected") $this->error("reportpass", true, false); - elseif($page['status'] !== "OK" && $page['error'] == "FileDoesNotExist") $this->error("dead", true, false, 2); - elseif($page['status'] !== "OK" && $page['error'] == "FilePasswordIsIncorrect") $this->error("wrongpass", true, false, 2); - elseif($page['status'] == "OK" && isset($page['data']['download_url'])) return trim(str_replace("depositfiles.com", $domain, $page['data']['download_url'])); - else $this->error($page['error'], true, false); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Depositfiles.com Download Plugin -* Date: 16.7.2013 -* Fix download by giaythuytinh176 [21.7.2013] -* Fixed check account by giaythuytinh176 [24.7.2013] -* Add support file password by giaythuytinh176 [29.7.2013] -* Fix domain conflict, miss CheckAcc by Fz [24.11.2013] -* Fixed link by giay [29.11.2013] -*/ +lib->cut_str($this->getredirect("http://depositfiles.com/"), "//", "/"); + $data = $this->lib->curl("http://{$domain}/gold/payment_history.php", "lang_current=en;{$cookie}", ""); + if(stristr($data, 'You have Gold access until:')) { + $checksubscribe = $this->lib->curl("http://{$domain}/gold/payment_subscribe_manage.php", "lang_current=en;{$cookie}", ""); + return array(true, "Until ".$this->lib->cut_str($data, '
You have Gold access until: ','
') ."
". (strpos($checksubscribe, '>You are subscribed to automatically') ? "You are subscribed" : "You are not subscribed")); + } + elseif(stristr($data, 'Your current status: FREE - member')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $this->error("notsupportacc", true, false); + return false; + } + /* + public function Leech($url) { + $url = preg_replace("@(depositfiles\.org|depositfiles\.net|dfiles\.eu|dfiles\.ru)@", "depositfiles.com", $url); + list($url, $pass) = $this->linkpassword($url); + list($name, $domain) = explode(".", $this->lib->cut_str(str_replace("www.", "", $url), "http://", "/")); + $url = $this->getredirect($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post["file_password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data, 'The file\'s password is incorrect')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/fileshare\d+\.'.$name.'\.'.$domain.'\/auth\-[^"\'<>\r\n\t]+@i', $data, $link)) + return trim($link[0]); + } + if(stristr($data, "You have exceeded the")) $this->error("LimitAcc"); + elseif(stristr($data,'Please, enter the password for this file')) $this->error("reportpass", true, false); + elseif(stristr($data, "it has been removed due to infringement of copyright") || stristr($data, "Such file does not exist")) $this->error("dead", true, false, 2); + elseif(preg_match('@https?:\/\/fileshare\d+\.'.$name.'\.'.$domain.'\/auth\-[^"\'<>\r\n\t]+@i', $data, $link)) + return trim($link[0]); + return false; + //if(preg_match('%
linkpassword($url); + $domain = $this->lib->cut_str($this->getredirect("http://depositfiles.com/"), "//", "/"); + $tachid = explode("/", $url); + if(preg_match("/\/files\/(.*)\/(.+)/i", $url, $id)) $DFid = $id[1]; + elseif(count($tachid) == 5) $DFid = $tachid[4]; + else $DFid = $tachid[5]; + $data = $this->lib->curl("http://depositfiles.com/api/download/file?file_id={$DFid}&file_password={$pass}", "lang_current=en;".$this->lib->cookie, "", 0); + $page = json_decode($data, true); + if($page['status'] !== "OK" && $page['error'] == "FileIsPasswordProtected") $this->error("reportpass", true, false); + elseif($page['status'] !== "OK" && $page['error'] == "FileDoesNotExist") $this->error("dead", true, false, 2); + elseif($page['status'] !== "OK" && $page['error'] == "FilePasswordIsIncorrect") $this->error("wrongpass", true, false, 2); + elseif($page['status'] == "OK" && isset($page['data']['download_url'])) return trim(str_replace("depositfiles.com", $domain, $page['data']['download_url'])); + else $this->error($page['error'], true, false); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Depositfiles.com Download Plugin +* Date: 16.7.2013 +* Fix download by giaythuytinh176 [21.7.2013] +* Fixed check account by giaythuytinh176 [24.7.2013] +* Add support file password by giaythuytinh176 [29.7.2013] +* Fix domain conflict, miss CheckAcc by Fz [24.11.2013] +* Fixed link by giay [29.11.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/depositfiles_net.php b/hosts/depositfiles_net.php similarity index 100% rename from vinaget/vng270/hosts/depositfiles_net.php rename to hosts/depositfiles_net.php diff --git a/vinaget/vng270/hosts/depositfiles_org.php b/hosts/depositfiles_org.php similarity index 100% rename from vinaget/vng270/hosts/depositfiles_org.php rename to hosts/depositfiles_org.php diff --git a/vinaget/vng270/hosts/dfiles_eu.php b/hosts/dfiles_eu.php similarity index 100% rename from vinaget/vng270/hosts/dfiles_eu.php rename to hosts/dfiles_eu.php diff --git a/vinaget/vng270/hosts/dfiles_ru.php b/hosts/dfiles_ru.php similarity index 100% rename from vinaget/vng270/hosts/dfiles_ru.php rename to hosts/dfiles_ru.php diff --git a/vinaget/vng270/hosts/dizzcloud_com.php b/hosts/dizzcloud_com.php similarity index 97% rename from vinaget/vng270/hosts/dizzcloud_com.php rename to hosts/dizzcloud_com.php index e3b61f8..efe895e 100644 --- a/vinaget/vng270/hosts/dizzcloud_com.php +++ b/hosts/dizzcloud_com.php @@ -1,41 +1,41 @@ -lib->curl("http://dizzcloud.com/", $cookie, ""); - if(stristr($data, ">Premium till ")) return array(true, "Until" .$this->lib->cut_str($data, ">Premium till ", "  <")); - elseif(stristr($data, "http://dizzcloud.com/logout") && !stristr($data, "Premium till")) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://dizzcloud.com/login", "", "email={$user}&pass={$pass}"); - return "{$this->lib->GetCookies($data)}"; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data, "File not found or deleted")) $this->error("dead", true, false, 2); - elseif(stristr($data, ">You have exceeded the daily limit on downloads<")) $this->error("LimitAcc", true, false); - elseif(!$this->isredirect($data)) { - $data = $this->lib->curl($url, $this->lib->cookie, "getlnk=1", 0, 1); - $page = json_decode($data); - return trim($page->msg); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Dizzcloud.com Download Plugin by giaythuytinh176 [15.11.2013] -* Thanks to Cik-iNaR™@rapidleech.com for your account. -* Downloader Class By [FZ] -*/ +lib->curl("http://dizzcloud.com/", $cookie, ""); + if(stristr($data, ">Premium till ")) return array(true, "Until" .$this->lib->cut_str($data, ">Premium till ", "  <")); + elseif(stristr($data, "http://dizzcloud.com/logout") && !stristr($data, "Premium till")) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://dizzcloud.com/login", "", "email={$user}&pass={$pass}"); + return "{$this->lib->GetCookies($data)}"; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data, "File not found or deleted")) $this->error("dead", true, false, 2); + elseif(stristr($data, ">You have exceeded the daily limit on downloads<")) $this->error("LimitAcc", true, false); + elseif(!$this->isredirect($data)) { + $data = $this->lib->curl($url, $this->lib->cookie, "getlnk=1", 0, 1); + $page = json_decode($data); + return trim($page->msg); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Dizzcloud.com Download Plugin by giaythuytinh176 [15.11.2013] +* Thanks to Cik-iNaR™@rapidleech.com for your account. +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/dl3_junocloud_me.php b/hosts/dl3_junocloud_me.php similarity index 100% rename from vinaget/vng270/hosts/dl3_junocloud_me.php rename to hosts/dl3_junocloud_me.php diff --git a/vinaget/vng270/hosts/dropbox_com.php b/hosts/dropbox_com.php similarity index 95% rename from vinaget/vng270/hosts/dropbox_com.php rename to hosts/dropbox_com.php index 4b7db7d..139f7e5 100644 --- a/vinaget/vng270/hosts/dropbox_com.php +++ b/hosts/dropbox_com.php @@ -1,22 +1,22 @@ -lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(preg_match('@https?:\/\/dl\.dropboxusercontent\.com\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Dropbox.com Download Plugin by giaythuytinh176 [24.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(preg_match('@https?:\/\/dl\.dropboxusercontent\.com\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Dropbox.com Download Plugin by giaythuytinh176 [24.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/easy-share_com.php b/hosts/easy-share_com.php similarity index 100% rename from vinaget/vng270/hosts/easy-share_com.php rename to hosts/easy-share_com.php diff --git a/vinaget/vng270/hosts/easybytez_com.php b/hosts/easybytez_com.php similarity index 97% rename from vinaget/vng270/hosts/easybytez_com.php rename to hosts/easybytez_com.php index 1ddd271..207e873 100644 --- a/vinaget/vng270/hosts/easybytez_com.php +++ b/hosts/easybytez_com.php @@ -1,53 +1,53 @@ -lib->curl("http://www.easybytez.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','lib->curl("http://www.easybytez.com/", "lang=english", ""); - $rand = $this->lib->cut_str($cutrand, 'name="rand" value="', '">'); - $data = $this->lib->curl("http://www.easybytez.com/", "lang=english", "login={$user}&password={$pass}&op=login2&rand={$rand}&redirect=http://www.easybytez.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false); - elseif(preg_match('/href="(http.+)">http/i', $this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px', ''), $link)) - return trim($link[1]); - } - if(stristr($data,'>Password:
The uploader deleted the file.<') || stristr($data,'>File Not Found<')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, 'Form name="F1"', '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $cut = $this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px', ''); - if(preg_match('/href="(http.+)">http/i', $this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px', ''), $link)) - return trim($link[1]); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Easybytez Download Plugin by giaythuytinh176 [10.8.2013][22.11.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://www.easybytez.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','lib->curl("http://www.easybytez.com/", "lang=english", ""); + $rand = $this->lib->cut_str($cutrand, 'name="rand" value="', '">'); + $data = $this->lib->curl("http://www.easybytez.com/", "lang=english", "login={$user}&password={$pass}&op=login2&rand={$rand}&redirect=http://www.easybytez.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '
')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false); + elseif(preg_match('/href="(http.+)">http/i', $this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px', ''), $link)) + return trim($link[1]); + } + if(stristr($data,'>Password: The uploader deleted the file.<') || stristr($data,'>File Not Found<')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, 'Form name="F1"', '
')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $cut = $this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px', ''); + if(preg_match('/href="(http.+)">http/i', $this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px', ''), $link)) + return trim($link[1]); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Easybytez Download Plugin by giaythuytinh176 [10.8.2013][22.11.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/egofiles_com.php b/hosts/egofiles_com.php similarity index 96% rename from vinaget/vng270/hosts/egofiles_com.php rename to hosts/egofiles_com.php index f162824..afa2d27 100644 --- a/vinaget/vng270/hosts/egofiles_com.php +++ b/hosts/egofiles_com.php @@ -1,35 +1,35 @@ -lib->curl("http://egofiles.com", "lang=en;".$cookie, ""); - if(stristr($data, 'Free User')) return array(false, "accfree"); - elseif(stristr($data, 'Premium')) return array(true, "accpremium"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://egofiles.com/ajax/register.php", "lang=en", "log=1&loginV={$user}&passV={$pass}"); - $cookie = "lang=en;".$this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if (stristr($data,"404 File not found")) $this->error("dead", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Egofiles Download Plugin by djkristoph -* Downloader Class By [FZ] -* Fixed check account by giaythuytinh176 [7.8.2013] -*/ +lib->curl("http://egofiles.com", "lang=en;".$cookie, ""); + if(stristr($data, 'Free User')) return array(false, "accfree"); + elseif(stristr($data, 'Premium')) return array(true, "accpremium"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://egofiles.com/ajax/register.php", "lang=en", "log=1&loginV={$user}&passV={$pass}"); + $cookie = "lang=en;".$this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if (stristr($data,"404 File not found")) $this->error("dead", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Egofiles Download Plugin by djkristoph +* Downloader Class By [FZ] +* Fixed check account by giaythuytinh176 [7.8.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/exclusivefaile_com.php b/hosts/exclusivefaile_com.php similarity index 97% rename from vinaget/vng270/hosts/exclusivefaile_com.php rename to hosts/exclusivefaile_com.php index abea832..38c7db2 100644 --- a/vinaget/vng270/hosts/exclusivefaile_com.php +++ b/hosts/exclusivefaile_com.php @@ -1,52 +1,52 @@ -lib->curl("http://exclusivefaile.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'font-size:17px;">Premium account expire: ', '')); - else if(stristr($data, 'E-mail') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://exclusivefaile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '
')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?exclusivefaile\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $this->lib->cut_str($data, 'dotted #bbb;padding:7px;line-height:29px;">', '">http'), $giay)) - return trim($giay[0]); - } - if($this->isredirect($data)) return trim($this->redirect); - elseif(stristr($data,'Downloads are disabled for your country:')) $this->error("blockCountry", true, false); - elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/(\w+\.)?exclusivefaile\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $this->lib->cut_str($data, 'dotted #bbb;padding:7px;line-height:29px;">', '">http'), $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Exclusivefaile Download Plugin by giaythuytinh176 [31.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://exclusivefaile.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'font-size:17px;">Premium account expire: ', '')); + else if(stristr($data, 'E-mail') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://exclusivefaile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?exclusivefaile\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $this->lib->cut_str($data, 'dotted #bbb;padding:7px;line-height:29px;">', '">http'), $giay)) + return trim($giay[0]); + } + if($this->isredirect($data)) return trim($this->redirect); + elseif(stristr($data,'Downloads are disabled for your country:')) $this->error("blockCountry", true, false); + elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/(\w+\.)?exclusivefaile\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $this->lib->cut_str($data, 'dotted #bbb;padding:7px;line-height:29px;">', '">http'), $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Exclusivefaile Download Plugin by giaythuytinh176 [31.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/expressleech_com.php b/hosts/expressleech_com.php similarity index 97% rename from vinaget/vng270/hosts/expressleech_com.php rename to hosts/expressleech_com.php index 7ef7a6b..80c2c13 100644 --- a/vinaget/vng270/hosts/expressleech_com.php +++ b/hosts/expressleech_com.php @@ -1,51 +1,51 @@ -lib->curl("http://expressleech.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'http://expressleech.com/?op=payments">Upgrade to premium')) return array(false, "accfree"); - elseif(stristr($data, 'Premium Account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium Account expire:','')); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://expressleech.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - $link = $this->lib->cut_str($this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px;">', ''), 'href="', '">'); - return trim($link); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data, "The file was deleted by its owner ")) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $link = $this->lib->cut_str($this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px;">', ''), 'href="', '">'); - return trim($link); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Expressleech Download Plugin by riping -* Downloader Class By [FZ] -* Fixed by giaythuytinh176 [12.9.2013] -*/ +lib->curl("http://expressleech.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'http://expressleech.com/?op=payments">Upgrade to premium')) return array(false, "accfree"); + elseif(stristr($data, 'Premium Account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium Account expire:','')); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://expressleech.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + $link = $this->lib->cut_str($this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px;">', ''), 'href="', '">'); + return trim($link); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data, "The file was deleted by its owner ")) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $link = $this->lib->cut_str($this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px;">', ''), 'href="', '">'); + return trim($link); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Expressleech Download Plugin by riping +* Downloader Class By [FZ] +* Fixed by giaythuytinh176 [12.9.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/extabit_com.php b/hosts/extabit_com.php similarity index 100% rename from vinaget/vng270/hosts/extabit_com.php rename to hosts/extabit_com.php diff --git a/vinaget/vng270/hosts/fastshare_cz.php b/hosts/fastshare_cz.php similarity index 97% rename from vinaget/vng270/hosts/fastshare_cz.php rename to hosts/fastshare_cz.php index d1f7b38..53b9e77 100644 --- a/vinaget/vng270/hosts/fastshare_cz.php +++ b/hosts/fastshare_cz.php @@ -1,38 +1,38 @@ -lib->curl("http://fastshare.cz/user", "lang=en;{$cookie}", ""); - preg_match('/(\d+\.\d+) GB    /i', $data, $credit); - if($credit[1] == 0) return array(false, "accfree"); - else if($credit[1] > 0) return array(true, "Credit ".$this->lib->cut_str($this->lib->cut_str($data, '>Credit', '>Direct download'), '', '   ')); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://fastshare.cz/sql.php", "lang=en", "login={$user}&heslo={$pass}"); - $cookie = "lang=en;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'>The file has been deleted at request of its copyright owner.')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - if(preg_match('/href="(http:\/\/data\d+\.fastshare\.cz\/download\.php.+)">/i', $data, $giay)) return trim($giay[1]); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* fastshare.cz Download Plugin by giaythuytinh176 [23.9.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://fastshare.cz/user", "lang=en;{$cookie}", ""); + preg_match('/(\d+\.\d+) GB    /i', $data, $credit); + if($credit[1] == 0) return array(false, "accfree"); + else if($credit[1] > 0) return array(true, "Credit ".$this->lib->cut_str($this->lib->cut_str($data, '>Credit', '>Direct download'), '', '   ')); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://fastshare.cz/sql.php", "lang=en", "login={$user}&heslo={$pass}"); + $cookie = "lang=en;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'>The file has been deleted at request of its copyright owner.')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + if(preg_match('/href="(http:\/\/data\d+\.fastshare\.cz\/download\.php.+)">/i', $data, $giay)) return trim($giay[1]); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* fastshare.cz Download Plugin by giaythuytinh176 [23.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/file1_info.php b/hosts/file1_info.php similarity index 96% rename from vinaget/vng270/hosts/file1_info.php rename to hosts/file1_info.php index 02c25a7..0121bf1 100644 --- a/vinaget/vng270/hosts/file1_info.php +++ b/hosts/file1_info.php @@ -1,26 +1,26 @@ -lib->curl($url, "", ""); - if (stristr($data, "Not Found") || stristr($data, "This file does not exist or has been removed")) $this->error("dead", true, false, 2); - elseif(preg_match('@https?:\/\/s(\d+)?\.file1\.info\/[a-z0-9]+@i', $data, $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* file1.info Download Plugin by giaythuytinh176 [12.8.2013] -* Downloader Class By [FZ] -*/ +lib->curl($url, "", ""); + if (stristr($data, "Not Found") || stristr($data, "This file does not exist or has been removed")) $this->error("dead", true, false, 2); + elseif(preg_match('@https?:\/\/s(\d+)?\.file1\.info\/[a-z0-9]+@i', $data, $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* file1.info Download Plugin by giaythuytinh176 [12.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filebox_com.php b/hosts/filebox_com.php similarity index 97% rename from vinaget/vng270/hosts/filebox_com.php rename to hosts/filebox_com.php index d64864f..1f51434 100644 --- a/vinaget/vng270/hosts/filebox_com.php +++ b/hosts/filebox_com.php @@ -1,41 +1,41 @@ -lib->curl("http://www.filebox.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.filebox.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'

This file is no longer available

')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/www(\d+\.)?filebox\.com(:\d+)?\/d\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $this->lib->cut_str($data, 'onclick="document.location=\'', '\'" value=\'Download\' />
'), $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Filebox Download Plugin by giaythuytinh176 [30.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://www.filebox.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.filebox.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'

This file is no longer available

')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/www(\d+\.)?filebox\.com(:\d+)?\/d\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $this->lib->cut_str($data, 'onclick="document.location=\'', '\'" value=\'Download\' />
'), $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Filebox Download Plugin by giaythuytinh176 [30.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filechin_com.php b/hosts/filechin_com.php similarity index 98% rename from vinaget/vng270/hosts/filechin_com.php rename to hosts/filechin_com.php index a076a50..764bad4 100644 --- a/vinaget/vng270/hosts/filechin_com.php +++ b/hosts/filechin_com.php @@ -1,114 +1,114 @@ -lib->curl("http://www.filechin.com/?op=checkfiles", "", "op=checkfiles&process=Check URLs&list=".urlencode($url)); - $data = $this->lib->cut_str($page, '', '
'); - if(stristr($data,'>Found')) $url = $this->lib->cut_str($data, '', 'error("dead", true, false, 2); - } - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.filechin.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); - else if(stristr($data, 'Old password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.filechin.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.filechin.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { //Thanks to Th3-822@rapidleech.com - list($url, $pass) = $this->linkpassword($url); - $page = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($page)); - $post = $this->parseForm($this->lib->cut_str($page, 'Form method="POST" action=', '')); - $post['method_free'] = "Free Download"; - $post['method_premium'] = ""; - - $page = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@You have reached the download-limit: \d+ Mb for last 1 days@i', $page, $limit)) $this->error($limit[0], true, false); - if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $page, $count)) $this->error($count[0], true, false); - if(preg_match('@You can download files up to \d+ [KMG]b only@i', $page, $sizelim)) $this->error($sizelim[0], true, false); - - $post = $this->parseForm($this->lib->cut_str($page, '
')); - $post['method_free'] = "Free Download"; - - if (!preg_match_all("@]*padding-left\s*:\s*(\d+)[^\'>]*'[^>]*>((?:&#\w+;)|(?:\d))@i", $this->lib->cut_str($page, ''), $spans)) - $this->error("Error: Cannot decode captcha.", true, false); - else { - $spans = array_combine($spans[1], $spans[2]); - ksort($spans, SORT_NUMERIC); - $captcha = ''; - foreach ($spans as $digit) $captcha .= $digit; - $post['code'] = html_entity_decode($captcha); - - if(preg_match('@]*>[^<>]+]*>(\d+)[^<>]+@i', $this->lib->cut_str($page, ''), $count) && $count[1] > 0) - sleep($count[1]); - - if($pass) { - $post = $this->parseForm($this->lib->cut_str($page, '')); - $post['method_free'] = "Free Download"; - $post["password"] = $pass; - $post['code'] = html_entity_decode($captcha); - $page = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($page,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(stristr($page,'>Skipped countdown')) $this->error("Error: Skipped countdown?.", true, false); - elseif(stristr($page,'>Wrong captcha<')) $this->error("Error: Unknown error after sending decoded captcha.", true, false); - elseif(stristr($page,'>Expired session<')) $this->error("Error: Expired Download Session.", true, false); - elseif(preg_match('@You can download files up to \d+ [KMG]b only.@i', $page, $err)) $this->error('Error: '.$err[0], true, false); - elseif(preg_match('@http:\/\/\w+\.filechin\.com:443\/dl\/[^"\'><\r\n\t]+@i', $page, $link)) - return trim($link[0]); - } - if(stristr($page,'')) $this->error("reportpass", true, false); - - $page = $this->lib->curl($url, $this->lib->cookie, $post); - - if(stristr($page,'>Skipped countdown')) $this->error("Error: Skipped countdown?.", true, false); - elseif(stristr($page,'>Wrong captcha<')) $this->error("Error: Unknown error after sending decoded captcha.", true, false); - elseif(stristr($page,'>Expired session<')) $this->error("Error: Expired Download Session.", true, false); - elseif(preg_match('@You can download files up to \d+ [KMG]b only.@i', $page, $err)) $this->error('Error: '.$err[0], true, false); - elseif(preg_match('@http:\/\/\w+\.filechin\.com:443\/dl\/[^"\'><\r\n\t]+@i', $page, $link)) - return trim($link[0]); - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@http:\/\/\w+\.filechin\.com:443\/dl\/[^"\'><\r\n\t]+@i', $data, $link)) - return trim($link[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'You have reached the download-limit:')) $this->error("LimitAcc", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@http:\/\/\w+\.filechin\.com:443\/dl\/[^"\'><\r\n\t]+@i', $data, $link)) - return trim($link[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* filechin.com Download Plugin by giaythuytinh176 [17.8.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://www.filechin.com/?op=checkfiles", "", "op=checkfiles&process=Check URLs&list=".urlencode($url)); + $data = $this->lib->cut_str($page, '', '
'); + if(stristr($data,'>Found')) $url = $this->lib->cut_str($data, '', 'error("dead", true, false, 2); + } + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.filechin.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); + else if(stristr($data, 'Old password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.filechin.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.filechin.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { //Thanks to Th3-822@rapidleech.com + list($url, $pass) = $this->linkpassword($url); + $page = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($page)); + $post = $this->parseForm($this->lib->cut_str($page, 'Form method="POST" action=', '
')); + $post['method_free'] = "Free Download"; + $post['method_premium'] = ""; + + $page = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@You have reached the download-limit: \d+ Mb for last 1 days@i', $page, $limit)) $this->error($limit[0], true, false); + if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $page, $count)) $this->error($count[0], true, false); + if(preg_match('@You can download files up to \d+ [KMG]b only@i', $page, $sizelim)) $this->error($sizelim[0], true, false); + + $post = $this->parseForm($this->lib->cut_str($page, '
')); + $post['method_free'] = "Free Download"; + + if (!preg_match_all("@]*padding-left\s*:\s*(\d+)[^\'>]*'[^>]*>((?:&#\w+;)|(?:\d))@i", $this->lib->cut_str($page, ''), $spans)) + $this->error("Error: Cannot decode captcha.", true, false); + else { + $spans = array_combine($spans[1], $spans[2]); + ksort($spans, SORT_NUMERIC); + $captcha = ''; + foreach ($spans as $digit) $captcha .= $digit; + $post['code'] = html_entity_decode($captcha); + + if(preg_match('@]*>[^<>]+]*>(\d+)[^<>]+@i', $this->lib->cut_str($page, ''), $count) && $count[1] > 0) + sleep($count[1]); + + if($pass) { + $post = $this->parseForm($this->lib->cut_str($page, '')); + $post['method_free'] = "Free Download"; + $post["password"] = $pass; + $post['code'] = html_entity_decode($captcha); + $page = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($page,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(stristr($page,'>Skipped countdown')) $this->error("Error: Skipped countdown?.", true, false); + elseif(stristr($page,'>Wrong captcha<')) $this->error("Error: Unknown error after sending decoded captcha.", true, false); + elseif(stristr($page,'>Expired session<')) $this->error("Error: Expired Download Session.", true, false); + elseif(preg_match('@You can download files up to \d+ [KMG]b only.@i', $page, $err)) $this->error('Error: '.$err[0], true, false); + elseif(preg_match('@http:\/\/\w+\.filechin\.com:443\/dl\/[^"\'><\r\n\t]+@i', $page, $link)) + return trim($link[0]); + } + if(stristr($page,'')) $this->error("reportpass", true, false); + + $page = $this->lib->curl($url, $this->lib->cookie, $post); + + if(stristr($page,'>Skipped countdown')) $this->error("Error: Skipped countdown?.", true, false); + elseif(stristr($page,'>Wrong captcha<')) $this->error("Error: Unknown error after sending decoded captcha.", true, false); + elseif(stristr($page,'>Expired session<')) $this->error("Error: Expired Download Session.", true, false); + elseif(preg_match('@You can download files up to \d+ [KMG]b only.@i', $page, $err)) $this->error('Error: '.$err[0], true, false); + elseif(preg_match('@http:\/\/\w+\.filechin\.com:443\/dl\/[^"\'><\r\n\t]+@i', $page, $link)) + return trim($link[0]); + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@http:\/\/\w+\.filechin\.com:443\/dl\/[^"\'><\r\n\t]+@i', $data, $link)) + return trim($link[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'You have reached the download-limit:')) $this->error("LimitAcc", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@http:\/\/\w+\.filechin\.com:443\/dl\/[^"\'><\r\n\t]+@i', $data, $link)) + return trim($link[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* filechin.com Download Plugin by giaythuytinh176 [17.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filecloud_io.php b/hosts/filecloud_io.php similarity index 97% rename from vinaget/vng270/hosts/filecloud_io.php rename to hosts/filecloud_io.php index 81d3171..8b1e329 100644 --- a/vinaget/vng270/hosts/filecloud_io.php +++ b/hosts/filecloud_io.php @@ -1,32 +1,32 @@ -lib->curl("https://secure.filecloud.io/user-login_p.html", "lang=en", "username={$user}&password={$pass}"); - return "lang=en;{$this->lib->GetCookies($data)}"; - } - - public function Leech($url) { - $data = $this->lib->curl('http://urlchecker.net/', "", 'links='.urlencode($url).'&submit=Check Links'); - $data = $this->lib->cut_str($data, '', 'class="live'); - if(stristr($data,'Working')) $url = $this->lib->cut_str($data, 'href="', '" target'); - else $this->error("dead", true, false, 2); - $url = str_relace("ifile.it", "filecloud.io", $url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($this->isredirect($data)) return trim($this->redirect); - elseif(empty($data) == true) $this->error("dead", true, false, 2); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Bitshare.com Download Plugin -* Downloader Class By [FZ] -* filecloud.io Download Plugin By giaythuytinh176 [6.9.2013] -*/ +lib->curl("https://secure.filecloud.io/user-login_p.html", "lang=en", "username={$user}&password={$pass}"); + return "lang=en;{$this->lib->GetCookies($data)}"; + } + + public function Leech($url) { + $data = $this->lib->curl('http://urlchecker.net/', "", 'links='.urlencode($url).'&submit=Check Links'); + $data = $this->lib->cut_str($data, '', 'class="live'); + if(stristr($data,'Working')) $url = $this->lib->cut_str($data, 'href="', '" target'); + else $this->error("dead", true, false, 2); + $url = str_relace("ifile.it", "filecloud.io", $url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($this->isredirect($data)) return trim($this->redirect); + elseif(empty($data) == true) $this->error("dead", true, false, 2); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Bitshare.com Download Plugin +* Downloader Class By [FZ] +* filecloud.io Download Plugin By giaythuytinh176 [6.9.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filefactory_com.php b/hosts/filefactory_com.php similarity index 100% rename from vinaget/vng270/hosts/filefactory_com.php rename to hosts/filefactory_com.php diff --git a/vinaget/vng270/hosts/filegagpro_com.php b/hosts/filegagpro_com.php similarity index 97% rename from vinaget/vng270/hosts/filegagpro_com.php rename to hosts/filegagpro_com.php index b832051..c01d232 100644 --- a/vinaget/vng270/hosts/filegagpro_com.php +++ b/hosts/filegagpro_com.php @@ -1,49 +1,49 @@ -lib->curl("http://www.filegagpro.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium-Account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '','')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium-Account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.filegagpro.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.filegagpro.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("reportpass", true, false); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if (stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); - elseif(stristr($data,'Password: error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else - return trim($this->redirect); - return false; - } -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* filegagpro.com Download Plugin by giaythuytinh176 [29.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://www.filegagpro.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium-Account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '','')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium-Account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.filegagpro.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.filegagpro.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("reportpass", true, false); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if (stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); + elseif(stristr($data,'Password: error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else + return trim($this->redirect); + return false; + } +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* filegagpro.com Download Plugin by giaythuytinh176 [29.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filemarkets_com.php b/hosts/filemarkets_com.php similarity index 100% rename from vinaget/vng270/hosts/filemarkets_com.php rename to hosts/filemarkets_com.php diff --git a/vinaget/vng270/hosts/fileom_com.php b/hosts/fileom_com.php similarity index 98% rename from vinaget/vng270/hosts/fileom_com.php rename to hosts/fileom_com.php index 889135f..96f63bb 100644 --- a/vinaget/vng270/hosts/fileom_com.php +++ b/hosts/fileom_com.php @@ -1,48 +1,48 @@ -lib->curl("http://fileom.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until " .$this->lib->cut_str($data, 'Premium account expire:',''). "
Traffic available today: " .$this->lib->cut_str($data, 'Traffic available today:','')); - elseif(stristr($data, 'Username:') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://fileom.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://fileom.com/"); - return "lang=english; {$this->lib->GetCookies($data)}"; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - else return trim($this->lib->cut_str($this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px;">', ''), 'href="', '">')); - } - if(stristr($data,'Password: error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(preg_match('@You have reached the download-limit of (\d+) (T|G|M|K)b for last (\d+) days?@i', $data, $redir)) $this->error($redir[0], true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - return trim($this->lib->cut_str($this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px;">', ''), 'href="', '">')); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* fileom Download Plugin by giaythuytinh176 [6.8.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://fileom.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until " .$this->lib->cut_str($data, 'Premium account expire:',''). "
Traffic available today: " .$this->lib->cut_str($data, 'Traffic available today:','')); + elseif(stristr($data, 'Username:') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://fileom.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://fileom.com/"); + return "lang=english; {$this->lib->GetCookies($data)}"; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + else return trim($this->lib->cut_str($this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px;">', ''), 'href="', '">')); + } + if(stristr($data,'Password: error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(preg_match('@You have reached the download-limit of (\d+) (T|G|M|K)b for last (\d+) days?@i', $data, $redir)) $this->error($redir[0], true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + return trim($this->lib->cut_str($this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px;">', ''), 'href="', '">')); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* fileom Download Plugin by giaythuytinh176 [6.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filepost_com.php b/hosts/filepost_com.php similarity index 100% rename from vinaget/vng270/hosts/filepost_com.php rename to hosts/filepost_com.php diff --git a/vinaget/vng270/hosts/files2upload_net.php b/hosts/files2upload_net.php similarity index 97% rename from vinaget/vng270/hosts/files2upload_net.php rename to hosts/files2upload_net.php index 0268b6a..13f938e 100644 --- a/vinaget/vng270/hosts/files2upload_net.php +++ b/hosts/files2upload_net.php @@ -1,55 +1,55 @@ -lib->curl("http://files2upload.net/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire: ','<')); - else if(stristr($data, 'E-mail') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://files2upload.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://files2upload.net/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(!preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - $this->error("notfound", true, false, 2); - else - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(!preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - $this->error("notfound", true, false, 2); - else - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* files2upload Download Plugin by giaythuytinh176 [30.8.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://files2upload.net/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire: ','<')); + else if(stristr($data, 'E-mail') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://files2upload.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://files2upload.net/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(!preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + $this->error("notfound", true, false, 2); + else + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(!preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + $this->error("notfound", true, false, 2); + else + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* files2upload Download Plugin by giaythuytinh176 [30.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filesflash_com.php b/hosts/filesflash_com.php similarity index 97% rename from vinaget/vng270/hosts/filesflash_com.php rename to hosts/filesflash_com.php index 2ee9723..b8c3086 100644 --- a/vinaget/vng270/hosts/filesflash_com.php +++ b/hosts/filesflash_com.php @@ -1,34 +1,34 @@ -lib->curl("http://filesflash.com/myaccount.php", "googtrans=/en/en;".$cookie, ""); - if(stristr($data, 'Premium Status:') && !stristr($data, 'Not Premium')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium Status:',' (
Buy Premium')); - elseif(stristr($data, 'Not Premium')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://filesflash.com/login.php", "googtrans=/en/en", "email={$user}&password={$pass}&submit=Submit"); - $cookie = "googtrans=/en/en;".$this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($this->isredirect($data)) return trim($this->redirect); - elseif(stristr($data, "That file has been deleted.")) $this->error("dead", true, false, 2); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Filesflash Download Plugin by giaythuytinh176 [29.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://filesflash.com/myaccount.php", "googtrans=/en/en;".$cookie, ""); + if(stristr($data, 'Premium Status:') && !stristr($data, 'Not Premium')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium Status:',' (Buy Premium')); + elseif(stristr($data, 'Not Premium')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://filesflash.com/login.php", "googtrans=/en/en", "email={$user}&password={$pass}&submit=Submit"); + $cookie = "googtrans=/en/en;".$this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($this->isredirect($data)) return trim($this->redirect); + elseif(stristr($data, "That file has been deleted.")) $this->error("dead", true, false, 2); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Filesflash Download Plugin by giaythuytinh176 [29.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filesmonster_com.php b/hosts/filesmonster_com.php similarity index 97% rename from vinaget/vng270/hosts/filesmonster_com.php rename to hosts/filesmonster_com.php index 352ccea..0f37881 100644 --- a/vinaget/vng270/hosts/filesmonster_com.php +++ b/hosts/filesmonster_com.php @@ -1,47 +1,47 @@ -lib->curl("http://filesmonster.com/", "yab_ulang=en;".$cookie, ""); - if(stristr($data, 'Your membership type: Registered')) return array(false, "accfree"); - elseif(stristr($data, 'Your membership type: Premium') && !stristr($data, '>Expired:')) return array(true, "Until ".$this->lib->cut_str($data, 'Valid until: ','
Expired:")) return array(false, "Account Expired!"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://filesmonster.com/login.php", "yab_ulang=en", "act=login&user={$user}&pass={$pass}&captcha_shown=0&login=Login"); - $cookie = "yab_ulang=en;".$this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'File not found') || stristr($data,'

The link could not be decoded

')) - $this->error("dead", true, false, 2); - elseif(stristr($data,'Today you have already downloaded')) $this->error("LimitAcc", true, false); - elseif(preg_match('/href="(https?:\/\/filesmonster\.com\/get\/[^"\'><\r\n\t]+)">/', $data, $data1)) { - $data2 = $this->lib->curl($data1[1], $this->lib->cookie, ""); - if(preg_match('/get_link\("([^"\'><\r\n\t]+)"\)/', $data2, $data3)) { - $data4 = $this->lib->curl("http://filesmonster.com".$data3[1], $this->lib->cookie, ""); - if(preg_match('%url":"(https?:.+fmdepo.net.+)"%U', $data4, $giay)) { - $giay = str_replace('\\', '', $giay[1]); - $giay = str_replace("https", "http", $giay); - return trim($giay); - } - } - } - return false; - } - -} -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Downloader Class By [FZ] -* FilesMonster.com Download Plugin by giaythuytinh176 -* Date: 23.7.2013 -*/ +lib->curl("http://filesmonster.com/", "yab_ulang=en;".$cookie, ""); + if(stristr($data, 'Your membership type: Registered')) return array(false, "accfree"); + elseif(stristr($data, 'Your membership type: Premium') && !stristr($data, '>Expired:')) return array(true, "Until ".$this->lib->cut_str($data, 'Valid until: ','
Expired:")) return array(false, "Account Expired!"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://filesmonster.com/login.php", "yab_ulang=en", "act=login&user={$user}&pass={$pass}&captcha_shown=0&login=Login"); + $cookie = "yab_ulang=en;".$this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'File not found') || stristr($data,'

The link could not be decoded

')) + $this->error("dead", true, false, 2); + elseif(stristr($data,'Today you have already downloaded')) $this->error("LimitAcc", true, false); + elseif(preg_match('/href="(https?:\/\/filesmonster\.com\/get\/[^"\'><\r\n\t]+)">/', $data, $data1)) { + $data2 = $this->lib->curl($data1[1], $this->lib->cookie, ""); + if(preg_match('/get_link\("([^"\'><\r\n\t]+)"\)/', $data2, $data3)) { + $data4 = $this->lib->curl("http://filesmonster.com".$data3[1], $this->lib->cookie, ""); + if(preg_match('%url":"(https?:.+fmdepo.net.+)"%U', $data4, $giay)) { + $giay = str_replace('\\', '', $giay[1]); + $giay = str_replace("https", "http", $giay); + return trim($giay); + } + } + } + return false; + } + +} +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Downloader Class By [FZ] +* FilesMonster.com Download Plugin by giaythuytinh176 +* Date: 23.7.2013 +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filestay_com.php b/hosts/filestay_com.php similarity index 97% rename from vinaget/vng270/hosts/filestay_com.php rename to hosts/filestay_com.php index 378df50..b03991e 100644 --- a/vinaget/vng270/hosts/filestay_com.php +++ b/hosts/filestay_com.php @@ -1,51 +1,51 @@ -lib->curl("http://filestay.com/?op=my_account", "lang=english;".$cookie, ""); - if(stristr($data, '
Premium until
')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '
Premium until
','
'), '
', '
')); - else if(stristr($data, '
Normal
')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://filestay.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://filestay.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/ftp(\d+\.)?filestay\.com:182\/d\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/ftp(\d+\.)?filestay\.com:182\/d\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* filestay Download Plugin by giaythuytinh176 [21.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://filestay.com/?op=my_account", "lang=english;".$cookie, ""); + if(stristr($data, '
Premium until
')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '
Premium until
','
'), '
', '
')); + else if(stristr($data, '
Normal
')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://filestay.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://filestay.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/ftp(\d+\.)?filestay\.com:182\/d\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/ftp(\d+\.)?filestay\.com:182\/d\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* filestay Download Plugin by giaythuytinh176 [21.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filestoragepro_net.php b/hosts/filestoragepro_net.php similarity index 97% rename from vinaget/vng270/hosts/filestoragepro_net.php rename to hosts/filestoragepro_net.php index 936b065..4de059b 100644 --- a/vinaget/vng270/hosts/filestoragepro_net.php +++ b/hosts/filestoragepro_net.php @@ -1,53 +1,53 @@ -lib->curl("http://filestoragepro.net/en/members.php", "mfh_mylang=en;".$cookie, ""); - if(stristr($data, 'http://filestoragepro.net/index.php?logout=1')) return array(true, "accpremium"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://filestoragepro.net/en/login.php", "mfh_mylang=en", "user={$user}&pass={$pass}&act=login&autologin=1&login=Log me in&refer_url="); - $cookie = "mfh_mylang=en;".$this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, "That file has been deleted.")) $this->error("dead", true, false, 2); - if($pass) { - $post["downloadverify"] = "1"; - $post["d"] = "1"; - $post["downloadpw"] = $pass; - $post["Update"] = "Submit"; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Password Error')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/filestoragepro\.net\/getfile\.php\?id=\d+\&a=[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'name="downloadpw')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post["downloadverify"] = "1"; - $post["d"] = "1"; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/filestoragepro\.net\/getfile\.php\?id=\d+\&a=[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Filestoragepro Download Plugin by giaythuytinh176 [30.7.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://filestoragepro.net/en/members.php", "mfh_mylang=en;".$cookie, ""); + if(stristr($data, 'http://filestoragepro.net/index.php?logout=1')) return array(true, "accpremium"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://filestoragepro.net/en/login.php", "mfh_mylang=en", "user={$user}&pass={$pass}&act=login&autologin=1&login=Log me in&refer_url="); + $cookie = "mfh_mylang=en;".$this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, "That file has been deleted.")) $this->error("dead", true, false, 2); + if($pass) { + $post["downloadverify"] = "1"; + $post["d"] = "1"; + $post["downloadpw"] = $pass; + $post["Update"] = "Submit"; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Password Error')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/filestoragepro\.net\/getfile\.php\?id=\d+\&a=[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'name="downloadpw')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post["downloadverify"] = "1"; + $post["d"] = "1"; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/filestoragepro\.net\/getfile\.php\?id=\d+\&a=[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Filestoragepro Download Plugin by giaythuytinh176 [30.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filevice_com.php b/hosts/filevice_com.php similarity index 97% rename from vinaget/vng270/hosts/filevice_com.php rename to hosts/filevice_com.php index 4ffcf11..a4e9d62 100644 --- a/vinaget/vng270/hosts/filevice_com.php +++ b/hosts/filevice_com.php @@ -1,49 +1,49 @@ -lib->curl("http://filevice.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); - else if(stristr($data, 'Old password') && !stristr($data, 'Direct downloads')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://filevice.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://filevice.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('%href="(http:.+:182\/d\/.+)">http:%U', $data, $link)) return trim($link[1]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('%href="(http:.+:182\/d\/.+)">http:%U', $data, $link)) return trim($link[1]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* filevice Download Plugin by giaythuytinh176 [11.9.2013] -* Downloader Class By [FZ] -*/ +lib->curl("http://filevice.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:','')); + else if(stristr($data, 'Old password') && !stristr($data, 'Direct downloads')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://filevice.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://filevice.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('%href="(http:.+:182\/d\/.+)">http:%U', $data, $link)) return trim($link[1]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('%href="(http:.+:182\/d\/.+)">http:%U', $data, $link)) return trim($link[1]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* filevice Download Plugin by giaythuytinh176 [11.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/filezy_net.php b/hosts/filezy_net.php similarity index 97% rename from vinaget/vng270/hosts/filezy_net.php rename to hosts/filezy_net.php index 025db0e..c2d50b5 100644 --- a/vinaget/vng270/hosts/filezy_net.php +++ b/hosts/filezy_net.php @@ -1,69 +1,69 @@ -lib->curl("http://filezy.net/my_account.html", "lang=english;{$cookie}", ""); - if(stristr($data, '

Direct Download

')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '

Premium

','Extend'), '
(',')
')); - else if(stristr($data, 'New password') && !stristr($data, 'Direct Download')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://filezy.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=&checkedTOS=1&submit_btn=Login Now"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, 'lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(!preg_match('@eval\s*\(\s*function\s*\(p,a,c,k,e,d\)\s*\{[^\}]+\}\s*\(\s*\'([^\r|\n]*)\'\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*\'([^\']+)\'\.split\([\'|\"](.)[\'|\"]\)\)\)@', $data, $js)) - $this->error("PACKED code not found", true, false); - else { - $packed = $this->JSun_packer($js[1], $js[2], $js[3], $js[4], $js[5]); - if(preg_match("@href=\\\'(.+)\\\'@i", $packed, $filezyLink)) - return trim($filezyLink[1]); - } - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, 'error("PACKED code not found", true, false); - else { - $packed = $this->JSun_packer($js[1], $js[2], $js[3], $js[4], $js[5]); - if(preg_match("@href=\\\'(.+)\\\'@i", $packed, $filezyLink)) - return trim($filezyLink[1]); - //return trim($this->lib->cut_str($packed, "window.location.href=\'", "\'")); - } - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* filezy.net Download Plugin by giaythuytinh176 [11.8.2013] -* Downloader Class By [FZ] -* Using JSun_packer function by Th3-822 to decrypt the packed link. [RapidLeech plugin] -*/ +lib->curl("http://filezy.net/my_account.html", "lang=english;{$cookie}", ""); + if(stristr($data, '

Direct Download

')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '

Premium

','Extend'), '
(',')
')); + else if(stristr($data, 'New password') && !stristr($data, 'Direct Download')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://filezy.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=&checkedTOS=1&submit_btn=Login Now"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, 'lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(!preg_match('@eval\s*\(\s*function\s*\(p,a,c,k,e,d\)\s*\{[^\}]+\}\s*\(\s*\'([^\r|\n]*)\'\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*\'([^\']+)\'\.split\([\'|\"](.)[\'|\"]\)\)\)@', $data, $js)) + $this->error("PACKED code not found", true, false); + else { + $packed = $this->JSun_packer($js[1], $js[2], $js[3], $js[4], $js[5]); + if(preg_match("@href=\\\'(.+)\\\'@i", $packed, $filezyLink)) + return trim($filezyLink[1]); + } + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, 'error("PACKED code not found", true, false); + else { + $packed = $this->JSun_packer($js[1], $js[2], $js[3], $js[4], $js[5]); + if(preg_match("@href=\\\'(.+)\\\'@i", $packed, $filezyLink)) + return trim($filezyLink[1]); + //return trim($this->lib->cut_str($packed, "window.location.href=\'", "\'")); + } + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* filezy.net Download Plugin by giaythuytinh176 [11.8.2013] +* Downloader Class By [FZ] +* Using JSun_packer function by Th3-822 to decrypt the packed link. [RapidLeech plugin] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/firedrive_com.php b/hosts/firedrive_com.php similarity index 98% rename from vinaget/vng270/hosts/firedrive_com.php rename to hosts/firedrive_com.php index db1c51d..3b144cf 100644 --- a/vinaget/vng270/hosts/firedrive_com.php +++ b/hosts/firedrive_com.php @@ -1,80 +1,80 @@ -lib->curl("http://www.firedrive.com/my_settings", $cookie, ""); - if(stristr($data, '>You currently have a Pro')) { - $checkbw = $this->lib->cut_str($data, '>Ad Free Bandwidth<', '>Upgrade<'); - preg_match("/overview_bottomright_text\" id='storage_total'>(\d+(\.\d+)? (T|G|M|K)B) remaining/i", $checkbw, $bw); - return array(true, "Until " .(strpos($data, 'Pro features end on: ') ? $this->lib->cut_str($data, 'Pro features end on: ', '') : $this->lib->cut_str($data, 'Next billing date: ', '')). "
Free Bandwidth: " .$bw[1]. " remaining"); - } - else if(stristr($data, '>You currently have a Free<')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $post = "user={$user}&pass={$pass}&remember=1&login_submit=Log%20In"; - $data = $this->lib->curl("https://auth.firedrive.com/", "", $post); - return $this->lib->GetCookies($data); - } - - public function FreeLeech($url) { - $url = str_replace('https', 'http', $url); - $url = str_replace('putlocker', 'firedrive', $url); - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, '', ''); - if(stristr($data, '>File is private | Firedrive<')) $this->error('File is private', true, false); - elseif(stristr($data,'404: This file might have been moved, replaced or deleted.')) $this->error("dead", true, false, 2); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $post = array( - 'item_pass' => $pass, - ); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $this->lib->reserved['filename'] = $this->lib->cut_str($data, '', ' | Firedrive<'); - if(stristr($data,'>Wrong Password<')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('/a href="(https?:\/\/dl\.firedrive\.com\/\?key=.*)" t/i', $data, $redir)) - return trim($redir[1]); - } - if(stristr($data,'This file is password protected.')) $this->error("reportpass", true, false); - elseif(stristr($data,'You have exceeded the daily download limit for your country')) $this->error("You have exceeded the daily download limit for your country", true, false); - $data = $this->lib->curl($url, $this->lib->cookie, array('confirm' => $this->lib->cut_str($data, 'confirm" value="', '"/>'))); - $this->lib->reserved['filename'] = $this->lib->cut_str($data, '<title>', ' | Firedrive<'); - if(preg_match('/a href="(https?:\/\/dl\.firedrive\.com\/\?key=.*)" t/i', $data, $redir)) - return trim($redir[1]); - return false; - } - - public function Leech($url) { - $url = str_replace('https', 'http', $url); - $url = str_replace('putlocker', 'firedrive', $url); - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, '>File is private | Firedrive<')) $this->error('File is private', true, false); - if($pass) { - $data = $this->lib->curl($url, $this->lib->cookie, array('item_pass' => $pass,)); - $this->lib->reserved['filename'] = $this->lib->cut_str($data, '<title>', ' | Firedrive<'); - if(stristr($data, '>Wrong Password<')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('/a href="(https?:\/\/dl\.firedrive\.com\/\?key=.*)" t/i', $data, $redir)) - return trim($redir[1]); - } - if(stristr($data, 'This file is password protected.')) $this->error("reportpass", true, false); - elseif(stristr($data, '404: This file might have been moved, replaced or deleted.')) $this->error("dead", true, false, 2); - elseif(preg_match('/a href="(https?:\/\/dl\.firedrive\.com\/\?key=.*)" t/i', $data, $redir)) { - $this->lib->reserved['filename'] = $this->lib->cut_str($data, '<title>', ' | Firedrive<'); - return trim($redir[1]); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* FireDrive Download Plugin by giaythuytinh176 [14.2.2014] -* Downloader Class By [FZ] -*/ +<?php + +class dl_firedrive_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.firedrive.com/my_settings", $cookie, ""); + if(stristr($data, '>You currently have a Pro')) { + $checkbw = $this->lib->cut_str($data, '>Ad Free Bandwidth<', '>Upgrade<'); + preg_match("/overview_bottomright_text\" id='storage_total'>(\d+(\.\d+)? (T|G|M|K)B) remaining/i", $checkbw, $bw); + return array(true, "Until " .(strpos($data, 'Pro features end on: ') ? $this->lib->cut_str($data, 'Pro features end on: ', '</span>') : $this->lib->cut_str($data, 'Next billing date: ', '</span>')). "<br/> Free Bandwidth: " .$bw[1]. " remaining"); + } + else if(stristr($data, '>You currently have a Free<')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $post = "user={$user}&pass={$pass}&remember=1&login_submit=Log%20In"; + $data = $this->lib->curl("https://auth.firedrive.com/", "", $post); + return $this->lib->GetCookies($data); + } + + public function FreeLeech($url) { + $url = str_replace('https', 'http', $url); + $url = str_replace('putlocker', 'firedrive', $url); + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, '', ''); + if(stristr($data, '>File is private | Firedrive<')) $this->error('File is private', true, false); + elseif(stristr($data,'404: This file might have been moved, replaced or deleted.')) $this->error("dead", true, false, 2); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $post = array( + 'item_pass' => $pass, + ); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $this->lib->reserved['filename'] = $this->lib->cut_str($data, '<title>', ' | Firedrive<'); + if(stristr($data,'>Wrong Password<')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('/a href="(https?:\/\/dl\.firedrive\.com\/\?key=.*)" t/i', $data, $redir)) + return trim($redir[1]); + } + if(stristr($data,'This file is password protected.')) $this->error("reportpass", true, false); + elseif(stristr($data,'You have exceeded the daily download limit for your country')) $this->error("You have exceeded the daily download limit for your country", true, false); + $data = $this->lib->curl($url, $this->lib->cookie, array('confirm' => $this->lib->cut_str($data, 'confirm" value="', '"/>'))); + $this->lib->reserved['filename'] = $this->lib->cut_str($data, '<title>', ' | Firedrive<'); + if(preg_match('/a href="(https?:\/\/dl\.firedrive\.com\/\?key=.*)" t/i', $data, $redir)) + return trim($redir[1]); + return false; + } + + public function Leech($url) { + $url = str_replace('https', 'http', $url); + $url = str_replace('putlocker', 'firedrive', $url); + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, '>File is private | Firedrive<')) $this->error('File is private', true, false); + if($pass) { + $data = $this->lib->curl($url, $this->lib->cookie, array('item_pass' => $pass,)); + $this->lib->reserved['filename'] = $this->lib->cut_str($data, '<title>', ' | Firedrive<'); + if(stristr($data, '>Wrong Password<')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('/a href="(https?:\/\/dl\.firedrive\.com\/\?key=.*)" t/i', $data, $redir)) + return trim($redir[1]); + } + if(stristr($data, 'This file is password protected.')) $this->error("reportpass", true, false); + elseif(stristr($data, '404: This file might have been moved, replaced or deleted.')) $this->error("dead", true, false, 2); + elseif(preg_match('/a href="(https?:\/\/dl\.firedrive\.com\/\?key=.*)" t/i', $data, $redir)) { + $this->lib->reserved['filename'] = $this->lib->cut_str($data, '<title>', ' | Firedrive<'); + return trim($redir[1]); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* FireDrive Download Plugin by giaythuytinh176 [14.2.2014] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/fireget_com.php b/hosts/fireget_com.php similarity index 97% rename from vinaget/vng270/hosts/fireget_com.php rename to hosts/fireget_com.php index 48df3f6..fac4e78 100644 --- a/vinaget/vng270/hosts/fireget_com.php +++ b/hosts/fireget_com.php @@ -1,60 +1,60 @@ -<?php - -class dl_fireget_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://fireget.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</b></TD><TD style="padding-left:10px;">','</TD><TD>')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://fireget.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(!$this->isredirect($data)) { - $giay = $this->lib->cut_str($this->lib->cut_str($data, '<div style="padding-left:20px; padding-right:20px;">', '</a></div>'), 'href="', '" style'); - return trim($giay); - } - else - return trim($this->redirect); - } - if(stristr($data,'You have reached the download-limit:')) $this->error("LimitAcc", true, false); - elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - if(!stristr($data, "Create Download Link")) - $this->error("Cannot get Create Download Link", true, false); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $giay = $this->lib->cut_str($this->lib->cut_str($data, '<div style="padding-left:20px; padding-right:20px;">', '</a></div>'), 'href="', '" style'); - return trim($giay); - } - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Fireget Download Plugin by giaythuytinh176 [1.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_fireget_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://fireget.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</b></TD><TD style="padding-left:10px;">','</TD><TD>')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://fireget.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(!$this->isredirect($data)) { + $giay = $this->lib->cut_str($this->lib->cut_str($data, '<div style="padding-left:20px; padding-right:20px;">', '</a></div>'), 'href="', '" style'); + return trim($giay); + } + else + return trim($this->redirect); + } + if(stristr($data,'You have reached the download-limit:')) $this->error("LimitAcc", true, false); + elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + if(!stristr($data, "Create Download Link")) + $this->error("Cannot get Create Download Link", true, false); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $giay = $this->lib->cut_str($this->lib->cut_str($data, '<div style="padding-left:20px; padding-right:20px;">', '</a></div>'), 'href="', '" style'); + return trim($giay); + } + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Fireget Download Plugin by giaythuytinh176 [1.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/fp_io.php b/hosts/fp_io.php similarity index 100% rename from vinaget/vng270/hosts/fp_io.php rename to hosts/fp_io.php diff --git a/vinaget/vng270/hosts/freakshare_com.php b/hosts/freakshare_com.php similarity index 97% rename from vinaget/vng270/hosts/freakshare_com.php rename to hosts/freakshare_com.php index 6960c56..8609cf3 100644 --- a/vinaget/vng270/hosts/freakshare_com.php +++ b/hosts/freakshare_com.php @@ -1,51 +1,51 @@ -<?php - -class dl_freakshare_com extends Download { - - public function PreLeech($url){ - if(stristr($url, "/folder/")) $this->error("Not Support Folder", true, false, 2); - } - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://freakshare.com/index.php?language=EN", $cookie, ""); - $data = $this->lib->curl("http://freakshare.com", $cookie, ""); - $dt = $this->lib->curl("http://freakshare.com/member/history.html", $cookie, ""); - preg_match('/<td style="text-align:right;">(\d+(\.\d+)? (G|M|K)Byte)<\/td>/i', $dt, $trafused); - if (stristr($data, 'Member (premium)')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, 'valid until:</td>','</tr>'), '<td><b>','</b></td>'). " <br/>Traffic left: ". $this->lib->cut_str($this->lib->cut_str($data, 'Traffic left:</td>','</tr>'), '<td>','</td>'). " <br/>Date: ". $this->lib->cut_str($dt, '<td style="text-align:right;">','</td>'). " => Traffic used: ". $trafused[1]); - else if(stristr($data, 'http://freakshare.com/member/logout.html')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://freakshare.com/?language=US", "", ""); - $data = $this->lib->curl("http://freakshare.com/login.html", "", "user={$user}&pass={$pass}&submit=Login"); - return $this->lib->GetCookies($data); - } - - public function Leech($url) { - $data = $this->lib->curl("http://freakshare.com/?language=US", "", ""); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, 'our Traffic is used up for today')) $this->error("LimitAcc", true, false); - elseif(stristr($data, '503 Service Temporarily Unavailable')) $this->error("unavailable", true, false); - elseif(stristr($data, 'This file does not exist!')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - preg_match('/type="hidden" value="(\d+)" name="did"/i', $this->lib->cut_str($data, "waitingtime","clear:both;margin"), $did); - $data = $this->lib->curl($url, $this->lib->cookie, "did={$did[1]}§ion=waitingtime&submit=Download"); - if(stristr($data, '503 Service Temporarily Unavailable')) $this->error("unavailable", true, false); - elseif($this->isredirect($data)) return trim($this->redirect); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Freakshare Download Plugin -* Fixed by giaythuytinh176 [13.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_freakshare_com extends Download { + + public function PreLeech($url){ + if(stristr($url, "/folder/")) $this->error("Not Support Folder", true, false, 2); + } + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://freakshare.com/index.php?language=EN", $cookie, ""); + $data = $this->lib->curl("http://freakshare.com", $cookie, ""); + $dt = $this->lib->curl("http://freakshare.com/member/history.html", $cookie, ""); + preg_match('/<td style="text-align:right;">(\d+(\.\d+)? (G|M|K)Byte)<\/td>/i', $dt, $trafused); + if (stristr($data, 'Member (premium)')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, 'valid until:</td>','</tr>'), '<td><b>','</b></td>'). " <br/>Traffic left: ". $this->lib->cut_str($this->lib->cut_str($data, 'Traffic left:</td>','</tr>'), '<td>','</td>'). " <br/>Date: ". $this->lib->cut_str($dt, '<td style="text-align:right;">','</td>'). " => Traffic used: ". $trafused[1]); + else if(stristr($data, 'http://freakshare.com/member/logout.html')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://freakshare.com/?language=US", "", ""); + $data = $this->lib->curl("http://freakshare.com/login.html", "", "user={$user}&pass={$pass}&submit=Login"); + return $this->lib->GetCookies($data); + } + + public function Leech($url) { + $data = $this->lib->curl("http://freakshare.com/?language=US", "", ""); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, 'our Traffic is used up for today')) $this->error("LimitAcc", true, false); + elseif(stristr($data, '503 Service Temporarily Unavailable')) $this->error("unavailable", true, false); + elseif(stristr($data, 'This file does not exist!')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + preg_match('/type="hidden" value="(\d+)" name="did"/i', $this->lib->cut_str($data, "waitingtime","clear:both;margin"), $did); + $data = $this->lib->curl($url, $this->lib->cookie, "did={$did[1]}§ion=waitingtime&submit=Download"); + if(stristr($data, '503 Service Temporarily Unavailable')) $this->error("unavailable", true, false); + elseif($this->isredirect($data)) return trim($this->redirect); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Freakshare Download Plugin +* Fixed by giaythuytinh176 [13.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/fshare_vn.php b/hosts/fshare_vn.php similarity index 97% rename from vinaget/vng270/hosts/fshare_vn.php rename to hosts/fshare_vn.php index fb7ded7..37f9d25 100644 --- a/vinaget/vng270/hosts/fshare_vn.php +++ b/hosts/fshare_vn.php @@ -1,63 +1,63 @@ -<?php - -class dl_fshare_vn extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("https://www.fshare.vn/account/infoaccount", $cookie, ""); - if(stristr($data, '>VIP<') && stristr($data, '<dt>Thá»i hạn dùng:</dt>')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, 'Hạn dùng</dt>','</dl>'), '<dd>','</dd>')); - elseif(stristr($data, '>VIP<')) return array(true, "Account is lifetime!!!"); - elseif(stristr($data, '>Thành viên thÆ°á»ng<')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $page = $this->lib->curl("https://www.fshare.vn/login", "", ""); - $token = $this->lib->cut_str($page, 'hidden" value="', '"'); - $data = $this->lib->curl("https://www.fshare.vn/login", $this->lib->GetCookies($page), "fs_csrf={$token}&LoginForm[email]={$user}&LoginForm[password]={$pass}&LoginForm[rememberMe]=0&yt2=%C4%90%C4%83ng+nh%E1%BA%ADp"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $url = str_replace('http://', 'https://', $url); - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - $token = $this->lib->cut_str($data, "fs_csrf: '", "'"); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<form id="', '</form>')); - $post["FilePwdForm[pwd]"] = $pass; - $post["yt0"] = ""; - $data = $this->lib->curl($url, $this->lib->cookie.$this->lib->GetCookies($data), $post); - } - if(stristr($data,'message-error')){ - $this->lib->curl("{$this->lib->self}?id=check&rand=".time(), "secureid={$_COOKIE["secureid"]}", "check=fshare.vn"); - $this->error("blockAcc", true, false); - } - elseif(stristr($page,"signup")){ - $this->lib->curl("{$this->lib->self}?id=check&rand=".time(), "secureid={$_COOKIE["secureid"]}", "check=fshare.vn"); - $this->error("cookieinvalid", true, false); - } - elseif(stristr($data, '>FREE<')) $this->error("accfree", true, false); - elseif(stristr($data,">404<")) $this->error("dead", true, false, 2); - elseif(stristr($data,"filepwd-form")) $this->error("reportpass", true, false); - elseif(preg_match('@https?:\/\/download-?(\w+\.)?fshare\.vn\/dl\/[^"\'><\r\n\t]+@i', $data, $match)) return trim($match[0]); - else{ - $page = $this->lib->curl('https://www.fshare.vn/download/index', $this->lib->cookie, "speed=fast&fs_csrf={$token}", 0, 0, $url); - $json = json_decode($page, true); - if ($json["url"]) return $json["url"]; - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Fshare.VN Download Plugin -* Downloader Class By [FZ] -* Plugin By -ZeSS- -* Date: 10.3.2014 -*/ +<?php + +class dl_fshare_vn extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("https://www.fshare.vn/account/infoaccount", $cookie, ""); + if(stristr($data, '>VIP<') && stristr($data, '<dt>Thá»i hạn dùng:</dt>')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, 'Hạn dùng</dt>','</dl>'), '<dd>','</dd>')); + elseif(stristr($data, '>VIP<')) return array(true, "Account is lifetime!!!"); + elseif(stristr($data, '>Thành viên thÆ°á»ng<')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $page = $this->lib->curl("https://www.fshare.vn/login", "", ""); + $token = $this->lib->cut_str($page, 'hidden" value="', '"'); + $data = $this->lib->curl("https://www.fshare.vn/login", $this->lib->GetCookies($page), "fs_csrf={$token}&LoginForm[email]={$user}&LoginForm[password]={$pass}&LoginForm[rememberMe]=0&yt2=%C4%90%C4%83ng+nh%E1%BA%ADp"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $url = str_replace('http://', 'https://', $url); + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + $token = $this->lib->cut_str($data, "fs_csrf: '", "'"); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<form id="', '</form>')); + $post["FilePwdForm[pwd]"] = $pass; + $post["yt0"] = ""; + $data = $this->lib->curl($url, $this->lib->cookie.$this->lib->GetCookies($data), $post); + } + if(stristr($data,'message-error')){ + $this->lib->curl("{$this->lib->self}?id=check&rand=".time(), "secureid={$_COOKIE["secureid"]}", "check=fshare.vn"); + $this->error("blockAcc", true, false); + } + elseif(stristr($page,"signup")){ + $this->lib->curl("{$this->lib->self}?id=check&rand=".time(), "secureid={$_COOKIE["secureid"]}", "check=fshare.vn"); + $this->error("cookieinvalid", true, false); + } + elseif(stristr($data, '>FREE<')) $this->error("accfree", true, false); + elseif(stristr($data,">404<")) $this->error("dead", true, false, 2); + elseif(stristr($data,"filepwd-form")) $this->error("reportpass", true, false); + elseif(preg_match('@https?:\/\/download-?(\w+\.)?fshare\.vn\/dl\/[^"\'><\r\n\t]+@i', $data, $match)) return trim($match[0]); + else{ + $page = $this->lib->curl('https://www.fshare.vn/download/index', $this->lib->cookie, "speed=fast&fs_csrf={$token}", 0, 0, $url); + $json = json_decode($page, true); + if ($json["url"]) return $json["url"]; + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Fshare.VN Download Plugin +* Downloader Class By [FZ] +* Plugin By -ZeSS- +* Date: 10.3.2014 +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/furk_net.php b/hosts/furk_net.php similarity index 97% rename from vinaget/vng270/hosts/furk_net.php rename to hosts/furk_net.php index 95b5d6b..c727e54 100644 --- a/vinaget/vng270/hosts/furk_net.php +++ b/hosts/furk_net.php @@ -1,35 +1,35 @@ -<?php - -class dl_furk_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("https://www.furk.net/users/account", $cookie, ""); - if(stristr($data, '<dt>Account type:</dt>') && stristr($data, '<dd>premium</dd>')) return array(true, "accpremium"); - elseif(stristr($data, '<dt>Account type:</dt>') && stristr($data, '<dd>free</dd>')) return array(true, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("https://www.furk.net/api/login/login", "", "login={$user}&pwd={$pass}"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - $data = $this->lib->cut_str($data, "<a class=\"dl_link button-large\" href=\"", "\" onClick=\"_gaq.push"); - if(preg_match('@http:\/\/\w+\.gcdn\.bi[^"\'><\r\n\t]+@i', $this->lib->cut_str($data, 'class="dl_link button-large', 'onClick'), $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* furk.net Download Plugin by giaythuytinh176 [12.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_furk_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("https://www.furk.net/users/account", $cookie, ""); + if(stristr($data, '<dt>Account type:</dt>') && stristr($data, '<dd>premium</dd>')) return array(true, "accpremium"); + elseif(stristr($data, '<dt>Account type:</dt>') && stristr($data, '<dd>free</dd>')) return array(true, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("https://www.furk.net/api/login/login", "", "login={$user}&pwd={$pass}"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + $data = $this->lib->cut_str($data, "<a class=\"dl_link button-large\" href=\"", "\" onClick=\"_gaq.push"); + if(preg_match('@http:\/\/\w+\.gcdn\.bi[^"\'><\r\n\t]+@i', $this->lib->cut_str($data, 'class="dl_link button-large', 'onClick'), $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* furk.net Download Plugin by giaythuytinh176 [12.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/gamefront_com.php b/hosts/gamefront_com.php similarity index 96% rename from vinaget/vng270/hosts/gamefront_com.php rename to hosts/gamefront_com.php index 8eb3f80..0ce3661 100644 --- a/vinaget/vng270/hosts/gamefront_com.php +++ b/hosts/gamefront_com.php @@ -1,24 +1,24 @@ -<?php - -class dl_gamefront_com extends Download { - - public function FreeLeech($url){ - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - $lik1 = $this->lib->cut_str($this->lib->cut_str($data, '<div class="action">', 'id="downloadLink">'), '<a href="', '" class="downloadNow'); - $lik2 = $this->lib->curl($lik1, $this->lib->cookie, ""); - $giay = $this->lib->cut_str($lik2, '<p>Your download will begin in a few seconds.<br />If it does not, <a href="', '">click here</a>.</p>'); - return trim($giay); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Gamefront.com Download Plugin by giaythuytinh176 [25.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_gamefront_com extends Download { + + public function FreeLeech($url){ + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + $lik1 = $this->lib->cut_str($this->lib->cut_str($data, '<div class="action">', 'id="downloadLink">'), '<a href="', '" class="downloadNow'); + $lik2 = $this->lib->curl($lik1, $this->lib->cookie, ""); + $giay = $this->lib->cut_str($lik2, '<p>Your download will begin in a few seconds.<br />If it does not, <a href="', '">click here</a>.</p>'); + return trim($giay); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Gamefront.com Download Plugin by giaythuytinh176 [25.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/gigasize_com.php b/hosts/gigasize_com.php similarity index 97% rename from vinaget/vng270/hosts/gigasize_com.php rename to hosts/gigasize_com.php index a86de53..8a74b7f 100644 --- a/vinaget/vng270/hosts/gigasize_com.php +++ b/hosts/gigasize_com.php @@ -1,33 +1,33 @@ -<?php - -class dl_gigasize_com extends Download { - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.gigasize.com/signin", "", "email={$user}&password={$pass}"); - return "{$this->lib->GetCookies($data)}"; - } - - public function Leech($url) { - $gach = explode('/', $url); - $fileId = $gach[4]; - $token = $this->lib->curl("http://www.gigasize.com/formtoken", $this->lib->cookie, ""); - $data = $this->lib->curl("http://www.gigasize.com/getoken", $this->lib->cookie, "fileId={$fileId}&token={$token}"); - if(preg_match('%getcgi(.*)"%U', $data, $redir)) { - $link = "http://www.gigasize.com/getcgi/".substr($redir[1], 2, -13)."/".$fileId; - $data = $this->lib->curl($link, $this->lib->cookie, ""); - if($this->isredirect($data)) return trim($this->redirect); - } - elseif(stristr($data,"Download error")|| stristr($data,"has been removed because we have received a legitimate complaint")) $this->error("dead", true, false, 2); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Downloader Class By [FZ] -* gigasize.com Download Plugin by giaythuytinh176 [6.9.2013] -*/ +<?php + +class dl_gigasize_com extends Download { + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.gigasize.com/signin", "", "email={$user}&password={$pass}"); + return "{$this->lib->GetCookies($data)}"; + } + + public function Leech($url) { + $gach = explode('/', $url); + $fileId = $gach[4]; + $token = $this->lib->curl("http://www.gigasize.com/formtoken", $this->lib->cookie, ""); + $data = $this->lib->curl("http://www.gigasize.com/getoken", $this->lib->cookie, "fileId={$fileId}&token={$token}"); + if(preg_match('%getcgi(.*)"%U', $data, $redir)) { + $link = "http://www.gigasize.com/getcgi/".substr($redir[1], 2, -13)."/".$fileId; + $data = $this->lib->curl($link, $this->lib->cookie, ""); + if($this->isredirect($data)) return trim($this->redirect); + } + elseif(stristr($data,"Download error")|| stristr($data,"has been removed because we have received a legitimate complaint")) $this->error("dead", true, false, 2); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Downloader Class By [FZ] +* gigasize.com Download Plugin by giaythuytinh176 [6.9.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/hipfile_com.php b/hosts/hipfile_com.php similarity index 97% rename from vinaget/vng270/hosts/hipfile_com.php rename to hosts/hipfile_com.php index 5803237..ae43ec8 100644 --- a/vinaget/vng270/hosts/hipfile_com.php +++ b/hosts/hipfile_com.php @@ -1,88 +1,88 @@ -<?php - -class dl_hipfile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://hipfile.com/?op=payments", "lang=english;{$cookie}", ""); - if(stristr($data, 'Extend Premium account')) return array(true, "Until ".$this->lib->cut_str($data, '<b>Premium account expire:</b><br>','<br><br>')); - elseif(stristr($data, '<h2>Become a PREMIUM-Member</h2>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://hipfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://hipfile.com/login.html"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!stristr($data, 'value="Free Download"')) - $this->error("Cannot get Free Download", true, false, 2); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST"', '</Form>')); - $post['method_free'] = 'Free Download'; - $post['method_premium'] = ''; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $this->save($this->lib->GetCookies($data)); - if(preg_match('@<span id="countdown_str"[^>]*>[^<>]+<span[^>]*>(\d+)</span>[^<>]+</span>@i', $data, $count) && $count[1] > 0) - sleep($count[1]); - if($pass) { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post1['password'] = $pass; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/hf(\d+)?\.hipfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!stristr($data, 'value="File Download"')) - $this->error("Cannot get File Download", true, false); - else { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(preg_match('@https?:\/\/hf(\d+)?\.hipfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/hf(\d+)?\.hipfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(stristr($data,'You have reached the download-limit:')) $this->error("LimitAcc", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/hf(\d+)?\.hipfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Hipfile Download Plugin by giaythuytinh176 [6.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_hipfile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://hipfile.com/?op=payments", "lang=english;{$cookie}", ""); + if(stristr($data, 'Extend Premium account')) return array(true, "Until ".$this->lib->cut_str($data, '<b>Premium account expire:</b><br>','<br><br>')); + elseif(stristr($data, '<h2>Become a PREMIUM-Member</h2>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://hipfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://hipfile.com/login.html"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!stristr($data, 'value="Free Download"')) + $this->error("Cannot get Free Download", true, false, 2); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST"', '</Form>')); + $post['method_free'] = 'Free Download'; + $post['method_premium'] = ''; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $this->save($this->lib->GetCookies($data)); + if(preg_match('@<span id="countdown_str"[^>]*>[^<>]+<span[^>]*>(\d+)</span>[^<>]+</span>@i', $data, $count) && $count[1] > 0) + sleep($count[1]); + if($pass) { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post1['password'] = $pass; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/hf(\d+)?\.hipfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!stristr($data, 'value="File Download"')) + $this->error("Cannot get File Download", true, false); + else { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(preg_match('@https?:\/\/hf(\d+)?\.hipfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/hf(\d+)?\.hipfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(stristr($data,'You have reached the download-limit:')) $this->error("LimitAcc", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/hf(\d+)?\.hipfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Hipfile Download Plugin by giaythuytinh176 [6.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/hostingbulk_com.php b/hosts/hostingbulk_com.php similarity index 97% rename from vinaget/vng270/hosts/hostingbulk_com.php rename to hosts/hostingbulk_com.php index ccc0244..269db21 100644 --- a/vinaget/vng270/hosts/hostingbulk_com.php +++ b/hosts/hostingbulk_com.php @@ -1,38 +1,38 @@ -<?php - -class dl_hostingbulk_com extends Download { - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post['password'] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'<input type="password" name="password" class="myForm"')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!stristr($data, 'value="Create Download Link')) - $this->error("Cannot get Create Download Link", true, false); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<form name="F1" method="POST', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* hostingbulk Download Plugin by giaythuytinh176 [21.8.2013] -* Downloader Class By [FZ] +<?php + +class dl_hostingbulk_com extends Download { + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post['password'] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'<input type="password" name="password" class="myForm"')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!stristr($data, 'value="Create Download Link')) + $this->error("Cannot get Create Download Link", true, false); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<form name="F1" method="POST', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* hostingbulk Download Plugin by giaythuytinh176 [21.8.2013] +* Downloader Class By [FZ] */ \ No newline at end of file diff --git a/vinaget/vng270/hosts/hosts.php b/hosts/hosts.php similarity index 100% rename from vinaget/vng270/hosts/hosts.php rename to hosts/hosts.php diff --git a/vinaget/vng270/hosts/hugefiles_net.php b/hosts/hugefiles_net.php similarity index 97% rename from vinaget/vng270/hosts/hugefiles_net.php rename to hosts/hugefiles_net.php index c91e91b..127ef49 100644 --- a/vinaget/vng270/hosts/hugefiles_net.php +++ b/hosts/hugefiles_net.php @@ -1,41 +1,41 @@ -<?php - -class dl_hugefiles_net extends Download { - - public function Login($user, $pass){ - $data = $this->lib->curl("http://hugefiles.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://hugefiles.net/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if(stristr($data,'<b>Password: </b><br /><input type="password" name="password"')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Hugefiles.net Download Plugin by giaythuytinh176 [19.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_hugefiles_net extends Download { + + public function Login($user, $pass){ + $data = $this->lib->curl("http://hugefiles.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://hugefiles.net/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if(stristr($data,'<b>Password: </b><br /><input type="password" name="password"')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Hugefiles.net Download Plugin by giaythuytinh176 [19.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/ifile_it.php b/hosts/ifile_it.php similarity index 100% rename from vinaget/vng270/hosts/ifile_it.php rename to hosts/ifile_it.php diff --git a/vinaget/vng270/hosts/isavelink_com.php b/hosts/isavelink_com.php similarity index 97% rename from vinaget/vng270/hosts/isavelink_com.php rename to hosts/isavelink_com.php index f5257b3..48bc4b3 100644 --- a/vinaget/vng270/hosts/isavelink_com.php +++ b/hosts/isavelink_com.php @@ -1,55 +1,55 @@ -<?php - -class dl_isavelink_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://isavelink.com/?op=payments", "lang=english;{$cookie}", ""); - if(stristr($data, '<b>Premium account expire:</b><br>')) return array(true, "Until ".$this->lib->cut_str($data, '<b>Premium account expire:</b><br>','<br><br>')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://isavelink.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://isavelink.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(!$this->isredirect($data)) { - $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', '</span>'), 'href="', '">'); - return trim($giay); - } - else - return trim($this->redirect); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', '</span>'), 'href="', '">'); - return trim($giay); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Isavelink Download Plugin by giaythuytinh176 [31.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_isavelink_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://isavelink.com/?op=payments", "lang=english;{$cookie}", ""); + if(stristr($data, '<b>Premium account expire:</b><br>')) return array(true, "Until ".$this->lib->cut_str($data, '<b>Premium account expire:</b><br>','<br><br>')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://isavelink.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://isavelink.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(!$this->isredirect($data)) { + $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', '</span>'), 'href="', '">'); + return trim($giay); + } + else + return trim($this->redirect); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', '</span>'), 'href="', '">'); + return trim($giay); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Isavelink Download Plugin by giaythuytinh176 [31.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/junocloud_me.php b/hosts/junocloud_me.php similarity index 97% rename from vinaget/vng270/hosts/junocloud_me.php rename to hosts/junocloud_me.php index 49ff23a..3030e1b 100644 --- a/vinaget/vng270/hosts/junocloud_me.php +++ b/hosts/junocloud_me.php @@ -1,49 +1,49 @@ -<?php - -class dl_junocloud_me extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://junocloud.me/home.html", "lang=english;{$cookie}", ""); - if(stristr($data, 'STATUS: <span class="val">PREMIUM</span>')) return array(true, "Until ".$this->lib->cut_str($data, '(till ', ')<')); - else if(stristr($data, '>USER: <') && !stristr($data, 'STATUS: <span class="val">PREMIUM</span>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://junocloud.me/", "lang=english", "login={$user}&password={$pass}&op=login&submit_btn=Submit&redirect=http://junocloud.me/home.html"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - if(strpos($url, 'dl3') == false) $url = str_replace('junocloud.me', 'dl3.junocloud.me', $url); - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if(stristr($data,'Password:</b> <input type="password" name="password"')) $this->error("reportpass", true, false); - elseif(stristr($data,'name="id" value="">')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Junocloud.me Download Plugin by giaythuytinh176 [27.2.2014] -* Downloader Class By [FZ] -*/ +<?php + +class dl_junocloud_me extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://junocloud.me/home.html", "lang=english;{$cookie}", ""); + if(stristr($data, 'STATUS: <span class="val">PREMIUM</span>')) return array(true, "Until ".$this->lib->cut_str($data, '(till ', ')<')); + else if(stristr($data, '>USER: <') && !stristr($data, 'STATUS: <span class="val">PREMIUM</span>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://junocloud.me/", "lang=english", "login={$user}&password={$pass}&op=login&submit_btn=Submit&redirect=http://junocloud.me/home.html"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + if(strpos($url, 'dl3') == false) $url = str_replace('junocloud.me', 'dl3.junocloud.me', $url); + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if(stristr($data,'Password:</b> <input type="password" name="password"')) $this->error("reportpass", true, false); + elseif(stristr($data,'name="id" value="">')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Junocloud.me Download Plugin by giaythuytinh176 [27.2.2014] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/k2s_cc.php b/hosts/k2s_cc.php similarity index 100% rename from vinaget/vng270/hosts/k2s_cc.php rename to hosts/k2s_cc.php diff --git a/vinaget/vng270/hosts/keep2share_cc.php b/hosts/keep2share_cc.php similarity index 97% rename from vinaget/vng270/hosts/keep2share_cc.php rename to hosts/keep2share_cc.php index 8f71f25..d54116a 100644 --- a/vinaget/vng270/hosts/keep2share_cc.php +++ b/hosts/keep2share_cc.php @@ -1,42 +1,42 @@ -<?php - -class dl_keep2share_cc extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://keep2share.cc", $cookie, ""); - if(stristr($data, 'Premium expires:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium expires: <b>','</b>')); - else if(stristr($data, '<a href="/premium.html" class="free">Free</a>')) return array(true, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://keep2share.cc/login.html", "", "LoginForm[username]={$user}&LoginForm[password]={$pass}&LoginForm[rememberMe]=1&yt0=login"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $url = str_replace("k2s.cc", "keep2share.cc", $url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,"File not found or deleted") && stristr($data,">Error 404<")) $this->error("dead", true, false, 2); - elseif(stristr($data,"Traffic limit exceed!<br>")) $this->error("LimitAcc", true, false); - elseif(!$this->isredirect($data)) { - $id = $this->lib->cut_str($data, 'window.location.href = \'', '\';'); - $giay = $this->lib->curl("http://keep2share.cc".trim($id), $this->lib->cookie, ""); - if($this->isredirect($giay)) return trim($this->redirect); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Downloader Class By [FZ] -* Keep2share Download plugin By giaythuytinh176 [3.12.2013][fixed link] -* Date: 30.7.2013 -*/ +<?php + +class dl_keep2share_cc extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://keep2share.cc", $cookie, ""); + if(stristr($data, 'Premium expires:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium expires: <b>','</b>')); + else if(stristr($data, '<a href="/premium.html" class="free">Free</a>')) return array(true, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://keep2share.cc/login.html", "", "LoginForm[username]={$user}&LoginForm[password]={$pass}&LoginForm[rememberMe]=1&yt0=login"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $url = str_replace("k2s.cc", "keep2share.cc", $url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,"File not found or deleted") && stristr($data,">Error 404<")) $this->error("dead", true, false, 2); + elseif(stristr($data,"Traffic limit exceed!<br>")) $this->error("LimitAcc", true, false); + elseif(!$this->isredirect($data)) { + $id = $this->lib->cut_str($data, 'window.location.href = \'', '\';'); + $giay = $this->lib->curl("http://keep2share.cc".trim($id), $this->lib->cookie, ""); + if($this->isredirect($giay)) return trim($this->redirect); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Downloader Class By [FZ] +* Keep2share Download plugin By giaythuytinh176 [3.12.2013][fixed link] +* Date: 30.7.2013 +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/lafiles_com.php b/hosts/lafiles_com.php similarity index 97% rename from vinaget/vng270/hosts/lafiles_com.php rename to hosts/lafiles_com.php index 0ae5096..2d88a7e 100644 --- a/vinaget/vng270/hosts/lafiles_com.php +++ b/hosts/lafiles_com.php @@ -1,51 +1,51 @@ -<?php - -class dl_lafiles_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://lafiles.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://lafiles.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://lafiles.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if($this->isredirect($data)) return trim($this->redirect); - elseif (stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(stristr($data,'Password:</b> <input type="password"')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Lafiles Download Plugin by giaythuytinh176 [31.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_lafiles_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://lafiles.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://lafiles.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://lafiles.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if($this->isredirect($data)) return trim($this->redirect); + elseif (stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(stristr($data,'Password:</b> <input type="password"')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Lafiles Download Plugin by giaythuytinh176 [31.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/letitbit_net.php b/hosts/letitbit_net.php similarity index 97% rename from vinaget/vng270/hosts/letitbit_net.php rename to hosts/letitbit_net.php index e1bbffb..6057f94 100644 --- a/vinaget/vng270/hosts/letitbit_net.php +++ b/hosts/letitbit_net.php @@ -1,79 +1,79 @@ -<?php - -class dl_letitbit_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://letitbit.net/ajax/get_attached_passwords.php", "lang=en;".$cookie, ""); - if(stristr($data, '<th>Premium account</th>') && stristr($data, '<th>Date of expiry</th>')) { - preg_match('@\d+\-\d+\-\d+@', $data, $giay); - preg_match('/td>(\d+\.\d+)<\/td/', $data, $thuytinh); - return array(true, "Until {$giay[0]} and Points {$thuytinh[1]}"); - } - else if(stristr($data, 'There are no attached premium accounts found')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://letitbit.net/", "lang=en", "act=login&login={$user}&password={$pass}"); - $cookie = "lang=en;{$this->lib->GetCookies($data)}"; - return $cookie; - } - /* - public function Leech($url) { - if(!stristr($url, "http://letitbit.net")) $url = preg_replace("/(u\d+(\.s\d+)?\.)/", "", $url); - $this->lib->cookie = preg_replace("/; PHPSESSID=[a-z0-9]+;/", "", $this->lib->cookie); - $data = $this->lib->curl($url, "lang=en;".$this->lib->cookie, ""); - if(stristr($data,'Please wait, there is a file search') || stristr($data,'File not found') || stristr($data,'The file is temporarily unavailable for download')) $this->error("dead", true, false, 2); - $this->save("lang=en;".$this->lib->GetCookies($data)); - if(!preg_match('@https?:\/\/(.*)?letitbit\.net\/download\/[^"\'><\r\n\t]+@', $data, $redir)) - $this->error("Cannot get Check2", true, false); - else { - $check2 = trim($redir[0]); - $data = $this->lib->curl($check2, "lang=en;".$this->lib->cookie, ""); - if(!stristr($data,'letitbit.net/sms/check2.php')) $this->error("dead", true, false, 2); - if(!preg_match('@https?:\/\/(.*)?letitbit.net\/sms\/check2\.php@', $data, $redir1)) - $this->error("Cannot get Check3", true, false); - else { - $check3 = trim($redir1[0]); - $data = $this->lib->curl($check3, "lang=en;".$this->lib->cookie, ""); - if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[a-z0-9]+\/[^"\'><\r\n\t]+@i', $this->lib->cut_str($data, 'direct_link_1', 'direct_link_2'), $link)) - return trim($link[0]); - } - } - return false; - }*/ - - public function Leech($url) { - $this->lib->cookie = preg_replace("/(; PHPSESSID=(.+);)|(; download_link=(.+);)|(; appid=(.+);)|(; jspcid=(.+);)/", "", $this->lib->cookie); - if(strpos($url, "//letitbit.net")) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(strpos($data, "TTP/1.0 200 OK") || strpos($data, "TTP/1.1 200 OK") || strpos($data, "404 Not Found")) $this->error("dead", true, false, 2); - $this->save($this->lib->GetCookies($data)); - $redir = preg_replace("/\s+/", "", $this->lib->cut_str($data, "ocation: ", "\n")); - $data = $this->lib->curl($redir, $this->lib->cookie, ""); - $redir2 = preg_replace("/\s+/", "", $this->lib->cut_str($data, "ocation: ", "\n")); - $data = $this->lib->curl($redir2, $this->lib->cookie, ""); - return trim($this->lib->cut_str($data, 'file download" href="', '" style="font-size')); - } - else { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - $this->save($this->lib->GetCookies($data)); - if(!strpos($data, "letitbit.net/sms/check2.php")) $this->error("dead", true, false, 2); - $redir = preg_replace("/\s+/", "", $this->lib->cut_str($data, "ocation: ", "\n")); - $data = $this->lib->curl($redir, $this->lib->cookie, ""); - return trim($this->lib->cut_str($data, 'file download" href="', '" style="font-size')); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Letitbit Download Plugin by giaythuytinh176 [16.8.2013] -* Thanks to Rapid61@rapidleech.com for your account. -* Downloader Class By [FZ] -*/ +<?php + +class dl_letitbit_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://letitbit.net/ajax/get_attached_passwords.php", "lang=en;".$cookie, ""); + if(stristr($data, '<th>Premium account</th>') && stristr($data, '<th>Date of expiry</th>')) { + preg_match('@\d+\-\d+\-\d+@', $data, $giay); + preg_match('/td>(\d+\.\d+)<\/td/', $data, $thuytinh); + return array(true, "Until {$giay[0]} and Points {$thuytinh[1]}"); + } + else if(stristr($data, 'There are no attached premium accounts found')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://letitbit.net/", "lang=en", "act=login&login={$user}&password={$pass}"); + $cookie = "lang=en;{$this->lib->GetCookies($data)}"; + return $cookie; + } + /* + public function Leech($url) { + if(!stristr($url, "http://letitbit.net")) $url = preg_replace("/(u\d+(\.s\d+)?\.)/", "", $url); + $this->lib->cookie = preg_replace("/; PHPSESSID=[a-z0-9]+;/", "", $this->lib->cookie); + $data = $this->lib->curl($url, "lang=en;".$this->lib->cookie, ""); + if(stristr($data,'Please wait, there is a file search') || stristr($data,'File not found') || stristr($data,'The file is temporarily unavailable for download')) $this->error("dead", true, false, 2); + $this->save("lang=en;".$this->lib->GetCookies($data)); + if(!preg_match('@https?:\/\/(.*)?letitbit\.net\/download\/[^"\'><\r\n\t]+@', $data, $redir)) + $this->error("Cannot get Check2", true, false); + else { + $check2 = trim($redir[0]); + $data = $this->lib->curl($check2, "lang=en;".$this->lib->cookie, ""); + if(!stristr($data,'letitbit.net/sms/check2.php')) $this->error("dead", true, false, 2); + if(!preg_match('@https?:\/\/(.*)?letitbit.net\/sms\/check2\.php@', $data, $redir1)) + $this->error("Cannot get Check3", true, false); + else { + $check3 = trim($redir1[0]); + $data = $this->lib->curl($check3, "lang=en;".$this->lib->cookie, ""); + if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[a-z0-9]+\/[^"\'><\r\n\t]+@i', $this->lib->cut_str($data, 'direct_link_1', 'direct_link_2'), $link)) + return trim($link[0]); + } + } + return false; + }*/ + + public function Leech($url) { + $this->lib->cookie = preg_replace("/(; PHPSESSID=(.+);)|(; download_link=(.+);)|(; appid=(.+);)|(; jspcid=(.+);)/", "", $this->lib->cookie); + if(strpos($url, "//letitbit.net")) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(strpos($data, "TTP/1.0 200 OK") || strpos($data, "TTP/1.1 200 OK") || strpos($data, "404 Not Found")) $this->error("dead", true, false, 2); + $this->save($this->lib->GetCookies($data)); + $redir = preg_replace("/\s+/", "", $this->lib->cut_str($data, "ocation: ", "\n")); + $data = $this->lib->curl($redir, $this->lib->cookie, ""); + $redir2 = preg_replace("/\s+/", "", $this->lib->cut_str($data, "ocation: ", "\n")); + $data = $this->lib->curl($redir2, $this->lib->cookie, ""); + return trim($this->lib->cut_str($data, 'file download" href="', '" style="font-size')); + } + else { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + $this->save($this->lib->GetCookies($data)); + if(!strpos($data, "letitbit.net/sms/check2.php")) $this->error("dead", true, false, 2); + $redir = preg_replace("/\s+/", "", $this->lib->cut_str($data, "ocation: ", "\n")); + $data = $this->lib->curl($redir, $this->lib->cookie, ""); + return trim($this->lib->cut_str($data, 'file download" href="', '" style="font-size')); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Letitbit Download Plugin by giaythuytinh176 [16.8.2013] +* Thanks to Rapid61@rapidleech.com for your account. +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/longfiles_com.php b/hosts/longfiles_com.php similarity index 96% rename from vinaget/vng270/hosts/longfiles_com.php rename to hosts/longfiles_com.php index 8f9ea24..c56fd43 100644 --- a/vinaget/vng270/hosts/longfiles_com.php +++ b/hosts/longfiles_com.php @@ -1,31 +1,31 @@ -<?php - -class dl_longfiles_com extends Download { - - public function FreeLeech($url){ - $data = $this->lib->curl($url, "", ""); - $this->lib->cookie = $this->lib->GetCookies($data); - if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) - $this->error($count[0], true, false); - if(preg_match('@Wait <span id="\w+">(\d+)<\/span>@i', $data, $count) && $count[1] > 0) - sleep($count[1]); - if(!stristr($data, "<h3>Download File</h3>")) - $this->error("Cannot get Download File", true, false, 2); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* longfiles Download Plugin by giaythuytinh176 [12.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_longfiles_com extends Download { + + public function FreeLeech($url){ + $data = $this->lib->curl($url, "", ""); + $this->lib->cookie = $this->lib->GetCookies($data); + if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) + $this->error($count[0], true, false); + if(preg_match('@Wait <span id="\w+">(\d+)<\/span>@i', $data, $count) && $count[1] > 0) + sleep($count[1]); + if(!stristr($data, "<h3>Download File</h3>")) + $this->error("Cannot get Download File", true, false, 2); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* longfiles Download Plugin by giaythuytinh176 [12.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/lumfile_com.php b/hosts/lumfile_com.php similarity index 97% rename from vinaget/vng270/hosts/lumfile_com.php rename to hosts/lumfile_com.php index a7bf838..ab6233a 100644 --- a/vinaget/vng270/hosts/lumfile_com.php +++ b/hosts/lumfile_com.php @@ -1,51 +1,51 @@ -<?php - -class dl_lumfile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://lumfile.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '<TR><TD align=right >Premium account expire:</TD>', '<TD><input type="button" value="Extend Premium Account"'), '<TD><b>', '</b></TD>')); - elseif(stristr($data, '<a href="/?op=payments">Upgrade Now</a>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://lumfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://lumfile.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/\w+\.lumfile\.(.*)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner') || stristr($data,'File not found')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/\w+\.lumfile\.(.*)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Lumfile Download Plugin, updated by giaythuytinh176 [3.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_lumfile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://lumfile.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '<TR><TD align=right >Premium account expire:</TD>', '<TD><input type="button" value="Extend Premium Account"'), '<TD><b>', '</b></TD>')); + elseif(stristr($data, '<a href="/?op=payments">Upgrade Now</a>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://lumfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://lumfile.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/\w+\.lumfile\.(.*)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner') || stristr($data,'File not found')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/\w+\.lumfile\.(.*)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Lumfile Download Plugin, updated by giaythuytinh176 [3.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/me_zing_vn.php b/hosts/me_zing_vn.php similarity index 96% rename from vinaget/vng270/hosts/me_zing_vn.php rename to hosts/me_zing_vn.php index 08e0303..b10fc87 100644 --- a/vinaget/vng270/hosts/me_zing_vn.php +++ b/hosts/me_zing_vn.php @@ -1,22 +1,22 @@ -<?php - -class dl_me_zing_vn extends Download { - - public function FreeLeech($url){ - $thuytinh = file_get_contents($this->lib->cut_str(file_get_contents($url), 'width="100%" src="', '"')); - if(stristr($thuytinh,'File không tồn tại')) $this->error("dead", true, false, 2); - elseif(preg_match('/a href="(https?:\/\/.+zing.vn.+)" target/i', $thuytinh, $giay)) - return trim($giay[1]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Me.zing.vn Download Plugin by giaythuytinh176 [5.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_me_zing_vn extends Download { + + public function FreeLeech($url){ + $thuytinh = file_get_contents($this->lib->cut_str(file_get_contents($url), 'width="100%" src="', '"')); + if(stristr($thuytinh,'File không tồn tại')) $this->error("dead", true, false, 2); + elseif(preg_match('/a href="(https?:\/\/.+zing.vn.+)" target/i', $thuytinh, $giay)) + return trim($giay[1]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Me.zing.vn Download Plugin by giaythuytinh176 [5.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/mediafire_com.php b/hosts/mediafire_com.php similarity index 100% rename from vinaget/vng270/hosts/mediafire_com.php rename to hosts/mediafire_com.php diff --git a/vinaget/vng270/hosts/mega_1280_com.php b/hosts/mega_1280_com.php similarity index 100% rename from vinaget/vng270/hosts/mega_1280_com.php rename to hosts/mega_1280_com.php diff --git a/vinaget/vng270/hosts/mega_co_nz.php b/hosts/mega_co_nz.php similarity index 95% rename from vinaget/vng270/hosts/mega_co_nz.php rename to hosts/mega_co_nz.php index cbfc96d..d0ec303 100644 --- a/vinaget/vng270/hosts/mega_co_nz.php +++ b/hosts/mega_co_nz.php @@ -1,19 +1,19 @@ -<?php - -class dl_mega_co_nz extends Download { - - public function PreLeech($url){ - if (!extension_loaded('mcrypt') || !in_array('rijndael-128', mcrypt_list_algorithms(), true)) $this->error("Mcrypt module isn't installed or it doesn't have support for the needed encryption.", true, false); - } - - public function FreeLeech($url) { - return trim($url); - return false; - } - -} - -/* -* Mega.co.nz Download Plugin by giaythuytinh176 [29.04.2015] -*/ +<?php + +class dl_mega_co_nz extends Download { + + public function PreLeech($url){ + if (!extension_loaded('mcrypt') || !in_array('rijndael-128', mcrypt_list_algorithms(), true)) $this->error("Mcrypt module isn't installed or it doesn't have support for the needed encryption.", true, false); + } + + public function FreeLeech($url) { + return trim($url); + return false; + } + +} + +/* +* Mega.co.nz Download Plugin by giaythuytinh176 [29.04.2015] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/megashares_com.php b/hosts/megashares_com.php similarity index 100% rename from vinaget/vng270/hosts/megashares_com.php rename to hosts/megashares_com.php diff --git a/vinaget/vng270/hosts/metacafe_com.php b/hosts/metacafe_com.php similarity index 95% rename from vinaget/vng270/hosts/metacafe_com.php rename to hosts/metacafe_com.php index e3aa7fe..8796e0c 100644 --- a/vinaget/vng270/hosts/metacafe_com.php +++ b/hosts/metacafe_com.php @@ -1,27 +1,27 @@ -<?php - -class dl_metacafe_com extends Download { - - public function FreeLeech($url) { - $urx = explode("/", $url); - $data = $this->lib->curl("http://www.metacafe.com/fplayer/{$urx[4]}/download.swf", "", ""); - if(stristr($data, 'mediaURL')){ - $link = urldecode(urldecode($data)); - $link = $this->lib->cut_str($link, '"mediaURL":"','",'); - $link = str_replace("\/", "/", $link); - return trim($link); - } - else $this->error("dead", true, false, 2); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Metacafe Download Plugin -* Downloader Class By [FZ] -*/ -?> +<?php + +class dl_metacafe_com extends Download { + + public function FreeLeech($url) { + $urx = explode("/", $url); + $data = $this->lib->curl("http://www.metacafe.com/fplayer/{$urx[4]}/download.swf", "", ""); + if(stristr($data, 'mediaURL')){ + $link = urldecode(urldecode($data)); + $link = $this->lib->cut_str($link, '"mediaURL":"','",'); + $link = str_replace("\/", "/", $link); + return trim($link); + } + else $this->error("dead", true, false, 2); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Metacafe Download Plugin +* Downloader Class By [FZ] +*/ +?> diff --git a/vinaget/vng270/hosts/mightyupload_com.php b/hosts/mightyupload_com.php similarity index 97% rename from vinaget/vng270/hosts/mightyupload_com.php rename to hosts/mightyupload_com.php index abcdb2d..7d7d41d 100644 --- a/vinaget/vng270/hosts/mightyupload_com.php +++ b/hosts/mightyupload_com.php @@ -1,39 +1,39 @@ -<?php - -class dl_mightyupload_com extends Download { - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'<h2><b>File Not Found</b></h2><br><br>')) $this->error("dead", true, false, 2); - elseif(!stristr($data, "value=\"Click here to Continue")) - $this->error("Cannot get Click here to Continue", true, false, 2); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* mightyupload Download Plugin by giaythuytinh176 [7.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_mightyupload_com extends Download { + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'<h2><b>File Not Found</b></h2><br><br>')) $this->error("dead", true, false, 2); + elseif(!stristr($data, "value=\"Click here to Continue")) + $this->error("Cannot get Click here to Continue", true, false, 2); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* mightyupload Download Plugin by giaythuytinh176 [7.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/mixshared_com.php b/hosts/mixshared_com.php similarity index 97% rename from vinaget/vng270/hosts/mixshared_com.php rename to hosts/mixshared_com.php index 4b9e5bb..bb41c81 100644 --- a/vinaget/vng270/hosts/mixshared_com.php +++ b/hosts/mixshared_com.php @@ -1,56 +1,56 @@ -<?php - -class dl_mixshared_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://mixshared.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium Expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium Expire</b></TD><TD><b>','</b>   ')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium Expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://mixshared.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://mixshared.com/plugin-status.html"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(!$this->isredirect($data)) { - $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', '</span>'), 'href="', '">'); - return trim($giay); - } - else - return trim($this->redirect); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'Downloads are disabled for your country')) $this->error("blockCountry", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', '</span>'), 'href="', '">'); - return trim($giay); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* mixshared Download Plugin by giaythuytinh176 [4.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_mixshared_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://mixshared.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium Expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium Expire</b></TD><TD><b>','</b>   ')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium Expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://mixshared.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://mixshared.com/plugin-status.html"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(!$this->isredirect($data)) { + $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', '</span>'), 'href="', '">'); + return trim($giay); + } + else + return trim($this->redirect); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'Downloads are disabled for your country')) $this->error("blockCountry", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', '</span>'), 'href="', '">'); + return trim($giay); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* mixshared Download Plugin by giaythuytinh176 [4.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/mixturecloud_com.php b/hosts/mixturecloud_com.php similarity index 97% rename from vinaget/vng270/hosts/mixturecloud_com.php rename to hosts/mixturecloud_com.php index 56a1ecd..b558334 100644 --- a/vinaget/vng270/hosts/mixturecloud_com.php +++ b/hosts/mixturecloud_com.php @@ -1,58 +1,58 @@ -<?php - -class dl_mixturecloud_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("https://www.mixturecloud.com/account", "mx_l=en;{$cookie}", ""); - if(stristr($data, '>Unlimited</h1><h4><span title')) return array(true, "Until ".$this->lib->cut_str($data, 'Unlimited</h1><h4><span title="','">(')); - else if(stristr($data, '>Basic</h1><h4>') && !stristr($data, '>Unlimited</h1>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } -/* - public function Login($user, $pass){ - $data = $this->lib->curl("https://www.mixturecloud.com/", "mx_l=en;{$user}={$pass}", ""); - return "{$user}={$pass}; {$this->lib->GetCookies($data)}"; - }*/ - - public function Login($user, $pass){ - $data = $this->lib->curl("https://www.mixturecloud.com/", "mx_l=en", ""); - $securecode = $this->lib->cut_str($this->lib->cut_str($data, 'method="post" action="login">','Sign in<'), 'name="securecode" value="', '" />'); - $data = $this->lib->curl("https://www.mixturecloud.com/login", "mx_l=en", "back=&securecode={$securecode}&email={$user}&password={$pass}&login=1"); - $cookie = "{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $url = str_replace("mixturecloud.com/video=", "mixturecloud.com/media/download/", $url); - $url = str_replace("http://", "https://", $url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post["password"] = $pass; - $post["submit"] = 'Confirm'; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data, 'The password is wrong')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('%href="(https?:\/\/.+)" class%U', $this->lib->cut_str($data, 'Display download', 'Download now'), $giay)) return trim($giay[1]); - } - if(stristr($data,'>Access protected by password<')) $this->error("reportpass", true, false); - elseif(stristr($data,'Sorry, but the page you were trying to view does not exist')) $this->error("dead", true, false, 2); - elseif(!preg_match('%href="(https?:\/\/.+)" class%U', $this->lib->cut_str($data, 'Display download', 'Download now'), $giay)) { - $code = $this->lib->cut_str($data, '<a href="media/download/', '" class="btn btn-mc">'); - $url = "https://www.mixturecloud.com/media/download/{$code}"; - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(preg_match('%href="(https?:\/\/.+)" class%U', $this->lib->cut_str($data, 'Display download', 'Download now'), $giay)) return trim($giay[1]); - } - else return trim($giay[1]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Mixturecloud.com Download Plugin by giaythuytinh176 [15.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_mixturecloud_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("https://www.mixturecloud.com/account", "mx_l=en;{$cookie}", ""); + if(stristr($data, '>Unlimited</h1><h4><span title')) return array(true, "Until ".$this->lib->cut_str($data, 'Unlimited</h1><h4><span title="','">(')); + else if(stristr($data, '>Basic</h1><h4>') && !stristr($data, '>Unlimited</h1>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } +/* + public function Login($user, $pass){ + $data = $this->lib->curl("https://www.mixturecloud.com/", "mx_l=en;{$user}={$pass}", ""); + return "{$user}={$pass}; {$this->lib->GetCookies($data)}"; + }*/ + + public function Login($user, $pass){ + $data = $this->lib->curl("https://www.mixturecloud.com/", "mx_l=en", ""); + $securecode = $this->lib->cut_str($this->lib->cut_str($data, 'method="post" action="login">','Sign in<'), 'name="securecode" value="', '" />'); + $data = $this->lib->curl("https://www.mixturecloud.com/login", "mx_l=en", "back=&securecode={$securecode}&email={$user}&password={$pass}&login=1"); + $cookie = "{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $url = str_replace("mixturecloud.com/video=", "mixturecloud.com/media/download/", $url); + $url = str_replace("http://", "https://", $url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post["password"] = $pass; + $post["submit"] = 'Confirm'; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data, 'The password is wrong')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('%href="(https?:\/\/.+)" class%U', $this->lib->cut_str($data, 'Display download', 'Download now'), $giay)) return trim($giay[1]); + } + if(stristr($data,'>Access protected by password<')) $this->error("reportpass", true, false); + elseif(stristr($data,'Sorry, but the page you were trying to view does not exist')) $this->error("dead", true, false, 2); + elseif(!preg_match('%href="(https?:\/\/.+)" class%U', $this->lib->cut_str($data, 'Display download', 'Download now'), $giay)) { + $code = $this->lib->cut_str($data, '<a href="media/download/', '" class="btn btn-mc">'); + $url = "https://www.mixturecloud.com/media/download/{$code}"; + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(preg_match('%href="(https?:\/\/.+)" class%U', $this->lib->cut_str($data, 'Display download', 'Download now'), $giay)) return trim($giay[1]); + } + else return trim($giay[1]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Mixturecloud.com Download Plugin by giaythuytinh176 [15.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/mp3_zing_vn.php b/hosts/mp3_zing_vn.php similarity index 96% rename from vinaget/vng270/hosts/mp3_zing_vn.php rename to hosts/mp3_zing_vn.php index 9cecd5d..3b61b8e 100644 --- a/vinaget/vng270/hosts/mp3_zing_vn.php +++ b/hosts/mp3_zing_vn.php @@ -1,37 +1,37 @@ -<?php - -class dl_mp3_zing_vn extends Download { - - public function FreeLeech($url) { - if(stristr($url, "http://mp3.zing.vn")) $url = str_replace("http://mp3.zing.vn", "http://m.mp3.zing.vn", $url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(!preg_match('@https?:\/\/m\.mp3\.zing\.vn\/xml\/song\/[^"\'><\r\n\t]+@i', $data, $giay)) - $this->error("Cannot get XML", true, false, 2); - else { - $data = $this->lib->curl($giay[0], $this->lib->cookie, "", 0); - - $js = json_decode($data, true); - - $link = $js['data'][0]['source']; - - $link = str_replace("I=","Y=", $link); - - $this->lib->reserved['filename'] = $js['data'][0]['title'].".mp3"; - - return trim($link); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Mp3.zing.vn Download Plugin by giaythuytinh176 [27.7.2013] -* Support 320kps MP3 free leech. -* Downloader Class By [FZ] -*/ +<?php + +class dl_mp3_zing_vn extends Download { + + public function FreeLeech($url) { + if(stristr($url, "http://mp3.zing.vn")) $url = str_replace("http://mp3.zing.vn", "http://m.mp3.zing.vn", $url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(!preg_match('@https?:\/\/m\.mp3\.zing\.vn\/xml\/song\/[^"\'><\r\n\t]+@i', $data, $giay)) + $this->error("Cannot get XML", true, false, 2); + else { + $data = $this->lib->curl($giay[0], $this->lib->cookie, "", 0); + + $js = json_decode($data, true); + + $link = $js['data'][0]['source']; + + $link = str_replace("I=","Y=", $link); + + $this->lib->reserved['filename'] = $js['data'][0]['title'].".mp3"; + + return trim($link); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Mp3.zing.vn Download Plugin by giaythuytinh176 [27.7.2013] +* Support 320kps MP3 free leech. +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/mup5_com.php b/hosts/mup5_com.php similarity index 96% rename from vinaget/vng270/hosts/mup5_com.php rename to hosts/mup5_com.php index 8c7bff0..17157fd 100644 --- a/vinaget/vng270/hosts/mup5_com.php +++ b/hosts/mup5_com.php @@ -1,22 +1,22 @@ -<?php - -class dl_mup5_com extends Download { - - public function FreeLeech($url) { - $data = $this->lib->curl($url, "", ""); - if(stristr($data,'Error 404!Please come back <a href="http://mup5.com">home') || stristr($data,'Files have been deleted for breach of')) $this->error("dead", true, false, 2); - elseif(preg_match('@https?:\/\/mup5\.com\/dl\.php\?token=[^"\'><\r\n\t]+@i', "http://mup5.com/dl.php?token={$this->lib->cut_str($data, 'token" value="', '">')}", $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* mup5.com Download Plugin by giaythuytinh176 [4.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_mup5_com extends Download { + + public function FreeLeech($url) { + $data = $this->lib->curl($url, "", ""); + if(stristr($data,'Error 404!Please come back <a href="http://mup5.com">home') || stristr($data,'Files have been deleted for breach of')) $this->error("dead", true, false, 2); + elseif(preg_match('@https?:\/\/mup5\.com\/dl\.php\?token=[^"\'><\r\n\t]+@i', "http://mup5.com/dl.php?token={$this->lib->cut_str($data, 'token" value="', '">')}", $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* mup5.com Download Plugin by giaythuytinh176 [4.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/netload_in.php b/hosts/netload_in.php similarity index 100% rename from vinaget/vng270/hosts/netload_in.php rename to hosts/netload_in.php diff --git a/vinaget/vng270/hosts/nirafile_com.php b/hosts/nirafile_com.php similarity index 97% rename from vinaget/vng270/hosts/nirafile_com.php rename to hosts/nirafile_com.php index 36313aa..983ed41 100644 --- a/vinaget/vng270/hosts/nirafile_com.php +++ b/hosts/nirafile_com.php @@ -1,51 +1,51 @@ -<?php - -class dl_nirafile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.nirafile.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'Payment info') && (stristr($data, 'Direct downloads') == false)) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.nirafile.com", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.nirafile.com"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('/href="(http:\/\/.+)">/i', $this->lib->cut_str($data, "</table>", "<img src"), $giay)) - return trim($giay[1]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('/href="(http:\/\/.+)">/i', $this->lib->cut_str($data, "</table>", "<img src"), $giay)) - return trim($giay[1]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* nirafile Download Plugin by giaythuytinh176 [8.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_nirafile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.nirafile.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'Payment info') && (stristr($data, 'Direct downloads') == false)) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.nirafile.com", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.nirafile.com"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('/href="(http:\/\/.+)">/i', $this->lib->cut_str($data, "</table>", "<img src"), $giay)) + return trim($giay[1]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('/href="(http:\/\/.+)">/i', $this->lib->cut_str($data, "</table>", "<img src"), $giay)) + return trim($giay[1]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* nirafile Download Plugin by giaythuytinh176 [8.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/nitrobit_net.php b/hosts/nitrobit_net.php similarity index 96% rename from vinaget/vng270/hosts/nitrobit_net.php rename to hosts/nitrobit_net.php index fc65a7e..fc440d4 100644 --- a/vinaget/vng270/hosts/nitrobit_net.php +++ b/hosts/nitrobit_net.php @@ -1,23 +1,23 @@ -<?php - -class dl_nitrobit_net extends Download { - // Need fix! - public function Leech($url) { - $pwdkey = preg_replace("/\s+/", "", str_replace(";", "", $pwdkey = str_replace("=", "", $this->lib->cookie))); - if(preg_match('@^https?:\/\/www.nitrobit\.net\/view\/(.*)@i', $url, $fileID)); - $data = $this->lib->curl("http://www.nitrobit.net/ajax/unlock.php", "", "file={$fileID[1]}&password=N{$pwdkey}&keep=true"); - $link = $this->lib->cut_str($data, 'id="download" href="', '">'); - return trim($link); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* nitrobit Download Plugin by giaythuytinh176 [17.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_nitrobit_net extends Download { + // Need fix! + public function Leech($url) { + $pwdkey = preg_replace("/\s+/", "", str_replace(";", "", $pwdkey = str_replace("=", "", $this->lib->cookie))); + if(preg_match('@^https?:\/\/www.nitrobit\.net\/view\/(.*)@i', $url, $fileID)); + $data = $this->lib->curl("http://www.nitrobit.net/ajax/unlock.php", "", "file={$fileID[1]}&password=N{$pwdkey}&keep=true"); + $link = $this->lib->cut_str($data, 'id="download" href="', '">'); + return trim($link); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* nitrobit Download Plugin by giaythuytinh176 [17.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/novafile_com.php b/hosts/novafile_com.php similarity index 97% rename from vinaget/vng270/hosts/novafile_com.php rename to hosts/novafile_com.php index 14128e9..52ad3e5 100644 --- a/vinaget/vng270/hosts/novafile_com.php +++ b/hosts/novafile_com.php @@ -1,44 +1,44 @@ -<?php - -class dl_novafile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://novafile.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expires:')) { - $checkbw = $this->lib->curl("http://novafile.com/?op=my_account", "lang=english;{$cookie}", ""); - return array(true, "Until ".$this->lib->cut_str($data, 'Premium Account expires:','<a href="') ."<br/> Traffic Available: " .$this->lib->cut_str($this->lib->cut_str($checkbw, '<td>Traffic Available:</td>','</tr>'), '<td>','</td>')); - } - elseif(stristr($data, 'FREE - member')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://novafile.com/login", "lang=english", "login={$user}&password={$pass}&op=login&rand=&redirect="); - return "lang=english;{$this->lib->GetCookies($data)}"; - } - - public function Leech($url){ - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, '>File Not Found<')) $this->error("dead", true, false, 2); - elseif(stristr($data,"different IP")) $this->error("blockIP", true, false); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<form action="', '</form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - //if(stristr($data,'You have reached the download limit')) $this->error("LimitAcc", true, false); - if(preg_match('@You have reached the download limit: (\d+) (T|G|M|K)B@i', $data, $limit)) $this->error($limit[0], true, false); - else return trim($this->lib->cut_str($data, '<p><a href="', '" class="btn btn-green')); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Novafile Download Plugin -* Downloader Class By [FZ] -* Fixed download by giaythuytinh176 [20.7.2013] -*/ +<?php + +class dl_novafile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://novafile.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expires:')) { + $checkbw = $this->lib->curl("http://novafile.com/?op=my_account", "lang=english;{$cookie}", ""); + return array(true, "Until ".$this->lib->cut_str($data, 'Premium Account expires:','<a href="') ."<br/> Traffic Available: " .$this->lib->cut_str($this->lib->cut_str($checkbw, '<td>Traffic Available:</td>','</tr>'), '<td>','</td>')); + } + elseif(stristr($data, 'FREE - member')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://novafile.com/login", "lang=english", "login={$user}&password={$pass}&op=login&rand=&redirect="); + return "lang=english;{$this->lib->GetCookies($data)}"; + } + + public function Leech($url){ + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, '>File Not Found<')) $this->error("dead", true, false, 2); + elseif(stristr($data,"different IP")) $this->error("blockIP", true, false); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<form action="', '</form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + //if(stristr($data,'You have reached the download limit')) $this->error("LimitAcc", true, false); + if(preg_match('@You have reached the download limit: (\d+) (T|G|M|K)B@i', $data, $limit)) $this->error($limit[0], true, false); + else return trim($this->lib->cut_str($data, '<p><a href="', '" class="btn btn-green')); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Novafile Download Plugin +* Downloader Class By [FZ] +* Fixed download by giaythuytinh176 [20.7.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/novamov_com.php b/hosts/novamov_com.php similarity index 97% rename from vinaget/vng270/hosts/novamov_com.php rename to hosts/novamov_com.php index d4ebcbc..d809bb6 100644 --- a/vinaget/vng270/hosts/novamov_com.php +++ b/hosts/novamov_com.php @@ -1,27 +1,27 @@ -<?php - -class dl_novamov_com extends Download { - - public function FreeLeech($url) { //http://embed.novamov.com/embed.php?width=640&height=390&v=ba9b530d3f65f&px=1 - if(preg_match('@http:\/\/embed\.novamov\.com\/embed\.php(.+)v=(.*)&(.*)@', $url, $fileID)) - $url = "http://www.novamov.com/video/{$fileID[2]}"; - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data, "This file no longer exists") || stristr($data, "The file is being transfered")) $this->error("dead", true, false, 2); - preg_match('@\.file="(\w+)"@i', $data, $fid); - preg_match('@\.filekey="([^"]+)"@i', $data, $fkey); - $data = $this->lib->curl("http://www.novamov.com/api/player.api.php?user=undefined&codes=1&file={$fid[1]}&pass=undefined&key={$fkey[1]}", $this->lib->cookie, ""); - $data = $this->lib->cut_str($data, 'url=', '&title='); - return trim(urldecode($data)."?client=FLASH"); - return false; - } -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* novamov.com Download Plugin by giaythuytinh176 [16.9.2013] -* Downloader Class By [FZ] -*/ -?> +<?php + +class dl_novamov_com extends Download { + + public function FreeLeech($url) { //http://embed.novamov.com/embed.php?width=640&height=390&v=ba9b530d3f65f&px=1 + if(preg_match('@http:\/\/embed\.novamov\.com\/embed\.php(.+)v=(.*)&(.*)@', $url, $fileID)) + $url = "http://www.novamov.com/video/{$fileID[2]}"; + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data, "This file no longer exists") || stristr($data, "The file is being transfered")) $this->error("dead", true, false, 2); + preg_match('@\.file="(\w+)"@i', $data, $fid); + preg_match('@\.filekey="([^"]+)"@i', $data, $fkey); + $data = $this->lib->curl("http://www.novamov.com/api/player.api.php?user=undefined&codes=1&file={$fid[1]}&pass=undefined&key={$fkey[1]}", $this->lib->cookie, ""); + $data = $this->lib->cut_str($data, 'url=', '&title='); + return trim(urldecode($data)."?client=FLASH"); + return false; + } +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* novamov.com Download Plugin by giaythuytinh176 [16.9.2013] +* Downloader Class By [FZ] +*/ +?> diff --git a/vinaget/vng270/hosts/nowdownload_ch.php b/hosts/nowdownload_ch.php similarity index 97% rename from vinaget/vng270/hosts/nowdownload_ch.php rename to hosts/nowdownload_ch.php index c16738d..d0644d2 100644 --- a/vinaget/vng270/hosts/nowdownload_ch.php +++ b/hosts/nowdownload_ch.php @@ -1,34 +1,34 @@ -<?php - -class dl_nowdownload_ch extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.nowdownload.ch/premium.php", $cookie, ""); - if(stristr($data, '>You are a premium user.')) return array(true, "Until ".$this->lib->cut_str($data, 'Your membership expires on', '. ')); - else if(stristr($data, 'nowdownload.ch/logout.php') && !stristr($data, '>You are a premium user.')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.nowdownload.ch/login.php", "", "user={$user}&pass={$pass}"); - return $this->lib->GetCookies($data); - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, 'This file does not exist!')) $this->error("dead", true, false); - elseif(stristr($data, 'The file is being transfered. Please wait!')) $this->error("The file is being transfered. Please wait!", true, false); - elseif(preg_match('/><a href="(https?:\/\/.*)" class="btn btn-danger">Click here/i', $data, $redir)) return trim($redir[1]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Nowdownload.ch Download Plugin by giaythuytinh176 [1.3.2014] -* Downloader Class By [FZ] -*/ +<?php + +class dl_nowdownload_ch extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.nowdownload.ch/premium.php", $cookie, ""); + if(stristr($data, '>You are a premium user.')) return array(true, "Until ".$this->lib->cut_str($data, 'Your membership expires on', '. ')); + else if(stristr($data, 'nowdownload.ch/logout.php') && !stristr($data, '>You are a premium user.')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.nowdownload.ch/login.php", "", "user={$user}&pass={$pass}"); + return $this->lib->GetCookies($data); + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, 'This file does not exist!')) $this->error("dead", true, false); + elseif(stristr($data, 'The file is being transfered. Please wait!')) $this->error("The file is being transfered. Please wait!", true, false); + elseif(preg_match('/><a href="(https?:\/\/.*)" class="btn btn-danger">Click here/i', $data, $redir)) return trim($redir[1]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Nowdownload.ch Download Plugin by giaythuytinh176 [1.3.2014] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/oboom_com.php b/hosts/oboom_com.php similarity index 97% rename from vinaget/vng270/hosts/oboom_com.php rename to hosts/oboom_com.php index 62305ac..b822bf1 100644 --- a/vinaget/vng270/hosts/oboom_com.php +++ b/hosts/oboom_com.php @@ -1,146 +1,146 @@ -<?php - -class dl_oboom_com extends Download { - /* - public function CheckAcc($cookie) { - $data = $this->lib->curl('https://www.oboom.com/', 'lang=EN; ' .str_replace(':', '%3A', $cookie), ''); - - if (preg_match('@premium_unix"\:([^,]+)@i', $data, $redir)) { - if ($redir[1] == 'null') return array(false, "accfree"); - elseif (preg_match('@traffic"\:{"current"\:([^,]+),"increase"\:[^,]+,"last"\:[^,]+,"max"\:([^}]+)@i', $data, $redir2)) { - if ($redir2[1] == 0 && $redir2[2] == 0) return array(false, "accfree"); - else return array(true, 'Until ' .date('H:i:s Y-m-d', $redir[1]). '<br/> Traffic available: ' .round($redir2[1]/1073741824, 2). ' GB<br/> Max: ' .round($redir2[2]/1073741824, 2). ' GB'); - } - } - else return array(false, "accinvalid"); - } - */ - public function Login($user, $pass) { - $mysalt = strrev($pass); - - $hash = $this->pbkdf2('sha1', $pass, $mysalt, 1000, 16); - - $page = $this->lib->curl('https://www.oboom.com/1/login', 'lang=EN', array('auth' => $user, 'pass' => $hash, 'source' => '/#app',), 0); - - $js = @json_decode($page, true); - - $cookie = 'user=' .urlencode($js[1]['cookie']). '; lang=EN; '; - return $cookie; - } - - public function Leech($link) { - - if (strpos($link, '#')) $link = str_replace('#', '', $link); - - if (!preg_match('@https?://(www.)?oboom\.com/([\w]{8})@i', $link, $id)) $this->error('Link invalid?.', true, false); - - $link = "https://www.oboom.com/$id[2]"; - - $page = $this->lib->curl($link, 'lang=EN; ' .$this->lib->cookie, ''); - - if (strpos($page, '400 Bad Request')) $this->error('Link invalid?.', true, false); - - if (preg_match('@ocation: (https?://(www\.)?oboom\.com/[^\r\n]+)@i', $page, $redir)) { - $page = $this->lib->curl(trim($redir[1]), $this->lib->cookie, ''); - } - - if (preg_match('@ocation: (https?://[^\r\n]+)@i', $page, $redir2)) { - - $link = trim($redir2[1]); - - if (strpos($link, 'redirect=true')) { - $page = $this->lib->curl($link, 'lang=EN; ' .$this->lib->cookie, ''); - if (preg_match('@ocation: (https?://[^\r\n]+)@i', $page, $redir3)) $link = trim($redir3[1]); - if (strpos($link, '410,"abused"')) $this->error("Gone. The resource you requested is no longer available and will not come back.", true, false); - if (strpos($link, '404,"item"')) $this->error("The requested file was not found.", true, false); - - if (strpos($link, '1/dlh?ticket')) return trim($link); - else $this->error($this->lib->cut_str($link, '?e=[', '",'), true, false); - } - } - - if (!preg_match('@Session : "([^"]+)"@i', $page, $token)) $this->error("Token not found.", true, false); - - $page = $this->lib->curl('https://api.oboom.com/1/dl', $this->cookie, array('token' => $token[1], 'item' => $id[2],), 0); - - $json = @json_decode($page, true); - - if (isset($json[0]) && $json[0] == 200) { - $link = trim('http://'.$json[1].'/1.0/dlh?ticket='.$json[2]); - if (!preg_match('@https?://[\w]+\.oboom\.com/1\.0/dlh\?ticket=[^\r\n]+@i', $link, $dlink)) $this->error('Error: Download link not found?.', true, false); - return trim($link); - } - - if (isset($json[0]) && $json[0] != 200) $this->CheckErr($json[0]); - - return false; - } - - private function CheckErr($code) { - if (is_numeric($code)) { - switch ($code) { - default: $msg = '*No message for this error*';break; - case 400: $msg = 'Bad request.';break; - case 403: $msg = 'Access denied.';break; - case 404: $msg = 'Resource not found.';break; - case 409: $msg = 'Conflict.';break; - case 410: $msg = 'Gone. The resource you requested is no longer available and will not come back.';break; - case 413: $msg = 'Request entity too large.';break; - case 421: $msg = 'Connection limit exceeded.';break; - case 500: $msg = 'Internal server error.';break; - case 503: $msg = 'The service is temporary not available.';break; - case 507: $msg = 'At least one quota like storage space or item count reached.';break; - case 509: $msg = 'Bandwidth limit exceeded.';break; - } - $this->error("[Error: $code] $msg.", true, false); - } - } - - private function pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output = false) - { //https://github.com/defuse/password-hashing/blob/master/PasswordHash.php - $algorithm = strtolower($algorithm); - if(!in_array($algorithm, hash_algos(), true)) - trigger_error('PBKDF2 ERROR: Invalid hash algorithm.', E_USER_ERROR); - if($count <= 0 || $key_length <= 0) - trigger_error('PBKDF2 ERROR: Invalid parameters.', E_USER_ERROR); - - if (function_exists("hash_pbkdf2")) { - // The output length is in NIBBLES (4-bits) if $raw_output is false! - if (!$raw_output) { - $key_length = $key_length * 2; - } - return hash_pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output); - } - - $hash_length = strlen(hash($algorithm, "", true)); - $block_count = ceil($key_length / $hash_length); - - $output = ""; - for($i = 1; $i <= $block_count; $i++) { - // $i encoded as 4 bytes, big endian. - $last = $salt . pack("N", $i); - // first iteration - $last = $xorsum = hash_hmac($algorithm, $last, $password, true); - // perform the other $count - 1 iterations - for ($j = 1; $j < $count; $j++) { - $xorsum ^= ($last = hash_hmac($algorithm, $last, $password, true)); - } - $output .= $xorsum; - } - - if($raw_output) - return substr($output, 0, $key_length); - else - return bin2hex(substr($output, 0, $key_length)); - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Oboom.com Download Plugin by giaythuytinh176 [19-04-2014] -* Downloader Class By [FZ] -*/ +<?php + +class dl_oboom_com extends Download { + /* + public function CheckAcc($cookie) { + $data = $this->lib->curl('https://www.oboom.com/', 'lang=EN; ' .str_replace(':', '%3A', $cookie), ''); + + if (preg_match('@premium_unix"\:([^,]+)@i', $data, $redir)) { + if ($redir[1] == 'null') return array(false, "accfree"); + elseif (preg_match('@traffic"\:{"current"\:([^,]+),"increase"\:[^,]+,"last"\:[^,]+,"max"\:([^}]+)@i', $data, $redir2)) { + if ($redir2[1] == 0 && $redir2[2] == 0) return array(false, "accfree"); + else return array(true, 'Until ' .date('H:i:s Y-m-d', $redir[1]). '<br/> Traffic available: ' .round($redir2[1]/1073741824, 2). ' GB<br/> Max: ' .round($redir2[2]/1073741824, 2). ' GB'); + } + } + else return array(false, "accinvalid"); + } + */ + public function Login($user, $pass) { + $mysalt = strrev($pass); + + $hash = $this->pbkdf2('sha1', $pass, $mysalt, 1000, 16); + + $page = $this->lib->curl('https://www.oboom.com/1/login', 'lang=EN', array('auth' => $user, 'pass' => $hash, 'source' => '/#app',), 0); + + $js = @json_decode($page, true); + + $cookie = 'user=' .urlencode($js[1]['cookie']). '; lang=EN; '; + return $cookie; + } + + public function Leech($link) { + + if (strpos($link, '#')) $link = str_replace('#', '', $link); + + if (!preg_match('@https?://(www.)?oboom\.com/([\w]{8})@i', $link, $id)) $this->error('Link invalid?.', true, false); + + $link = "https://www.oboom.com/$id[2]"; + + $page = $this->lib->curl($link, 'lang=EN; ' .$this->lib->cookie, ''); + + if (strpos($page, '400 Bad Request')) $this->error('Link invalid?.', true, false); + + if (preg_match('@ocation: (https?://(www\.)?oboom\.com/[^\r\n]+)@i', $page, $redir)) { + $page = $this->lib->curl(trim($redir[1]), $this->lib->cookie, ''); + } + + if (preg_match('@ocation: (https?://[^\r\n]+)@i', $page, $redir2)) { + + $link = trim($redir2[1]); + + if (strpos($link, 'redirect=true')) { + $page = $this->lib->curl($link, 'lang=EN; ' .$this->lib->cookie, ''); + if (preg_match('@ocation: (https?://[^\r\n]+)@i', $page, $redir3)) $link = trim($redir3[1]); + if (strpos($link, '410,"abused"')) $this->error("Gone. The resource you requested is no longer available and will not come back.", true, false); + if (strpos($link, '404,"item"')) $this->error("The requested file was not found.", true, false); + + if (strpos($link, '1/dlh?ticket')) return trim($link); + else $this->error($this->lib->cut_str($link, '?e=[', '",'), true, false); + } + } + + if (!preg_match('@Session : "([^"]+)"@i', $page, $token)) $this->error("Token not found.", true, false); + + $page = $this->lib->curl('https://api.oboom.com/1/dl', $this->cookie, array('token' => $token[1], 'item' => $id[2],), 0); + + $json = @json_decode($page, true); + + if (isset($json[0]) && $json[0] == 200) { + $link = trim('http://'.$json[1].'/1.0/dlh?ticket='.$json[2]); + if (!preg_match('@https?://[\w]+\.oboom\.com/1\.0/dlh\?ticket=[^\r\n]+@i', $link, $dlink)) $this->error('Error: Download link not found?.', true, false); + return trim($link); + } + + if (isset($json[0]) && $json[0] != 200) $this->CheckErr($json[0]); + + return false; + } + + private function CheckErr($code) { + if (is_numeric($code)) { + switch ($code) { + default: $msg = '*No message for this error*';break; + case 400: $msg = 'Bad request.';break; + case 403: $msg = 'Access denied.';break; + case 404: $msg = 'Resource not found.';break; + case 409: $msg = 'Conflict.';break; + case 410: $msg = 'Gone. The resource you requested is no longer available and will not come back.';break; + case 413: $msg = 'Request entity too large.';break; + case 421: $msg = 'Connection limit exceeded.';break; + case 500: $msg = 'Internal server error.';break; + case 503: $msg = 'The service is temporary not available.';break; + case 507: $msg = 'At least one quota like storage space or item count reached.';break; + case 509: $msg = 'Bandwidth limit exceeded.';break; + } + $this->error("[Error: $code] $msg.", true, false); + } + } + + private function pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output = false) + { //https://github.com/defuse/password-hashing/blob/master/PasswordHash.php + $algorithm = strtolower($algorithm); + if(!in_array($algorithm, hash_algos(), true)) + trigger_error('PBKDF2 ERROR: Invalid hash algorithm.', E_USER_ERROR); + if($count <= 0 || $key_length <= 0) + trigger_error('PBKDF2 ERROR: Invalid parameters.', E_USER_ERROR); + + if (function_exists("hash_pbkdf2")) { + // The output length is in NIBBLES (4-bits) if $raw_output is false! + if (!$raw_output) { + $key_length = $key_length * 2; + } + return hash_pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output); + } + + $hash_length = strlen(hash($algorithm, "", true)); + $block_count = ceil($key_length / $hash_length); + + $output = ""; + for($i = 1; $i <= $block_count; $i++) { + // $i encoded as 4 bytes, big endian. + $last = $salt . pack("N", $i); + // first iteration + $last = $xorsum = hash_hmac($algorithm, $last, $password, true); + // perform the other $count - 1 iterations + for ($j = 1; $j < $count; $j++) { + $xorsum ^= ($last = hash_hmac($algorithm, $last, $password, true)); + } + $output .= $xorsum; + } + + if($raw_output) + return substr($output, 0, $key_length); + else + return bin2hex(substr($output, 0, $key_length)); + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Oboom.com Download Plugin by giaythuytinh176 [19-04-2014] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/oteupload_com.php b/hosts/oteupload_com.php similarity index 97% rename from vinaget/vng270/hosts/oteupload_com.php rename to hosts/oteupload_com.php index 1e3148f..adc8efd 100644 --- a/vinaget/vng270/hosts/oteupload_com.php +++ b/hosts/oteupload_com.php @@ -1,49 +1,49 @@ -<?php - -class dl_oteupload_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.oteupload.com/my_account.php", "lang=english;{$cookie}", ""); - if(stristr($data, 'Your premium status runs out in:')) return array(true, "Until ".$this->lib->cut_str($data, 'Your premium status runs out in:<br /><span>', '</span></td>'). "<br/> Traffic available today: ". round($this->lib->cut_str($data, 'traficleft = Math.round(', '/')/1024, 2). " GB"); - else if(stristr($data, 'New password') && !stristr($data, 'Your premium status')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.oteupload.com/", "lang=english", "login={$user}&password={$pass}&op=login&submit=&tos=1&redirect=https://www.oteupload.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "lang=english;".$this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method', '<table width="890px" border="0"')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('/div id=\'dl\'><a href=\'(https?:\/\/.+)\'><img src/i', $data, $giay)) return trim($giay[1]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'You have reached the download-limit:')) $this->error("LimitAcc", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method', '<table width="890px" border="0"')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('/div id=\'dl\'><a href=\'(https?:\/\/.+)\'><img src/i', $data, $giay)) return trim($giay[1]); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Oteupload Download Plugin by giaythuytinh176 [1.8.2013][12.9.2013][Fixed] -* Downloader Class By [FZ] -*/ +<?php + +class dl_oteupload_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.oteupload.com/my_account.php", "lang=english;{$cookie}", ""); + if(stristr($data, 'Your premium status runs out in:')) return array(true, "Until ".$this->lib->cut_str($data, 'Your premium status runs out in:<br /><span>', '</span></td>'). "<br/> Traffic available today: ". round($this->lib->cut_str($data, 'traficleft = Math.round(', '/')/1024, 2). " GB"); + else if(stristr($data, 'New password') && !stristr($data, 'Your premium status')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.oteupload.com/", "lang=english", "login={$user}&password={$pass}&op=login&submit=&tos=1&redirect=https://www.oteupload.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "lang=english;".$this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method', '<table width="890px" border="0"')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('/div id=\'dl\'><a href=\'(https?:\/\/.+)\'><img src/i', $data, $giay)) return trim($giay[1]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'You have reached the download-limit:')) $this->error("LimitAcc", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method', '<table width="890px" border="0"')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('/div id=\'dl\'><a href=\'(https?:\/\/.+)\'><img src/i', $data, $giay)) return trim($giay[1]); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Oteupload Download Plugin by giaythuytinh176 [1.8.2013][12.9.2013][Fixed] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/pandamemo_com.php b/hosts/pandamemo_com.php similarity index 97% rename from vinaget/vng270/hosts/pandamemo_com.php rename to hosts/pandamemo_com.php index 818f91e..7fcd64c 100644 --- a/vinaget/vng270/hosts/pandamemo_com.php +++ b/hosts/pandamemo_com.php @@ -1,51 +1,51 @@ -<?php - -class dl_pandamemo_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.pandamemo.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.pandamemo.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.pandamemo.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?pandamemo\.com(:\d+)?\/dl\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/(\w+\.)?pandamemo\.com(:\d+)?\/dl\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* pandamemo Download Plugin by giaythuytinh176 [14.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_pandamemo_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.pandamemo.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.pandamemo.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.pandamemo.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?pandamemo\.com(:\d+)?\/dl\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/(\w+\.)?pandamemo\.com(:\d+)?\/dl\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* pandamemo Download Plugin by giaythuytinh176 [14.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/playlist_chiasenhac_com.php b/hosts/playlist_chiasenhac_com.php similarity index 100% rename from vinaget/vng270/hosts/playlist_chiasenhac_com.php rename to hosts/playlist_chiasenhac_com.php diff --git a/vinaget/vng270/hosts/plunder_com.php b/hosts/plunder_com.php similarity index 97% rename from vinaget/vng270/hosts/plunder_com.php rename to hosts/plunder_com.php index 24724a2..690f707 100644 --- a/vinaget/vng270/hosts/plunder_com.php +++ b/hosts/plunder_com.php @@ -1,41 +1,41 @@ -<?php - -class dl_plunder_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.plunder.com/", $cookie, ""); - if(stristr($data, 'href="/logout/">Logout</a>')) return array(true, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass) { // use cookie loginx= if not work. - $data = $this->lib->curl("http://www.plunder.com/login/","",""); - $post["Username"]= $user; - $post["Password"]= $pass; - $post["__VIEWSTATE"] = $this->lib->cut_str($data, "__VIEWSTATE\" value=\"", "\""); - $post["__EVENTVALIDATION"] = $this->lib->cut_str($data, "__EVENTVALIDATION\" value=\"", "\""); - $post["return"] = ""; - $post["handshake"] = ""; - $post["submit"] = "Submit"; - $data = $this->lib->curl("http://www.plunder.com/login/","",$post); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(preg_match('@https?:\/\/[a-z]+\.plunder\.com\/[a-z]+\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* plunder.com Download Plugin by giaythuytinh176 [11.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_plunder_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.plunder.com/", $cookie, ""); + if(stristr($data, 'href="/logout/">Logout</a>')) return array(true, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass) { // use cookie loginx= if not work. + $data = $this->lib->curl("http://www.plunder.com/login/","",""); + $post["Username"]= $user; + $post["Password"]= $pass; + $post["__VIEWSTATE"] = $this->lib->cut_str($data, "__VIEWSTATE\" value=\"", "\""); + $post["__EVENTVALIDATION"] = $this->lib->cut_str($data, "__EVENTVALIDATION\" value=\"", "\""); + $post["return"] = ""; + $post["handshake"] = ""; + $post["submit"] = "Submit"; + $data = $this->lib->curl("http://www.plunder.com/login/","",$post); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(preg_match('@https?:\/\/[a-z]+\.plunder\.com\/[a-z]+\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* plunder.com Download Plugin by giaythuytinh176 [11.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/purevid_com.php b/hosts/purevid_com.php similarity index 97% rename from vinaget/vng270/hosts/purevid_com.php rename to hosts/purevid_com.php index 165ab87..d1800bb 100644 --- a/vinaget/vng270/hosts/purevid_com.php +++ b/hosts/purevid_com.php @@ -1,44 +1,44 @@ -<?php - -class dl_purevid_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.purevid.com/?m=video_manager", $cookie, ""); - $dt = $this->lib->curl("http://www.purevid.com/?m=login&action=autologin&r=http://www.purevid.com/?m=main", $cookie, ""); - if(stristr($data, '><span>premium</span> until')) return array(true, $this->lib->cut_str($data, '><span>premium</span>', '<br />')); - else if(stristr($data, '/><span>regular</span>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.purevid.com/", "", ""); - $cookies = $this->lib->GetCookies($data); - $data = $this->lib->curl("http://www.purevid.com/?m=login", $cookies, "username={$user}&password={$pass}&remember=yes"); - $cookie = $cookies.";".$this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - $dt = $this->lib->curl("http://www.purevid.com/?m=login&action=autologin&r={$url}", $this->lib->cookie, ""); - $this->save($this->lib->GetCookies($dt)); - if(stristr($data, "this video has been deleted by the user or") || stristr($data, "404 - Not Found")) $this->error("dead", true, false, 2); - $link = $this->lib->cut_str($this->lib->cut_str($data, '<div class="video-bg">', '</div>'), 'frameBorder="0" src="', '"></iframe>'); - $data = $this->lib->curl($link, $this->lib->cookie, ""); - $link = str_replace("%26", "&", $this->lib->cut_str($data, '<param value="config=', '" name="flashvars"/>')); - $data = $this->lib->curl($link, $this->lib->cookie, "", 0); - $page = json_decode($data, true); - return trim($page['clip']['downloadUrl']); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Purevid.com Download Plugin by giaythuytinh176 [15.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_purevid_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.purevid.com/?m=video_manager", $cookie, ""); + $dt = $this->lib->curl("http://www.purevid.com/?m=login&action=autologin&r=http://www.purevid.com/?m=main", $cookie, ""); + if(stristr($data, '><span>premium</span> until')) return array(true, $this->lib->cut_str($data, '><span>premium</span>', '<br />')); + else if(stristr($data, '/><span>regular</span>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.purevid.com/", "", ""); + $cookies = $this->lib->GetCookies($data); + $data = $this->lib->curl("http://www.purevid.com/?m=login", $cookies, "username={$user}&password={$pass}&remember=yes"); + $cookie = $cookies.";".$this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + $dt = $this->lib->curl("http://www.purevid.com/?m=login&action=autologin&r={$url}", $this->lib->cookie, ""); + $this->save($this->lib->GetCookies($dt)); + if(stristr($data, "this video has been deleted by the user or") || stristr($data, "404 - Not Found")) $this->error("dead", true, false, 2); + $link = $this->lib->cut_str($this->lib->cut_str($data, '<div class="video-bg">', '</div>'), 'frameBorder="0" src="', '"></iframe>'); + $data = $this->lib->curl($link, $this->lib->cookie, ""); + $link = str_replace("%26", "&", $this->lib->cut_str($data, '<param value="config=', '" name="flashvars"/>')); + $data = $this->lib->curl($link, $this->lib->cookie, "", 0); + $page = json_decode($data, true); + return trim($page['clip']['downloadUrl']); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Purevid.com Download Plugin by giaythuytinh176 [15.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/putlocker_com.php b/hosts/putlocker_com.php similarity index 100% rename from vinaget/vng270/hosts/putlocker_com.php rename to hosts/putlocker_com.php diff --git a/vinaget/vng270/hosts/queenshare_com.php b/hosts/queenshare_com.php similarity index 97% rename from vinaget/vng270/hosts/queenshare_com.php rename to hosts/queenshare_com.php index 9a27437..3f00caa 100644 --- a/vinaget/vng270/hosts/queenshare_com.php +++ b/hosts/queenshare_com.php @@ -1,83 +1,83 @@ -<?php - -class dl_queenshare_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.queenshare.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.queenshare.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.queenshare.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data, 'method_free" value="Free Download')){ - $post = $this->parseForm($this->lib->cut_str($data, '<form method="POST" action=\'\'>', '<table align="center" cellspacing="10">')); - $post['method_free'] = 'Free Download'; - $post['method_premium'] = ''; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', 'value="Create Download Link">')); - $post1['password'] = $pass; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - if(preg_match('@http:\/\/ww\d+\.queenshare\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) $this->error($count[0], true, false); - elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!stristr($data, 'value="Create Download Link')) - $this->error("Cannot get Create Download Link", true, false); - else { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', 'value="Create Download Link">')); - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(preg_match('@http:\/\/ww\d+\.queenshare\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post0["password"] = $pass; - $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); - if(stristr($data0,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@http:\/\/ww\d+\.queenshare\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); - $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); - if(preg_match('@http:\/\/ww\d+\.queenshare\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* queenshare Download Plugin by giaythuytinh176 [19.8.2013] -* Downloader Class By [FZ] -* Special thanks to test500@rapidleech.com for your Queenshare account. -*/ +<?php + +class dl_queenshare_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.queenshare.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.queenshare.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.queenshare.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data, 'method_free" value="Free Download')){ + $post = $this->parseForm($this->lib->cut_str($data, '<form method="POST" action=\'\'>', '<table align="center" cellspacing="10">')); + $post['method_free'] = 'Free Download'; + $post['method_premium'] = ''; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', 'value="Create Download Link">')); + $post1['password'] = $pass; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + if(preg_match('@http:\/\/ww\d+\.queenshare\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) $this->error($count[0], true, false); + elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!stristr($data, 'value="Create Download Link')) + $this->error("Cannot get Create Download Link", true, false); + else { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', 'value="Create Download Link">')); + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(preg_match('@http:\/\/ww\d+\.queenshare\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post0["password"] = $pass; + $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); + if(stristr($data0,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@http:\/\/ww\d+\.queenshare\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); + $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); + if(preg_match('@http:\/\/ww\d+\.queenshare\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* queenshare Download Plugin by giaythuytinh176 [19.8.2013] +* Downloader Class By [FZ] +* Special thanks to test500@rapidleech.com for your Queenshare account. +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/rapidfileshare_net.php b/hosts/rapidfileshare_net.php similarity index 97% rename from vinaget/vng270/hosts/rapidfileshare_net.php rename to hosts/rapidfileshare_net.php index 0b3e3bc..d79ed10 100644 --- a/vinaget/vng270/hosts/rapidfileshare_net.php +++ b/hosts/rapidfileshare_net.php @@ -1,55 +1,55 @@ -<?php - -class dl_rapidfileshare_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.rapidfileshare.net/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'My affiliate link') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.rapidfileshare.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.rapidfileshare.net/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(!preg_match('@https?:\/\/(\w+\.)?rapidfileshare\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - $this->error("notfound", true, false, 2); - else - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(!preg_match('@https?:\/\/(\w+\.)?rapidfileshare\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - $this->error("notfound", true, false, 2); - else - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* rapidfileshare Download Plugin by giaythuytinh176 [27.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_rapidfileshare_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.rapidfileshare.net/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'My affiliate link') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.rapidfileshare.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.rapidfileshare.net/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(!preg_match('@https?:\/\/(\w+\.)?rapidfileshare\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + $this->error("notfound", true, false, 2); + else + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(!preg_match('@https?:\/\/(\w+\.)?rapidfileshare\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + $this->error("notfound", true, false, 2); + else + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* rapidfileshare Download Plugin by giaythuytinh176 [27.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/rapidgator_net.php b/hosts/rapidgator_net.php similarity index 100% rename from vinaget/vng270/hosts/rapidgator_net.php rename to hosts/rapidgator_net.php diff --git a/vinaget/vng270/hosts/rapidshare_com.php b/hosts/rapidshare_com.php similarity index 97% rename from vinaget/vng270/hosts/rapidshare_com.php rename to hosts/rapidshare_com.php index 312c4a1..dd900a7 100644 --- a/vinaget/vng270/hosts/rapidshare_com.php +++ b/hosts/rapidshare_com.php @@ -1,84 +1,84 @@ -<?php - -class dl_rapidshare_com extends Download { - - public function PreLeech($url) { - if(stristr($url, "my.rapidshare.com")) $this->error("Not Support Folder", true, false, 2); - } - - public function CheckAcc($cookie){ - if(stristr($cookie, "=")) { - $ckc = explode("=", $cookie); - $cookie = $ckc[1]; - } - $data = $this->lib->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi", "lang=en", "sub=getaccountdetails&withcookie=1&withpublicid=1&withsession=1&cookie={$cookie}&cbf=RSAPIDispatcher&cbid=1"); - if(preg_match('/nbilleduntil=([0-9]+)/', $data, $giay)) { - if($giay[1] == 0) return array(false, "accfree"); - elseif(time() > $giay[1]) return array(false, "Account Expired!"); - else return array(true, "Until " .date('H:i:s Y-m-d', $giay[1])); - } - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi", "lang=en", "sub=getaccountdetails&withcookie=1&withpublicid=1&login={$user}&cbf=RSAPIDispatcher&cbid=2&password={$pass}"); - preg_match('/ncookie=([A-Z0-9]+)/', $data, $thuytinh); - return "enc={$thuytinh[1]}; lang=en"; - } - - public function Leech($url) { - if(stristr($url, 'rapidshare') && stristr($url, 'download|')) { - $url = str_replace("%21","!",$url); - $url = str_replace("%7C","|",$url); - $arrRSL = explode('|', $url); - if(isset($arrRSL)){ - $idfiles = $arrRSL[2]; - $idnames = $arrRSL[3]; - $url = "http://rapidshare.com/files/{$arrRSL[2]}/{$arrRSL[3]}"; - } - } - elseif(stristr($url, 'rapidshare.com/download/')) { // Fixed link by giaythuytinh176 [15.10.2013] - $arrRSL = explode('/', $url); - $idfiles = $arrRSL[5]; - $idnames = base64_decode($arrRSL[6]); - $url = "http://rapidshare.com/files/{$arrRSL[2]}/{$arrRSL[3]}"; - } - elseif(stristr($url, 'rapidshare.com/desktop/download')) { // Fixed link by giaythuytinh176 [30.9.2013] - $arrRSL = explode('/', $url); - $idfiles = $arrRSL[6]; - $idnames = base64_decode($arrRSL[7]); - $url = "http://rapidshare.com/files/{$arrRSL[2]}/{$arrRSL[3]}"; - } - else { - $arrRSL = explode('/', $url); - if(isset($arrRSL)){ - $idfiles = $arrRSL[4]; - $idnames = $arrRSL[5]; - $url = "http://rapidshare.com/files/{$arrRSL[4]}/{$arrRSL[5]}"; - } - } - $checkfile = file_get_contents("http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles&files={$idfiles}&filenames={$idnames}"); - if(stristr($checkfile,'0,0,0,0,0')) $this->error("dead", true, false, 2); - $cookie = preg_replace("/(enc=|ENC=|Enc=|\s+|;|lang=en)/", "", $this->lib->cookie); - $data = $this->lib->curl("https://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download&cookie={$cookie}&fileid={$idfiles}&filename={$idnames}", "", "", 0); - if(stristr($data, "File owner's public traffic exhausted")) $this->error("File owner's public traffic exhausted", true, false); - elseif(stristr($data, "Download permission denied by uploader")) $this->error("Download permission denied by uploader", true, false); - elseif(preg_match('/DL\:(.+rapidshare.com),/i', $data, $rssv)) { - $link = "http://{$rssv[1]}/cgi-bin/rsapi.cgi?sub=download&cookie={$cookie}&fileid={$idfiles}&filename={$idnames}"; - return trim($link); - } - //$data = $this->lib->curl($url, "lang=en;".$this->lib->cookie, ""); - //if($this->isredirect($data)) return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Rapidshare Download Plugin by giaythuytinh176 [2.8.2013][23.9.2013][Fixed link] -* Downloader Class By [FZ] -*/ +<?php + +class dl_rapidshare_com extends Download { + + public function PreLeech($url) { + if(stristr($url, "my.rapidshare.com")) $this->error("Not Support Folder", true, false, 2); + } + + public function CheckAcc($cookie){ + if(stristr($cookie, "=")) { + $ckc = explode("=", $cookie); + $cookie = $ckc[1]; + } + $data = $this->lib->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi", "lang=en", "sub=getaccountdetails&withcookie=1&withpublicid=1&withsession=1&cookie={$cookie}&cbf=RSAPIDispatcher&cbid=1"); + if(preg_match('/nbilleduntil=([0-9]+)/', $data, $giay)) { + if($giay[1] == 0) return array(false, "accfree"); + elseif(time() > $giay[1]) return array(false, "Account Expired!"); + else return array(true, "Until " .date('H:i:s Y-m-d', $giay[1])); + } + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi", "lang=en", "sub=getaccountdetails&withcookie=1&withpublicid=1&login={$user}&cbf=RSAPIDispatcher&cbid=2&password={$pass}"); + preg_match('/ncookie=([A-Z0-9]+)/', $data, $thuytinh); + return "enc={$thuytinh[1]}; lang=en"; + } + + public function Leech($url) { + if(stristr($url, 'rapidshare') && stristr($url, 'download|')) { + $url = str_replace("%21","!",$url); + $url = str_replace("%7C","|",$url); + $arrRSL = explode('|', $url); + if(isset($arrRSL)){ + $idfiles = $arrRSL[2]; + $idnames = $arrRSL[3]; + $url = "http://rapidshare.com/files/{$arrRSL[2]}/{$arrRSL[3]}"; + } + } + elseif(stristr($url, 'rapidshare.com/download/')) { // Fixed link by giaythuytinh176 [15.10.2013] + $arrRSL = explode('/', $url); + $idfiles = $arrRSL[5]; + $idnames = base64_decode($arrRSL[6]); + $url = "http://rapidshare.com/files/{$arrRSL[2]}/{$arrRSL[3]}"; + } + elseif(stristr($url, 'rapidshare.com/desktop/download')) { // Fixed link by giaythuytinh176 [30.9.2013] + $arrRSL = explode('/', $url); + $idfiles = $arrRSL[6]; + $idnames = base64_decode($arrRSL[7]); + $url = "http://rapidshare.com/files/{$arrRSL[2]}/{$arrRSL[3]}"; + } + else { + $arrRSL = explode('/', $url); + if(isset($arrRSL)){ + $idfiles = $arrRSL[4]; + $idnames = $arrRSL[5]; + $url = "http://rapidshare.com/files/{$arrRSL[4]}/{$arrRSL[5]}"; + } + } + $checkfile = file_get_contents("http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles&files={$idfiles}&filenames={$idnames}"); + if(stristr($checkfile,'0,0,0,0,0')) $this->error("dead", true, false, 2); + $cookie = preg_replace("/(enc=|ENC=|Enc=|\s+|;|lang=en)/", "", $this->lib->cookie); + $data = $this->lib->curl("https://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download&cookie={$cookie}&fileid={$idfiles}&filename={$idnames}", "", "", 0); + if(stristr($data, "File owner's public traffic exhausted")) $this->error("File owner's public traffic exhausted", true, false); + elseif(stristr($data, "Download permission denied by uploader")) $this->error("Download permission denied by uploader", true, false); + elseif(preg_match('/DL\:(.+rapidshare.com),/i', $data, $rssv)) { + $link = "http://{$rssv[1]}/cgi-bin/rsapi.cgi?sub=download&cookie={$cookie}&fileid={$idfiles}&filename={$idnames}"; + return trim($link); + } + //$data = $this->lib->curl($url, "lang=en;".$this->lib->cookie, ""); + //if($this->isredirect($data)) return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Rapidshare Download Plugin by giaythuytinh176 [2.8.2013][23.9.2013][Fixed link] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/rarefile_net.php b/hosts/rarefile_net.php similarity index 97% rename from vinaget/vng270/hosts/rarefile_net.php rename to hosts/rarefile_net.php index 77fffbc..fc56756 100644 --- a/vinaget/vng270/hosts/rarefile_net.php +++ b/hosts/rarefile_net.php @@ -1,51 +1,51 @@ -<?php - -class dl_rarefile_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.rarefile.net/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.rarefile.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.rarefile.net/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?rarefiles\.net(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/(\w+\.)?rarefiles\.net(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* rarefile Download Plugin by giaythuytinh176 [13.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_rarefile_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.rarefile.net/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.rarefile.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.rarefile.net/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?rarefiles\.net(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/(\w+\.)?rarefiles\.net(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* rarefile Download Plugin by giaythuytinh176 [13.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/redload_net.php b/hosts/redload_net.php similarity index 97% rename from vinaget/vng270/hosts/redload_net.php rename to hosts/redload_net.php index 92eff2b..9e76549 100644 --- a/vinaget/vng270/hosts/redload_net.php +++ b/hosts/redload_net.php @@ -1,48 +1,48 @@ -<?php - -class dl_redload_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://redload.net/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, '>Premium account expire:<')) return array(true, "Until ".$this->lib->cut_str($data, 'style="width:80px;"><b>', '</b></div>'). "<br/> Traffic available today: " .$this->lib->cut_str($this->lib->cut_str($data, 'Traffic available today', 'My Account Settings'), 'style="width:250px;"><b>', '</b></div>')); - else if(stristr($data, 'Retype New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://redload.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - return "lang=english;{$this->lib->GetCookies($data)}"; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if(stristr($data,'text-align <br><b>Password:</b></div>')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Redload.net Download Plugin by giaythuytinh176 [15.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_redload_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://redload.net/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, '>Premium account expire:<')) return array(true, "Until ".$this->lib->cut_str($data, 'style="width:80px;"><b>', '</b></div>'). "<br/> Traffic available today: " .$this->lib->cut_str($this->lib->cut_str($data, 'Traffic available today', 'My Account Settings'), 'style="width:250px;"><b>', '</b></div>')); + else if(stristr($data, 'Retype New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://redload.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + return "lang=english;{$this->lib->GetCookies($data)}"; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if(stristr($data,'text-align <br><b>Password:</b></div>')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Redload.net Download Plugin by giaythuytinh176 [15.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/rg_to.php b/hosts/rg_to.php similarity index 100% rename from vinaget/vng270/hosts/rg_to.php rename to hosts/rg_to.php diff --git a/vinaget/vng270/hosts/rghost_net.php b/hosts/rghost_net.php similarity index 97% rename from vinaget/vng270/hosts/rghost_net.php rename to hosts/rghost_net.php index 8e32a57..2c811ea 100644 --- a/vinaget/vng270/hosts/rghost_net.php +++ b/hosts/rghost_net.php @@ -1,43 +1,43 @@ -<?php - -class dl_rghost_net extends Download { - - public function FreeLeech($url){ - if(!stristr($url, "http://rghost.net")) { - $ext = explode("/", $url); - $url = "http://rghost.net/".$ext[3]; - } - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if($pass) { - if (!preg_match('%UTF-8" action="([^"]+)"%', $data, $urlp)) - $this->error("Error: Cannot get Pass Link", true, false, 2); - else - $urlgiay = 'http://rghost.net'.$urlp; - $post["utf8"] = "✓"; - $post["authenticity_token"] = $this->lib->cut_str($data, 'authenticity_token" type="hidden" value="', '" />'); - $post["password"] = $pass; - $post["commit"] = "Get link"; - $data = $this->lib->curl($urlgiay, $this->lib->cookie, $post); - if(stristr($data,'Incorrect password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/rghost\.net\/download\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'File is deleted.') || stristr($data,'<p>this page is not found</p>')) $this->error("dead", true, false, 2); - elseif(stristr($data,'password" name="password')) $this->error("reportpass", true, false); - elseif(preg_match('@https?:\/\/rghost\.net\/download\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Rghost.net Download Plugin by giaythuytinh176 [25.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_rghost_net extends Download { + + public function FreeLeech($url){ + if(!stristr($url, "http://rghost.net")) { + $ext = explode("/", $url); + $url = "http://rghost.net/".$ext[3]; + } + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if($pass) { + if (!preg_match('%UTF-8" action="([^"]+)"%', $data, $urlp)) + $this->error("Error: Cannot get Pass Link", true, false, 2); + else + $urlgiay = 'http://rghost.net'.$urlp; + $post["utf8"] = "✓"; + $post["authenticity_token"] = $this->lib->cut_str($data, 'authenticity_token" type="hidden" value="', '" />'); + $post["password"] = $pass; + $post["commit"] = "Get link"; + $data = $this->lib->curl($urlgiay, $this->lib->cookie, $post); + if(stristr($data,'Incorrect password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/rghost\.net\/download\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'File is deleted.') || stristr($data,'<p>this page is not found</p>')) $this->error("dead", true, false, 2); + elseif(stristr($data,'password" name="password')) $this->error("reportpass", true, false); + elseif(preg_match('@https?:\/\/rghost\.net\/download\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Rghost.net Download Plugin by giaythuytinh176 [25.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/rodfile_com.php b/hosts/rodfile_com.php similarity index 97% rename from vinaget/vng270/hosts/rodfile_com.php rename to hosts/rodfile_com.php index 4775fc8..0f1bb97 100644 --- a/vinaget/vng270/hosts/rodfile_com.php +++ b/hosts/rodfile_com.php @@ -1,83 +1,83 @@ -<?php - -class dl_rodfile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.rodfile.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.rodfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.rodfile.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data, 'method_free" value="Free Download')){ - $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST" action', '<input type="submit" name="method_premium')); - $post['method_free'] = 'Free Download'; - $post['method_premium'] = ''; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', 'Report abuse</a></small>')); - $post1['password'] = $pass; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/rs(\d+)?\.rodfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - if(stristr($data,'Your Traffic download today has been finished')) $this->error("LimitAcc", true, false); - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!stristr($data, 'value="Create Download Link')) - $this->error("Cannot get Create Download Link", true, false); - else { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', 'Report abuse</a></small>')); - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(preg_match('@https?:\/\/rs(\d+)?\.rodfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post0["password"] = $pass; - $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); - if(stristr($data0,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/rs(\d+)?\.rodfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); - if(!preg_match('@https?:\/\/rs(\d+)?\.rodfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* rodfile Download Plugin by giaythuytinh176 [14.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_rodfile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.rodfile.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.rodfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.rodfile.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data, 'method_free" value="Free Download')){ + $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST" action', '<input type="submit" name="method_premium')); + $post['method_free'] = 'Free Download'; + $post['method_premium'] = ''; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', 'Report abuse</a></small>')); + $post1['password'] = $pass; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/rs(\d+)?\.rodfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + if(stristr($data,'Your Traffic download today has been finished')) $this->error("LimitAcc", true, false); + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!stristr($data, 'value="Create Download Link')) + $this->error("Cannot get Create Download Link", true, false); + else { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', 'Report abuse</a></small>')); + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(preg_match('@https?:\/\/rs(\d+)?\.rodfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post0["password"] = $pass; + $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); + if(stristr($data0,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/rs(\d+)?\.rodfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); + if(!preg_match('@https?:\/\/rs(\d+)?\.rodfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* rodfile Download Plugin by giaythuytinh176 [14.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/ryushare_com.php b/hosts/ryushare_com.php similarity index 100% rename from vinaget/vng270/hosts/ryushare_com.php rename to hosts/ryushare_com.php diff --git a/vinaget/vng270/hosts/safeshared_com.php b/hosts/safeshared_com.php similarity index 97% rename from vinaget/vng270/hosts/safeshared_com.php rename to hosts/safeshared_com.php index c02b728..bf709d4 100644 --- a/vinaget/vng270/hosts/safeshared_com.php +++ b/hosts/safeshared_com.php @@ -1,25 +1,25 @@ -<?php - -class dl_safeshared_com extends Download { - - public function FreeLeech($url){ - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,'<center><h1>404 Not Found</h1></center>') && stristr($data,'<center>nginx</center>')) $this->error("blockCountry", true, false); - elseif(stristr($data,'<div class="message-big">404</div>') && stristr($data,'<div class="message-small">HTTP Error - File or directory not found</div>')) $this->error("dead", true, false, 2); - $ip = $this->lib->cut_str($data, 'var domainDownload = \'', '/\';'); - $id = $this->lib->cut_str($data, 'var uriDownload = \'', '\';'); - $link = ''.$ip.'/'.$id; return trim($link); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Safeshared.com Download Plugin by giaythuytinh176 [25.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_safeshared_com extends Download { + + public function FreeLeech($url){ + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,'<center><h1>404 Not Found</h1></center>') && stristr($data,'<center>nginx</center>')) $this->error("blockCountry", true, false); + elseif(stristr($data,'<div class="message-big">404</div>') && stristr($data,'<div class="message-small">HTTP Error - File or directory not found</div>')) $this->error("dead", true, false, 2); + $ip = $this->lib->cut_str($data, 'var domainDownload = \'', '/\';'); + $id = $this->lib->cut_str($data, 'var uriDownload = \'', '\';'); + $link = ''.$ip.'/'.$id; return trim($link); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Safeshared.com Download Plugin by giaythuytinh176 [25.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/sanshare_com.php b/hosts/sanshare_com.php similarity index 97% rename from vinaget/vng270/hosts/sanshare_com.php rename to hosts/sanshare_com.php index 09de8a0..018557a 100644 --- a/vinaget/vng270/hosts/sanshare_com.php +++ b/hosts/sanshare_com.php @@ -1,51 +1,51 @@ -<?php - -class dl_sanshare_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://sanshare.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b></TD><TD>')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://sanshare.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://sanshare.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Sanshare Download Plugin by giaythuytinh176 [31.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_sanshare_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://sanshare.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b></TD><TD>')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://sanshare.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://sanshare.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Sanshare Download Plugin by giaythuytinh176 [31.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/secureupload_eu.php b/hosts/secureupload_eu.php similarity index 97% rename from vinaget/vng270/hosts/secureupload_eu.php rename to hosts/secureupload_eu.php index c9d89f7..47d7851 100644 --- a/vinaget/vng270/hosts/secureupload_eu.php +++ b/hosts/secureupload_eu.php @@ -1,48 +1,48 @@ -<?php - -class dl_secureupload_eu extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.secureupload.eu/account.html", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until " .$this->lib->cut_str($this->lib->cut_str($data, 'Premium account expire:</td>', '</tr>'), '<td>', '<a h')); - else if(stristr($data, '>Username:</') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.secureupload.eu/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.secureupload.eu/account.html"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?secureupload\.eu(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); - } - if(stristr($data,'Password:</b> <input type="password"')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/(\w+\.)?secureupload\.eu(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Secureupload.eu Download Plugin by giaythuytinh176 [17.12.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_secureupload_eu extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.secureupload.eu/account.html", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until " .$this->lib->cut_str($this->lib->cut_str($data, 'Premium account expire:</td>', '</tr>'), '<td>', '<a h')); + else if(stristr($data, '>Username:</') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.secureupload.eu/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.secureupload.eu/account.html"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?secureupload\.eu(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); + } + if(stristr($data,'Password:</b> <input type="password"')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/(\w+\.)?secureupload\.eu(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Secureupload.eu Download Plugin by giaythuytinh176 [17.12.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/sendspace_com.php b/hosts/sendspace_com.php similarity index 97% rename from vinaget/vng270/hosts/sendspace_com.php rename to hosts/sendspace_com.php index 651bdf0..e0d83f0 100644 --- a/vinaget/vng270/hosts/sendspace_com.php +++ b/hosts/sendspace_com.php @@ -1,52 +1,52 @@ -<?php - -class dl_sendspace_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.sendspace.com/mysendspace/myindex.html", "{$cookie}", ""); - if(stristr($data, 'account needs to be renewed')) return array(true, "Until ". $this->lib->cut_str($data, 'account needs to be renewed in', '</li>') ."<br/> Traffic available: ". $this->lib->cut_str($data, '<li>You have ', 'available bandwidth</li>')); - else if(stristr($data, 'http://www.sendspace.com/login.html?logout=1') && !stristr($data, 'account needs to be renewed')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.sendspace.com/login.html", "", "remember=on&action=login&submit=login&username={$user}&password={$pass}"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } -/* - public function FreeLeech($url){ - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,"Sorry, the file you requested is not available.")) $this->error("dead", true, false, 2); - else return trim($this->lib->cut_str($data, 'id="download_button" href="', '" onclick=')); - return false; - } - */ - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post['filepassword'] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - return trim($this->lib->cut_str($data, 'id="download_button" href="', '" onclick=')); - } - if(stristr($data,"Sorry, the file you requested is not available.")) $this->error("dead", true, false, 2); - elseif(stristr($data,"This file has been password protected")) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - return trim($this->lib->cut_str($data, 'id="download_button" href="', '" onclick=')); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* sendspace.com Download Plugin by giaythuytinh176 [17.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_sendspace_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.sendspace.com/mysendspace/myindex.html", "{$cookie}", ""); + if(stristr($data, 'account needs to be renewed')) return array(true, "Until ". $this->lib->cut_str($data, 'account needs to be renewed in', '</li>') ."<br/> Traffic available: ". $this->lib->cut_str($data, '<li>You have ', 'available bandwidth</li>')); + else if(stristr($data, 'http://www.sendspace.com/login.html?logout=1') && !stristr($data, 'account needs to be renewed')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.sendspace.com/login.html", "", "remember=on&action=login&submit=login&username={$user}&password={$pass}"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } +/* + public function FreeLeech($url){ + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,"Sorry, the file you requested is not available.")) $this->error("dead", true, false, 2); + else return trim($this->lib->cut_str($data, 'id="download_button" href="', '" onclick=')); + return false; + } + */ + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post['filepassword'] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + return trim($this->lib->cut_str($data, 'id="download_button" href="', '" onclick=')); + } + if(stristr($data,"Sorry, the file you requested is not available.")) $this->error("dead", true, false, 2); + elseif(stristr($data,"This file has been password protected")) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + return trim($this->lib->cut_str($data, 'id="download_button" href="', '" onclick=')); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* sendspace.com Download Plugin by giaythuytinh176 [17.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/share-online_biz.php b/hosts/share-online_biz.php similarity index 97% rename from vinaget/vng270/hosts/share-online_biz.php rename to hosts/share-online_biz.php index bac4573..da47544 100644 --- a/vinaget/vng270/hosts/share-online_biz.php +++ b/hosts/share-online_biz.php @@ -1,39 +1,39 @@ -<?php - -class dl_share_online_biz extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("https://www.share-online.biz/user/profile", "page_language=english;".$cookie, ""); - $dt = $this->lib->cut_str($data, ">Account valid until:", ">Registration date"); - if(stristr($data, 'Premium </p>') && stristr($dt, "<span class='red'>")) return array(true, "Until ".$this->lib->cut_str($dt, "<span class='red'>", '</span>')); - elseif(stristr($data, 'Premium </p>') && stristr($dt, "<span class='green'>")) return array(true, "Until ".$this->lib->cut_str($dt, "<span class='green'>", '</span>')); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("https://www.share-online.biz/user/login", "animations=1;newsscrl=1;page_language=english", "user={$user}&pass={$pass}&l_rememberme=1&submit=Log%20in"); - $cookie = "animations=1;newsscrl=1;page_language=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data, 'The requested file is not available')) $this->error("dead", true, false, 2); - elseif(preg_match('/var dl="(.*)";var file/', $data, $en64)) { - $link = base64_decode($en64[1]); - return trim($link); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Share-online.biz Download Plugin by giaythuytinh176 [29.7.2013][16.11.2013][Fixed can't connect to SO] -* Downloader Class By [FZ] -*/ +<?php + +class dl_share_online_biz extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("https://www.share-online.biz/user/profile", "page_language=english;".$cookie, ""); + $dt = $this->lib->cut_str($data, ">Account valid until:", ">Registration date"); + if(stristr($data, 'Premium </p>') && stristr($dt, "<span class='red'>")) return array(true, "Until ".$this->lib->cut_str($dt, "<span class='red'>", '</span>')); + elseif(stristr($data, 'Premium </p>') && stristr($dt, "<span class='green'>")) return array(true, "Until ".$this->lib->cut_str($dt, "<span class='green'>", '</span>')); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("https://www.share-online.biz/user/login", "animations=1;newsscrl=1;page_language=english", "user={$user}&pass={$pass}&l_rememberme=1&submit=Log%20in"); + $cookie = "animations=1;newsscrl=1;page_language=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data, 'The requested file is not available')) $this->error("dead", true, false, 2); + elseif(preg_match('/var dl="(.*)";var file/', $data, $en64)) { + $link = base64_decode($en64[1]); + return trim($link); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Share-online.biz Download Plugin by giaythuytinh176 [29.7.2013][16.11.2013][Fixed can't connect to SO] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/share_vnn_vn.php b/hosts/share_vnn_vn.php similarity index 98% rename from vinaget/vng270/hosts/share_vnn_vn.php rename to hosts/share_vnn_vn.php index ef58700..cc6327c 100644 --- a/vinaget/vng270/hosts/share_vnn_vn.php +++ b/hosts/share_vnn_vn.php @@ -1,59 +1,59 @@ -<?php - -class dl_share_vnn_vn extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://share.vnn.vn/thong-tin-ca-nhan", $cookie, ""); - if(stristr($data, '<label class="caption">Thá»i hạn VIP còn lại:</label>')) return array(true, "".$this->lib->cut_str($this->lib->cut_str($data, '<label class="caption">Thá»i hạn VIP còn lại:</label>','<div class="field">'), '<div class="fieldtext">','ngày') ." days remaining"); - else if(stristr($data, 'MegaShare Free')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } -/* - public function Login($user, $pass){ - $data = $this->lib->curl('https://id.vnn.vn/login?service=http%3A%2F%2Fshare.vnn.vn%2Flogin.php%3Fdo%3Dlogin%26url%3Dhttp%253A%252F%252Fshare.vnn.vn%252F', '', ''); - if(preg_match('%jsessionid=(.+)\?%U', $data, $match)) $jsid = $match[1]; - $lt = $this->lib->cut_str($data, '"lt" value="', '" />'); - $cookies = 'jsessionid='.$jsid; - $data = $this->lib->curl("https://id.vnn.vn/login;jsessionid={$jsid}?service=http%3A%2F%2Fshare.vnn.vn%2Flogin.php%3Fdo%3Dlogin%26url%3Dhttp%253A%252F%252Fshare.vnn.vn%252F", $cookies, "username={$user}&password={$pass}<={$lt}&_eventId=submit&submit=Äăng nhập"); - $cookies1 = $this->lib->GetCookies($data); - if(preg_match("#Location: (.*)#", $data, $match)) { - $data = $this->lib->curl($match[1], $cookies1, ''); - $cookies2 = $cookies1. '; ' .$this->lib->GetCookies($data); - if(preg_match('#PHPSESSID=ST(.+)#', $cookies2, $cookies3)) - $cookie = "{$cookies};{$cookies3[0]}"; - } - return $cookie; - } -*/ - public function Login($user, $pass){ - $data = $this->lib->curl("https://id.vnn.vn/login?service=http%3A%2F%2Fshare.vnn.vn%2Flogin.php%3Fdo%3Dlogin%26url%3Dhttp%253A%252F%252Fshare.vnn.vn%252F", "", ""); - $cookies = $jsid = $this->lib->GetCookies($data); - $lt = $this->lib->cut_str($data,'"lt" value="', '" />'); - $data = $this->lib->curl("https://id.vnn.vn/login;jsessionid={$jsid}?service=http%3A%2F%2Fshare.vnn.vn%2Flogin.php%3Fdo%3Dlogin%26url%3Dhttp%253A%252F%252Fshare.vnn.vn%252F", $cookies, "username={$user}&password={$pass}<={$lt}&_eventId=submit&submit=Äăng%20nhập"); - $cookie = $this->lib->GetCookies($data); - if(preg_match("/ocation: (.*)/", $data, $match)) { - $data = $this->lib->curl($match[1], $cookie, ""); - $cookie = "{$cookie};{$this->lib->GetCookies($data)}"; - preg_match('/PHPSESSID=ST(.*)/i', $cookie, $cookie); - $cookie = "{$cookies}{$cookie[0]}"; - return $cookie; - } - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'Không tìm thấy file bạn yêu cầu') || stristr($data,'File bạn yêu cầu đã bị khóa') || stristr($data,'We cannot find the page you are looking for')) $this->error("dead", true, false, 2); - elseif(preg_match('/window.location.href=\'(https?:\/\/.+)\'">/i', $data, $giay)) return trim($giay[1]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Share.VNN.VN Download Plugin by giaythuytinh176 [28.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_share_vnn_vn extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://share.vnn.vn/thong-tin-ca-nhan", $cookie, ""); + if(stristr($data, '<label class="caption">Thá»i hạn VIP còn lại:</label>')) return array(true, "".$this->lib->cut_str($this->lib->cut_str($data, '<label class="caption">Thá»i hạn VIP còn lại:</label>','<div class="field">'), '<div class="fieldtext">','ngày') ." days remaining"); + else if(stristr($data, 'MegaShare Free')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } +/* + public function Login($user, $pass){ + $data = $this->lib->curl('https://id.vnn.vn/login?service=http%3A%2F%2Fshare.vnn.vn%2Flogin.php%3Fdo%3Dlogin%26url%3Dhttp%253A%252F%252Fshare.vnn.vn%252F', '', ''); + if(preg_match('%jsessionid=(.+)\?%U', $data, $match)) $jsid = $match[1]; + $lt = $this->lib->cut_str($data, '"lt" value="', '" />'); + $cookies = 'jsessionid='.$jsid; + $data = $this->lib->curl("https://id.vnn.vn/login;jsessionid={$jsid}?service=http%3A%2F%2Fshare.vnn.vn%2Flogin.php%3Fdo%3Dlogin%26url%3Dhttp%253A%252F%252Fshare.vnn.vn%252F", $cookies, "username={$user}&password={$pass}<={$lt}&_eventId=submit&submit=Äăng nhập"); + $cookies1 = $this->lib->GetCookies($data); + if(preg_match("#Location: (.*)#", $data, $match)) { + $data = $this->lib->curl($match[1], $cookies1, ''); + $cookies2 = $cookies1. '; ' .$this->lib->GetCookies($data); + if(preg_match('#PHPSESSID=ST(.+)#', $cookies2, $cookies3)) + $cookie = "{$cookies};{$cookies3[0]}"; + } + return $cookie; + } +*/ + public function Login($user, $pass){ + $data = $this->lib->curl("https://id.vnn.vn/login?service=http%3A%2F%2Fshare.vnn.vn%2Flogin.php%3Fdo%3Dlogin%26url%3Dhttp%253A%252F%252Fshare.vnn.vn%252F", "", ""); + $cookies = $jsid = $this->lib->GetCookies($data); + $lt = $this->lib->cut_str($data,'"lt" value="', '" />'); + $data = $this->lib->curl("https://id.vnn.vn/login;jsessionid={$jsid}?service=http%3A%2F%2Fshare.vnn.vn%2Flogin.php%3Fdo%3Dlogin%26url%3Dhttp%253A%252F%252Fshare.vnn.vn%252F", $cookies, "username={$user}&password={$pass}<={$lt}&_eventId=submit&submit=Äăng%20nhập"); + $cookie = $this->lib->GetCookies($data); + if(preg_match("/ocation: (.*)/", $data, $match)) { + $data = $this->lib->curl($match[1], $cookie, ""); + $cookie = "{$cookie};{$this->lib->GetCookies($data)}"; + preg_match('/PHPSESSID=ST(.*)/i', $cookie, $cookie); + $cookie = "{$cookies}{$cookie[0]}"; + return $cookie; + } + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'Không tìm thấy file bạn yêu cầu') || stristr($data,'File bạn yêu cầu đã bị khóa') || stristr($data,'We cannot find the page you are looking for')) $this->error("dead", true, false, 2); + elseif(preg_match('/window.location.href=\'(https?:\/\/.+)\'">/i', $data, $giay)) return trim($giay[1]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Share.VNN.VN Download Plugin by giaythuytinh176 [28.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/shareblue_eu.php b/hosts/shareblue_eu.php similarity index 97% rename from vinaget/vng270/hosts/shareblue_eu.php rename to hosts/shareblue_eu.php index db70696..7a62874 100644 --- a/vinaget/vng270/hosts/shareblue_eu.php +++ b/hosts/shareblue_eu.php @@ -1,48 +1,48 @@ -<?php - -class dl_shareblue_eu extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://shareblue.eu/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'Username:') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://shareblue.eu/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://shareblue.eu/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* shareblue.eu Download Plugin by giaythuytinh176 [23.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_shareblue_eu extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://shareblue.eu/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'Username:') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://shareblue.eu/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://shareblue.eu/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* shareblue.eu Download Plugin by giaythuytinh176 [23.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/shareflare_net.php b/hosts/shareflare_net.php similarity index 97% rename from vinaget/vng270/hosts/shareflare_net.php rename to hosts/shareflare_net.php index d6083c6..73fb3a2 100644 --- a/vinaget/vng270/hosts/shareflare_net.php +++ b/hosts/shareflare_net.php @@ -1,55 +1,55 @@ -<?php - -class dl_shareflare_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://shareflare.net/ajax/get_attached_passwords.php", "lang=en;".$cookie, ""); - if(stristr($data, '<th>Premium account</th>') && stristr($data, '<th>Date of expiry</th>')) { - if(preg_match('@\d+\-\d+\-\d+@', $data, $giay)) - if(preg_match('/td>(\d+\.\d+)<\/td/', $data, $thuytinh)) - return array(true, "Until ".$giay[0]." and Points ".$thuytinh[1]); - } - else if(stristr($data, 'There are no attached premium accounts found')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://shareflare.net/", "lang=en", "act=login&login={$user}&password={$pass}"); - $cookie = "lang=en;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - if(!stristr($url, "http://shareflare.net")) $url = preg_replace("/(u\d+(\.s\d+)?\.)/", "", $url); - $this->lib->cookie = preg_replace("/; PHPSESSID=[a-z0-9]+;/", "", $this->lib->cookie); - $data1 = $this->lib->curl($url, "lang=en;".$this->lib->cookie, ""); - if(stristr($data1,'Please wait, there is a file search') || stristr($data1,'File not found') || stristr($data1,'The file is temporarily unavailable for download')) - $this->error("dead", true, false, 2); - $this->save("lang=en;".$this->lib->GetCookies($data1)); - if(!preg_match('@https?:\/\/u\d+\.(s\d+\.)?shareflare\.net\/download\/[^"\'><\r\n\t]+@', $data1, $thuytinh)) - $this->error("Cannot get Check2", true, false, 2); - else { - $check2 = trim($thuytinh[0]); - $data2 = $this->lib->curl($check2, "lang=en;".$this->lib->cookie, ""); - if(!preg_match('@https?:\/\/u\d+\.(s\d+\.)?shareflare.net\/sms\/check2\.php@', $data2, $thuytinh)) - $this->error("Cannot get Check3", true, false, 2); - else { - $check3 = trim($thuytinh[0]); - $data3 = $this->lib->curl($check3, "lang=en;".$this->lib->cookie, ""); - if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[a-z0-9]+\/[^"\'><\r\n\t]+@i', $this->lib->cut_str($data3, 'direct_link_1', 'direct_link_2'), $giay176)) - return trim($giay176[0]); - } - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* shareflare.net Download Plugin by giaythuytinh176 [30.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_shareflare_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://shareflare.net/ajax/get_attached_passwords.php", "lang=en;".$cookie, ""); + if(stristr($data, '<th>Premium account</th>') && stristr($data, '<th>Date of expiry</th>')) { + if(preg_match('@\d+\-\d+\-\d+@', $data, $giay)) + if(preg_match('/td>(\d+\.\d+)<\/td/', $data, $thuytinh)) + return array(true, "Until ".$giay[0]." and Points ".$thuytinh[1]); + } + else if(stristr($data, 'There are no attached premium accounts found')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://shareflare.net/", "lang=en", "act=login&login={$user}&password={$pass}"); + $cookie = "lang=en;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + if(!stristr($url, "http://shareflare.net")) $url = preg_replace("/(u\d+(\.s\d+)?\.)/", "", $url); + $this->lib->cookie = preg_replace("/; PHPSESSID=[a-z0-9]+;/", "", $this->lib->cookie); + $data1 = $this->lib->curl($url, "lang=en;".$this->lib->cookie, ""); + if(stristr($data1,'Please wait, there is a file search') || stristr($data1,'File not found') || stristr($data1,'The file is temporarily unavailable for download')) + $this->error("dead", true, false, 2); + $this->save("lang=en;".$this->lib->GetCookies($data1)); + if(!preg_match('@https?:\/\/u\d+\.(s\d+\.)?shareflare\.net\/download\/[^"\'><\r\n\t]+@', $data1, $thuytinh)) + $this->error("Cannot get Check2", true, false, 2); + else { + $check2 = trim($thuytinh[0]); + $data2 = $this->lib->curl($check2, "lang=en;".$this->lib->cookie, ""); + if(!preg_match('@https?:\/\/u\d+\.(s\d+\.)?shareflare.net\/sms\/check2\.php@', $data2, $thuytinh)) + $this->error("Cannot get Check3", true, false, 2); + else { + $check3 = trim($thuytinh[0]); + $data3 = $this->lib->curl($check3, "lang=en;".$this->lib->cookie, ""); + if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[a-z0-9]+\/[^"\'><\r\n\t]+@i', $this->lib->cut_str($data3, 'direct_link_1', 'direct_link_2'), $giay176)) + return trim($giay176[0]); + } + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* shareflare.net Download Plugin by giaythuytinh176 [30.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/sharerepo_com.php b/hosts/sharerepo_com.php similarity index 97% rename from vinaget/vng270/hosts/sharerepo_com.php rename to hosts/sharerepo_com.php index ec8095d..2244fe6 100644 --- a/vinaget/vng270/hosts/sharerepo_com.php +++ b/hosts/sharerepo_com.php @@ -1,41 +1,41 @@ -<?php - -class dl_sharerepo_com extends Download { - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "lang=english", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!stristr($data, 'value="Free Download">')) - $this->error("Cannot get Free Download", true, false, 2); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST" action=', '</Form>')); - $data = $this->lib->curl($url, "lang=english;".$this->lib->cookie, $post); - if($pass) { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); - $post1["password"] = $pass; - $data1 = $this->lib->curl($url, "lang=english;".$this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); - $data1 = $this->lib->curl($url, "lang=english;".$this->lib->cookie, $post1); - if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* sharerepo Download Plugin by giaythuytinh176 [12.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_sharerepo_com extends Download { + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "lang=english", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!stristr($data, 'value="Free Download">')) + $this->error("Cannot get Free Download", true, false, 2); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST" action=', '</Form>')); + $data = $this->lib->curl($url, "lang=english;".$this->lib->cookie, $post); + if($pass) { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); + $post1["password"] = $pass; + $data1 = $this->lib->curl($url, "lang=english;".$this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); + $data1 = $this->lib->curl($url, "lang=english;".$this->lib->cookie, $post1); + if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* sharerepo Download Plugin by giaythuytinh176 [12.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/sockshare_com.php b/hosts/sockshare_com.php similarity index 97% rename from vinaget/vng270/hosts/sockshare_com.php rename to hosts/sockshare_com.php index d398189..2601001 100644 --- a/vinaget/vng270/hosts/sockshare_com.php +++ b/hosts/sockshare_com.php @@ -1,79 +1,79 @@ -<?php - -class dl_sockshare_com extends Download { // code same with putlocker.com :D - - public function PreLeech($url) { - $url = str_replace("http://sockshare.com", "http://www.sockshare.com", $url); - $url = str_replace("/embed/", "/file/", $url); - } - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.sockshare.com/profile.php?pro", "{$cookie}", ""); - if(stristr($data, 'profile.php?pro" class="logout_link">Pro Status</a>')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '<td>Expiring </td>','</tr>'), '<td>','</td>')); - else if(stristr($data, '<td>Free Account - <strong><a')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ // use cookie auth= - $this->error("notsupportacc"); - return false; - } - - public function FreeLeech($url){ - $url = $this->getredirect($url); - if (stristr($url,'404')) $this->error("dead", true, false, 2); - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->lib->cookie = $this->lib->GetCookies($data); - $hash = $this->lib->cut_str($data, '<input type="hidden" value="','" name="hash">'); - if(stristr($data,'name="captcha_code"')) $this->error("Captcha required!", true, false); - if(preg_match('@var countdownNum = (\d+);@i', $data, $count) && $count[1] > 0) - sleep($count[1]+1); - $data = $this->lib->curl($url, $this->lib->cookie, "hash={$hash}&confirm=Continue as Free User"); - if($pass) { - $post["file_password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $this->lib->cookie .= ";".$this->lib->GetCookies($data); - $id = $this->lib->cut_str($data, '<a href="/get_file.php?id=','"'); - $data = $this->lib->curl("http://www.sockshare.com/get_file.php?id=".trim($id),$this->lib->cookie,""); - if($this->isredirect($data)) return trim($this->redirect); - return false; - } - if(stristr($data,'This file requires a password. Please enter it.')) $this->error("reportpass", true, false); - if(stristr($data,'You have exceeded the daily download limit for your country')) $this->error("LimitAcc", true, false); - $this->lib->cookie .= ";".$this->lib->GetCookies($data); - $id = $this->lib->cut_str($data, '<a href="/get_file.php?id=','"'); - $data = $this->lib->curl("http://www.sockshare.com/get_file.php?id=".trim($id),$this->lib->cookie,""); - if($this->isredirect($data)) return trim($this->redirect); - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $url = $this->getredirect($url); - if (stristr($url,'404')) $this->error("dead", true, false, 2); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post["file_password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('/<a href="(\/get_file\.php\?id=.+)" class/', $data, $id)) - $data = $this->lib->curl("http://www.sockshare.com".trim($id[1]),$this->lib->cookie,""); - if($this->isredirect($data)) return trim($this->redirect); - } - if(stristr($data, "This file requires a password")) $this->error("reportpass", true, false); - elseif(preg_match('/<a href="(\/get_file\.php\?id=.+)" class/', $data, $id)) - $data = $this->lib->curl("http://www.sockshare.com".trim($id[1]),$this->lib->cookie,""); - if($this->isredirect($data)) return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* sockshare Download Plugin by giaythuytinh176 [30.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_sockshare_com extends Download { // code same with putlocker.com :D + + public function PreLeech($url) { + $url = str_replace("http://sockshare.com", "http://www.sockshare.com", $url); + $url = str_replace("/embed/", "/file/", $url); + } + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.sockshare.com/profile.php?pro", "{$cookie}", ""); + if(stristr($data, 'profile.php?pro" class="logout_link">Pro Status</a>')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '<td>Expiring </td>','</tr>'), '<td>','</td>')); + else if(stristr($data, '<td>Free Account - <strong><a')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ // use cookie auth= + $this->error("notsupportacc"); + return false; + } + + public function FreeLeech($url){ + $url = $this->getredirect($url); + if (stristr($url,'404')) $this->error("dead", true, false, 2); + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->lib->cookie = $this->lib->GetCookies($data); + $hash = $this->lib->cut_str($data, '<input type="hidden" value="','" name="hash">'); + if(stristr($data,'name="captcha_code"')) $this->error("Captcha required!", true, false); + if(preg_match('@var countdownNum = (\d+);@i', $data, $count) && $count[1] > 0) + sleep($count[1]+1); + $data = $this->lib->curl($url, $this->lib->cookie, "hash={$hash}&confirm=Continue as Free User"); + if($pass) { + $post["file_password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $this->lib->cookie .= ";".$this->lib->GetCookies($data); + $id = $this->lib->cut_str($data, '<a href="/get_file.php?id=','"'); + $data = $this->lib->curl("http://www.sockshare.com/get_file.php?id=".trim($id),$this->lib->cookie,""); + if($this->isredirect($data)) return trim($this->redirect); + return false; + } + if(stristr($data,'This file requires a password. Please enter it.')) $this->error("reportpass", true, false); + if(stristr($data,'You have exceeded the daily download limit for your country')) $this->error("LimitAcc", true, false); + $this->lib->cookie .= ";".$this->lib->GetCookies($data); + $id = $this->lib->cut_str($data, '<a href="/get_file.php?id=','"'); + $data = $this->lib->curl("http://www.sockshare.com/get_file.php?id=".trim($id),$this->lib->cookie,""); + if($this->isredirect($data)) return trim($this->redirect); + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $url = $this->getredirect($url); + if (stristr($url,'404')) $this->error("dead", true, false, 2); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post["file_password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('/<a href="(\/get_file\.php\?id=.+)" class/', $data, $id)) + $data = $this->lib->curl("http://www.sockshare.com".trim($id[1]),$this->lib->cookie,""); + if($this->isredirect($data)) return trim($this->redirect); + } + if(stristr($data, "This file requires a password")) $this->error("reportpass", true, false); + elseif(preg_match('/<a href="(\/get_file\.php\?id=.+)" class/', $data, $id)) + $data = $this->lib->curl("http://www.sockshare.com".trim($id[1]),$this->lib->cookie,""); + if($this->isredirect($data)) return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* sockshare Download Plugin by giaythuytinh176 [30.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/solidfiles_com.php b/hosts/solidfiles_com.php similarity index 95% rename from vinaget/vng270/hosts/solidfiles_com.php rename to hosts/solidfiles_com.php index c2a3bfd..c82f116 100644 --- a/vinaget/vng270/hosts/solidfiles_com.php +++ b/hosts/solidfiles_com.php @@ -1,22 +1,22 @@ -<?php - -class dl_solidfiles_com extends Download { - - public function FreeLeech($url){ - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(preg_match('@https?:\/\/s(\d+\.)?sfcdn\.in\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Solidfiles.com Download Plugin by giaythuytinh176 [25.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_solidfiles_com extends Download { + + public function FreeLeech($url){ + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(preg_match('@https?:\/\/s(\d+\.)?sfcdn\.in\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Solidfiles.com Download Plugin by giaythuytinh176 [25.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/spicyfile_com.php b/hosts/spicyfile_com.php similarity index 97% rename from vinaget/vng270/hosts/spicyfile_com.php rename to hosts/spicyfile_com.php index dccd940..aef8b39 100644 --- a/vinaget/vng270/hosts/spicyfile_com.php +++ b/hosts/spicyfile_com.php @@ -1,51 +1,51 @@ -<?php - -class dl_spicyfile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://spicyfile.com/?op=payments", "lang=english;{$cookie}", ""); - if(stristr($data, '<b>Premium account expire:</b><br>')) return array(true, "Until ".$this->lib->cut_str($data, '<b>Premium account expire:</b><br>','<br><br>')); - else if(stristr($data, 'Upgrade to premium</a>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://spicyfile.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://spicyfile.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?spicyfile\.com(:\d+)?\/files\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/(\w+\.)?spicyfile\.com(:\d+)?\/files\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Spicyfile Download Plugin by giaythuytinh176 [31.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_spicyfile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://spicyfile.com/?op=payments", "lang=english;{$cookie}", ""); + if(stristr($data, '<b>Premium account expire:</b><br>')) return array(true, "Until ".$this->lib->cut_str($data, '<b>Premium account expire:</b><br>','<br><br>')); + else if(stristr($data, 'Upgrade to premium</a>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://spicyfile.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://spicyfile.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?spicyfile\.com(:\d+)?\/files\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/(\w+\.)?spicyfile\.com(:\d+)?\/files\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Spicyfile Download Plugin by giaythuytinh176 [31.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/stagevu_com.php b/hosts/stagevu_com.php similarity index 97% rename from vinaget/vng270/hosts/stagevu_com.php rename to hosts/stagevu_com.php index 5d60273..dedfa0f 100644 --- a/vinaget/vng270/hosts/stagevu_com.php +++ b/hosts/stagevu_com.php @@ -1,47 +1,47 @@ -<?php - -class dl_stagevu_com extends Download { - - public function CheckAcc($cookie){ // Free Account only - $data = $this->lib->curl("http://stagevu.com", "{$cookie}", ""); - if(stristr($data, 'Welcome, <a href="http://stagevu.com')) return array(true, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $page = $this->lib->curl("http://stagevu.com/ajax/login.php", "", "un={$user}&pw={$pass}&shared=0"); - $cookie = $this->lib->GetCookies($page); - return $cookie; - } -/* - public function FreeLeech($url) { - if(preg_match('@http:\/\/stagevu\.com\/embed(.+)uid=(.*)@', $url, $fileID)) - $url = "http://stagevu.com/video/{$fileID[2]}"; - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data, ">Error: No video with the provided information exists<") || stristr($data, "The video you are attempting to view has been removed<")) $this->error("dead", true, false, 2); - $data = $this->lib->cut_str($data, '<div id="vidbox">', '</script>'); - if(preg_match("/= '(https?:\/\/.+stagevu\.com\/.+)';/i", $data, $link)) return trim($link[1]); - return false; - } */ - - public function Leech($url) { - if(preg_match('@http:\/\/stagevu\.com\/embed(.+)uid=(.*)@', $url, $fileID)) - $url = "http://stagevu.com/video/{$fileID[2]}"; - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, ">Error: No video with the provided information exists<") || stristr($data, "The video you are attempting to view has been removed<")) $this->error("dead", true, false, 2); - $data = $this->lib->cut_str($data, '<div id="vidbox">', '</script>'); - if(preg_match("/= '(https?:\/\/.+stagevu\.com\/.+)';/i", $data, $link)) return trim($link[1]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Stagevu.com Download Plugin by giaythuytinh176 [16.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_stagevu_com extends Download { + + public function CheckAcc($cookie){ // Free Account only + $data = $this->lib->curl("http://stagevu.com", "{$cookie}", ""); + if(stristr($data, 'Welcome, <a href="http://stagevu.com')) return array(true, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $page = $this->lib->curl("http://stagevu.com/ajax/login.php", "", "un={$user}&pw={$pass}&shared=0"); + $cookie = $this->lib->GetCookies($page); + return $cookie; + } +/* + public function FreeLeech($url) { + if(preg_match('@http:\/\/stagevu\.com\/embed(.+)uid=(.*)@', $url, $fileID)) + $url = "http://stagevu.com/video/{$fileID[2]}"; + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data, ">Error: No video with the provided information exists<") || stristr($data, "The video you are attempting to view has been removed<")) $this->error("dead", true, false, 2); + $data = $this->lib->cut_str($data, '<div id="vidbox">', '</script>'); + if(preg_match("/= '(https?:\/\/.+stagevu\.com\/.+)';/i", $data, $link)) return trim($link[1]); + return false; + } */ + + public function Leech($url) { + if(preg_match('@http:\/\/stagevu\.com\/embed(.+)uid=(.*)@', $url, $fileID)) + $url = "http://stagevu.com/video/{$fileID[2]}"; + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, ">Error: No video with the provided information exists<") || stristr($data, "The video you are attempting to view has been removed<")) $this->error("dead", true, false, 2); + $data = $this->lib->cut_str($data, '<div id="vidbox">', '</script>'); + if(preg_match("/= '(https?:\/\/.+stagevu\.com\/.+)';/i", $data, $link)) return trim($link[1]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Stagevu.com Download Plugin by giaythuytinh176 [16.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/tenlua_vn.php b/hosts/tenlua_vn.php similarity index 97% rename from vinaget/vng270/hosts/tenlua_vn.php rename to hosts/tenlua_vn.php index 2a2052e..783ff51 100644 --- a/vinaget/vng270/hosts/tenlua_vn.php +++ b/hosts/tenlua_vn.php @@ -1,50 +1,50 @@ -<?php - -class dl_tenlua_vn extends Download { - - public function CheckAcc($cookie){ - if (strlen($cookie)<3) return array(false, "accinvalid"); - else { - $data = $this->lib->curl("http://api2.tenlua.vn/?sid=".$cookie, "", '[{"a":"user_info"}]', ""); - $obj = @json_decode($data); - $info = json_decode(json_encode($obj),true); - if (($info[0]['free_used']) == "null") return array(false, "Free Member. <br> Expired: ".$info[0]['endGold']); - else return array(true, "Gold Member. <br> Until ".$info[0]['endGold']); - } - } - - public function Login($user, $pass){ - $data = $this->lib->curl('http://api2.tenlua.vn/','','[{"a":"user_login","user":"'.$user.'","password":"'.$pass.'","permanent":false}]',0); - $invo = @json_decode($data); - $cookie = $invo[0]; - return $cookie; - } - - public function Leech($url) { - $gach = explode('/', $url); - $id = $gach[4]; - $seqno = mt_rand(); - $data = $this->lib->curl('http://api2.tenlua.vn/?sid='.$this->lib->cookie, '','[{"a":"filemanager_builddownload_getinfo","n":"'.$id.'","r":'.$seqno.'}]',0); - $zess = @json_decode($data); - if ($zess[0]->type == 'none') $this->error("dead", true, false, 2); - else { - $z = $zess[0]->url; - $zes= $this->lib->curl($z,'',''); - if(preg_match('/ocation: *(.*)/i', $zes, $redir)){ - $link = trim($redir[1]); - return $link; - } - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Tenlua.vn Download Plugin by invokermoney [17.09.2014] -* Fix new API by invokermoney [26.01.2015] -* Downloader Class By [FZ] +<?php + +class dl_tenlua_vn extends Download { + + public function CheckAcc($cookie){ + if (strlen($cookie)<3) return array(false, "accinvalid"); + else { + $data = $this->lib->curl("http://api2.tenlua.vn/?sid=".$cookie, "", '[{"a":"user_info"}]', ""); + $obj = @json_decode($data); + $info = json_decode(json_encode($obj),true); + if (($info[0]['free_used']) == "null") return array(false, "Free Member. <br> Expired: ".$info[0]['endGold']); + else return array(true, "Gold Member. <br> Until ".$info[0]['endGold']); + } + } + + public function Login($user, $pass){ + $data = $this->lib->curl('http://api2.tenlua.vn/','','[{"a":"user_login","user":"'.$user.'","password":"'.$pass.'","permanent":false}]',0); + $invo = @json_decode($data); + $cookie = $invo[0]; + return $cookie; + } + + public function Leech($url) { + $gach = explode('/', $url); + $id = $gach[4]; + $seqno = mt_rand(); + $data = $this->lib->curl('http://api2.tenlua.vn/?sid='.$this->lib->cookie, '','[{"a":"filemanager_builddownload_getinfo","n":"'.$id.'","r":'.$seqno.'}]',0); + $zess = @json_decode($data); + if ($zess[0]->type == 'none') $this->error("dead", true, false, 2); + else { + $z = $zess[0]->url; + $zes= $this->lib->curl($z,'',''); + if(preg_match('/ocation: *(.*)/i', $zes, $redir)){ + $link = trim($redir[1]); + return $link; + } + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Tenlua.vn Download Plugin by invokermoney [17.09.2014] +* Fix new API by invokermoney [26.01.2015] +* Downloader Class By [FZ] */ \ No newline at end of file diff --git a/vinaget/vng270/hosts/terafile_co.php b/hosts/terafile_co.php similarity index 97% rename from vinaget/vng270/hosts/terafile_co.php rename to hosts/terafile_co.php index 01a77a8..21aaab5 100644 --- a/vinaget/vng270/hosts/terafile_co.php +++ b/hosts/terafile_co.php @@ -1,42 +1,42 @@ -<?php - -class dl_terafile_co extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://terafile.co/account.html", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium Expires:') && !stristr($data, 'No Data')) { - $bw = $this->lib->curl("http://terafile.co/880470382875/WO-JAV.XV-885.part03.rar", "lang=english;{$cookie}", ""); - return array(true, "Until " .$this->lib->cut_str($data, 'Premium Expires:', '<a href=') . (strpos($bw, 'You have reached the download-limit:') ? '<br/>You have reached the download-limit: 25000 Mb for last 3 days' : '')); - } - else if(stristr($data, 'Current Password') && !stristr($data, 'Premium Expires:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://terafile.co/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - return "lang=english;{$this->lib->GetCookies($data)}"; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'>The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Terafile.co Download Plugin by giaythuytinh176 [22.1.2014] -* Downloader Class By [FZ] -*/ +<?php + +class dl_terafile_co extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://terafile.co/account.html", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium Expires:') && !stristr($data, 'No Data')) { + $bw = $this->lib->curl("http://terafile.co/880470382875/WO-JAV.XV-885.part03.rar", "lang=english;{$cookie}", ""); + return array(true, "Until " .$this->lib->cut_str($data, 'Premium Expires:', '<a href=') . (strpos($bw, 'You have reached the download-limit:') ? '<br/>You have reached the download-limit: 25000 Mb for last 3 days' : '')); + } + else if(stristr($data, 'Current Password') && !stristr($data, 'Premium Expires:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://terafile.co/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + return "lang=english;{$this->lib->GetCookies($data)}"; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'>The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Terafile.co Download Plugin by giaythuytinh176 [22.1.2014] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/tune_pk.php b/hosts/tune_pk.php similarity index 95% rename from vinaget/vng270/hosts/tune_pk.php rename to hosts/tune_pk.php index 4a0d3aa..4d99640 100644 --- a/vinaget/vng270/hosts/tune_pk.php +++ b/hosts/tune_pk.php @@ -1,23 +1,23 @@ -<?php - -class dl_tune_pk extends Download { - - public function FreeLeech($url) { - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data, '<li>Video does not exist </li>')) $this->error("dead", true, false, 2); - if(stristr($data, 'var hq_video_file =')) - return trim($this->lib->cut_str($data, "var hq_video_file = '","'")); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Tune.pk Download Plugin -* Downloader Class By [FZ] -*/ -?> +<?php + +class dl_tune_pk extends Download { + + public function FreeLeech($url) { + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data, '<li>Video does not exist </li>')) $this->error("dead", true, false, 2); + if(stristr($data, 'var hq_video_file =')) + return trim($this->lib->cut_str($data, "var hq_video_file = '","'")); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Tune.pk Download Plugin +* Downloader Class By [FZ] +*/ +?> diff --git a/vinaget/vng270/hosts/turbobit_net.php b/hosts/turbobit_net.php similarity index 100% rename from vinaget/vng270/hosts/turbobit_net.php rename to hosts/turbobit_net.php diff --git a/vinaget/vng270/hosts/tusfiles_net.php b/hosts/tusfiles_net.php similarity index 97% rename from vinaget/vng270/hosts/tusfiles_net.php rename to hosts/tusfiles_net.php index 7989a83..21549c7 100644 --- a/vinaget/vng270/hosts/tusfiles_net.php +++ b/hosts/tusfiles_net.php @@ -1,72 +1,72 @@ -<?php - -class dl_tusfiles_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.tusfiles.net/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '<h4 id="title-tags">Premium account expire</h4>',' <dt><input type="button"'), '<dd>','</dd>')); - else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.tusfiles.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.tusfiles.net/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if(stristr($data,'<h2>File Not Found</h2>') || stristr($data,'<h3>The file was removed by administrator</h3>')) $this->error("dead", true, false, 2); - elseif(stristr($data,'<small>Password:</small> <input class="bttn')) $this->error("reportpass", true, false); - elseif(!stristr($data, "Download Now!")) - $this->error("Cannot get Download Now", true, false); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if(stristr($data,'<h2>File Not Found</h2>') || stristr($data,'<h3>The file was removed by administrator</h3>')) $this->error("dead", true, false, 2); - elseif(stristr($data,'<small>Password:</small> <input class="bttn')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Tusfiles Download Plugin by giaythuytinh176 [31.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_tusfiles_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.tusfiles.net/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '<h4 id="title-tags">Premium account expire</h4>',' <dt><input type="button"'), '<dd>','</dd>')); + else if(stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.tusfiles.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.tusfiles.net/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if(stristr($data,'<h2>File Not Found</h2>') || stristr($data,'<h3>The file was removed by administrator</h3>')) $this->error("dead", true, false, 2); + elseif(stristr($data,'<small>Password:</small> <input class="bttn')) $this->error("reportpass", true, false); + elseif(!stristr($data, "Download Now!")) + $this->error("Cannot get Download Now", true, false); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if(stristr($data,'<h2>File Not Found</h2>') || stristr($data,'<h3>The file was removed by administrator</h3>')) $this->error("dead", true, false, 2); + elseif(stristr($data,'<small>Password:</small> <input class="bttn')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Tusfiles Download Plugin by giaythuytinh176 [31.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/tuxfile_com.php b/hosts/tuxfile_com.php similarity index 97% rename from vinaget/vng270/hosts/tuxfile_com.php rename to hosts/tuxfile_com.php index 93dbcba..b7b0416 100644 --- a/vinaget/vng270/hosts/tuxfile_com.php +++ b/hosts/tuxfile_com.php @@ -1,47 +1,47 @@ -<?php - -class dl_tuxfile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://tuxfile.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'My referrals') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://tuxfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://tuxfile.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* tuxfile Download Plugin by giaythuytinh176 [21.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_tuxfile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://tuxfile.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'My referrals') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://tuxfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://tuxfile.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* tuxfile Download Plugin by giaythuytinh176 [21.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/ul_to.php b/hosts/ul_to.php similarity index 100% rename from vinaget/vng270/hosts/ul_to.php rename to hosts/ul_to.php diff --git a/vinaget/vng270/hosts/ultramegabit_com.php b/hosts/ultramegabit_com.php similarity index 97% rename from vinaget/vng270/hosts/ultramegabit_com.php rename to hosts/ultramegabit_com.php index 424c46b..41c3fec 100644 --- a/vinaget/vng270/hosts/ultramegabit_com.php +++ b/hosts/ultramegabit_com.php @@ -1,52 +1,52 @@ -<?php - -class dl_ultramegabit_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("https://ultramegabit.com/user/subscription", $cookie, ""); - if(stristr($data, '"Premium Member"')) return array(true, "Until ".(strpos($data, ">Next rebill at") ? $this->lib->cut_str($data, '>Next rebill at ', '</') : $this->lib->cut_str($data, '>Account expires at', '<'))); - else if(stristr($data, '<a href="/logout">') && !stristr($data, '"Premium Member"')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $csrf = $this->lib->curl("https://ultramegabit.com/login", "", ""); - $csrftoken = $this->lib->cut_str($csrf, 'csrf_token" value="', '"'); - $data = $this->lib->curl("https://ultramegabit.com/login", "csrf_cookie={$csrftoken}", "username={$user}&password={$pass}&csrf_token={$csrftoken}&return_url=&submit=Login"); - $cookie = "csrf_cookie={$csrftoken}; {$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - $url = str_replace('http:', 'https:', $url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'>File not available.<') || stristr($data,'>File has been deleted.</') || stristr($data,'File has been deleted in compliance with the')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = array( - 'csrf_token' => $this->lib->cut_str($data, 'csrf_token" value="', '"'), - 'encode' => $this->lib->cut_str($data, 'encode" value="', '"'), - ); - $data = $this->lib->curl("https://ultramegabit.com/file/download", $this->lib->cookie, $post); - if($this->isredirect($data)) { - $this->save($this->lib->GetCookies($data)); - return trim($this->redirect); - } - } - else { - $this->save($this->lib->GetCookies($data)); - return trim($this->redirect); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* ultramegabit Download Plugin by giaythuytinh176 [21.8.2013] -* Downloader Class By [FZ] -* Thanks to Rapid61@rapidleech.com for your account. -*/ +<?php + +class dl_ultramegabit_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("https://ultramegabit.com/user/subscription", $cookie, ""); + if(stristr($data, '"Premium Member"')) return array(true, "Until ".(strpos($data, ">Next rebill at") ? $this->lib->cut_str($data, '>Next rebill at ', '</') : $this->lib->cut_str($data, '>Account expires at', '<'))); + else if(stristr($data, '<a href="/logout">') && !stristr($data, '"Premium Member"')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $csrf = $this->lib->curl("https://ultramegabit.com/login", "", ""); + $csrftoken = $this->lib->cut_str($csrf, 'csrf_token" value="', '"'); + $data = $this->lib->curl("https://ultramegabit.com/login", "csrf_cookie={$csrftoken}", "username={$user}&password={$pass}&csrf_token={$csrftoken}&return_url=&submit=Login"); + $cookie = "csrf_cookie={$csrftoken}; {$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + $url = str_replace('http:', 'https:', $url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'>File not available.<') || stristr($data,'>File has been deleted.</') || stristr($data,'File has been deleted in compliance with the')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = array( + 'csrf_token' => $this->lib->cut_str($data, 'csrf_token" value="', '"'), + 'encode' => $this->lib->cut_str($data, 'encode" value="', '"'), + ); + $data = $this->lib->curl("https://ultramegabit.com/file/download", $this->lib->cookie, $post); + if($this->isredirect($data)) { + $this->save($this->lib->GetCookies($data)); + return trim($this->redirect); + } + } + else { + $this->save($this->lib->GetCookies($data)); + return trim($this->redirect); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* ultramegabit Download Plugin by giaythuytinh176 [21.8.2013] +* Downloader Class By [FZ] +* Thanks to Rapid61@rapidleech.com for your account. +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/up_4share_vn.php b/hosts/up_4share_vn.php similarity index 98% rename from vinaget/vng270/hosts/up_4share_vn.php rename to hosts/up_4share_vn.php index 6df62f4..83485fa 100644 --- a/vinaget/vng270/hosts/up_4share_vn.php +++ b/hosts/up_4share_vn.php @@ -1,45 +1,45 @@ -<?php - -class dl_up_4share_vn extends Download { - - public function CheckAcc($cookie) { - $data = $this->lib->curl('http://up.4share.vn/member', $cookie, ''); - if(stristr($data, 'còn <b>0</b> ngày sá»­ dụng')) return array(true, 'accfree'); - elseif(stristr($data, '>Ngày hết hạn: <')) return array(true, 'Until ' .$this->lib->cut_str($data, 'Ngày hết hạn: <b>', '</b> (còn'). '<br/> Traffic avaiable:' .$this->lib->cut_str($data, 'Bạn đã download từ 4Share hôm nay : <strong>', '</strong> [Tất cả: <strong>').' of '.$this->lib->cut_str($data, '[Tất cả: <strong>', '</strong>]<br')); - else return array(false, 'accinvalid'); - } - - public function Login($user, $pass) { - $data = $this->lib->curl('http://up.4share.vn/index/login', '', 'username='.$user.'&password='.$pass.'&submit= ÄÄ‚NG NHẬP '); - return $this->lib->GetCookies($data); - } - - public function Leech($link) { - list($url, $pass) = $this->linkpassword($link); - $page = $this->lib->curl($link, $this->lib->cookie, ''); - if($pass) $page = $this->lib->curl($url, $this->lib->cookie, "password_download_input={$pass}"); - if (stristr($page, 'Bạn đợi ít phút để download file này!')) $this->error('Bạn đợi ít phút để download file này!', true, false); - elseif (stristr($page, 'File is deleted?') || stristr($page,'File không tồn tại?')) $this->error('File is deleted? (' .$this->lib->cut_str($page, 'File is deleted? (', ')<'). ')', true, false, 2); - elseif(stristr($page,"File này có password, bạn nãy nhập password để download")) $this->error("reportpass", true, false); - elseif (preg_match('@https?:\/\/sv\d+\.4share\.vn\/\d+\/\?info=[^\'\r\n]+@i', $page, $dlink))return trim($dlink[0]); - $this->lib->save_cookies($this->site, ''); - return false; - } - -} - -/* -http://up.4share.vn/f/2516101316111016|chickenlam -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* 4Share.VN Download Plugin -* Downloader Class By [FZ] -* Plugin By giaythuytinh176 -* Date: 16.7.2013 -* Check account included - 18.7 -* Fix login 4share [21.7.2013] -* Support file password by giaythuytinh176 [29.7.2013] -* Fixed check account by giaythuytinh176 [29.7.2013] -*/ +<?php + +class dl_up_4share_vn extends Download { + + public function CheckAcc($cookie) { + $data = $this->lib->curl('http://up.4share.vn/member', $cookie, ''); + if(stristr($data, 'còn <b>0</b> ngày sá»­ dụng')) return array(true, 'accfree'); + elseif(stristr($data, '>Ngày hết hạn: <')) return array(true, 'Until ' .$this->lib->cut_str($data, 'Ngày hết hạn: <b>', '</b> (còn'). '<br/> Traffic avaiable:' .$this->lib->cut_str($data, 'Bạn đã download từ 4Share hôm nay : <strong>', '</strong> [Tất cả: <strong>').' of '.$this->lib->cut_str($data, '[Tất cả: <strong>', '</strong>]<br')); + else return array(false, 'accinvalid'); + } + + public function Login($user, $pass) { + $data = $this->lib->curl('http://up.4share.vn/index/login', '', 'username='.$user.'&password='.$pass.'&submit= ÄÄ‚NG NHẬP '); + return $this->lib->GetCookies($data); + } + + public function Leech($link) { + list($url, $pass) = $this->linkpassword($link); + $page = $this->lib->curl($link, $this->lib->cookie, ''); + if($pass) $page = $this->lib->curl($url, $this->lib->cookie, "password_download_input={$pass}"); + if (stristr($page, 'Bạn đợi ít phút để download file này!')) $this->error('Bạn đợi ít phút để download file này!', true, false); + elseif (stristr($page, 'File is deleted?') || stristr($page,'File không tồn tại?')) $this->error('File is deleted? (' .$this->lib->cut_str($page, 'File is deleted? (', ')<'). ')', true, false, 2); + elseif(stristr($page,"File này có password, bạn nãy nhập password để download")) $this->error("reportpass", true, false); + elseif (preg_match('@https?:\/\/sv\d+\.4share\.vn\/\d+\/\?info=[^\'\r\n]+@i', $page, $dlink))return trim($dlink[0]); + $this->lib->save_cookies($this->site, ''); + return false; + } + +} + +/* +http://up.4share.vn/f/2516101316111016|chickenlam +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* 4Share.VN Download Plugin +* Downloader Class By [FZ] +* Plugin By giaythuytinh176 +* Date: 16.7.2013 +* Check account included - 18.7 +* Fix login 4share [21.7.2013] +* Support file password by giaythuytinh176 [29.7.2013] +* Fixed check account by giaythuytinh176 [29.7.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/upafile_com.php b/hosts/upafile_com.php similarity index 97% rename from vinaget/vng270/hosts/upafile_com.php rename to hosts/upafile_com.php index 914fad3..bed1d9d 100644 --- a/vinaget/vng270/hosts/upafile_com.php +++ b/hosts/upafile_com.php @@ -1,52 +1,52 @@ -<?php // Use account Free only. - -class dl_upafile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://upafile.com/?op=my_account", "lang=english;{$cookie}", ""); - //if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - if(stristr($data, 'My published files link') && !stristr($data, 'Premium account expire:')) return array(true, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://upafile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://upafile.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - if($pass) { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post1["method_free"] = "Free Download"; - $post1['password'] = $pass; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!stristr($data, 'value="Create Download Link')) $this->error("Cannot get Create Download Link", true, false); - else { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post1["method_free"] = "Free Download"; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* upafile Download Plugin by giaythuytinh176 [30.8.2013] -* Downloader Class By [FZ] -*/ +<?php // Use account Free only. + +class dl_upafile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://upafile.com/?op=my_account", "lang=english;{$cookie}", ""); + //if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + if(stristr($data, 'My published files link') && !stristr($data, 'Premium account expire:')) return array(true, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://upafile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://upafile.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + if($pass) { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post1["method_free"] = "Free Download"; + $post1['password'] = $pass; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!stristr($data, 'value="Create Download Link')) $this->error("Cannot get Create Download Link", true, false); + else { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post1["method_free"] = "Free Download"; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(preg_match('@https?:\/\/[\d.]+(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* upafile Download Plugin by giaythuytinh176 [30.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/upfile_mobi.php b/hosts/upfile_mobi.php similarity index 97% rename from vinaget/vng270/hosts/upfile_mobi.php rename to hosts/upfile_mobi.php index 2656232..9b0117b 100644 --- a/vinaget/vng270/hosts/upfile_mobi.php +++ b/hosts/upfile_mobi.php @@ -1,32 +1,32 @@ -<?php - -class dl_upfile_mobi extends Download { - - public function FreeLeech($url){ - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "lang=en", ""); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $url = str_replace("http://upfile.mobi/", "http://upfile.mobi/view.php?f=", $url); - $post["key"] = $pass; - $data = $this->lib->curl($url, "lang=en;".$this->lib->cookie, $post); - if(stristr($data,'Enter password:')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/upfile\.mobi\/download\.php[^"\'><\r\n\t]+@i', "http://upfile.mobi/{$this->lib->cut_str($data, 'title="download" href="', '">')}", $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="key')) $this->error("reportpass", true, false); - elseif(preg_match('@https?:\/\/upfile\.mobi\/download\.php[^"\'><\r\n\t]+@i', "http://upfile.mobi/{$this->lib->cut_str($data, 'title="download" href="', '">')}", $giay)) - return trim($giay[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* upfile.mobi Download Plugin by giaythuytinh176 [16.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_upfile_mobi extends Download { + + public function FreeLeech($url){ + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "lang=en", ""); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $url = str_replace("http://upfile.mobi/", "http://upfile.mobi/view.php?f=", $url); + $post["key"] = $pass; + $data = $this->lib->curl($url, "lang=en;".$this->lib->cookie, $post); + if(stristr($data,'Enter password:')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/upfile\.mobi\/download\.php[^"\'><\r\n\t]+@i', "http://upfile.mobi/{$this->lib->cut_str($data, 'title="download" href="', '">')}", $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="key')) $this->error("reportpass", true, false); + elseif(preg_match('@https?:\/\/upfile\.mobi\/download\.php[^"\'><\r\n\t]+@i', "http://upfile.mobi/{$this->lib->cut_str($data, 'title="download" href="', '">')}", $giay)) + return trim($giay[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* upfile.mobi Download Plugin by giaythuytinh176 [16.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/upfile_vn.php b/hosts/upfile_vn.php similarity index 96% rename from vinaget/vng270/hosts/upfile_vn.php rename to hosts/upfile_vn.php index 259fb93..9bc5aeb 100644 --- a/vinaget/vng270/hosts/upfile_vn.php +++ b/hosts/upfile_vn.php @@ -1,35 +1,35 @@ -<?php - -class dl_upfile_vn extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://upfile.vn/payments/index.html", $cookie, ""); - if(stristr($data, 'Chuyển vá» tài khoản Free:')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, 'Chuyển vá» tài khoản Free:','</tr>'), '<td>', '</td>')); - elseif(stristr($data, 'Loại Tài Khoản:') && !stristr($data, 'Chuyển vá» tài khoản Free')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://upfile.vn/login.html", "", "loginUsername={$user}&loginPassword={$pass}&submitme=1&submit=Äăng%20nhập"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - return trim($url); - return false; - } - -} -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Upfile.vn Download Plugin -* Downloader Class By [FZ] -* Add check account by giaythuytinh176 -* Date: 20.7.2013 -* Fix check account by giaythuytinh176 [23.7.2013] -* Fix check account by giaythuytinh176 [15.8.2013] -*/ +<?php + +class dl_upfile_vn extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://upfile.vn/payments/index.html", $cookie, ""); + if(stristr($data, 'Chuyển vá» tài khoản Free:')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, 'Chuyển vá» tài khoản Free:','</tr>'), '<td>', '</td>')); + elseif(stristr($data, 'Loại Tài Khoản:') && !stristr($data, 'Chuyển vá» tài khoản Free')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://upfile.vn/login.html", "", "loginUsername={$user}&loginPassword={$pass}&submitme=1&submit=Äăng%20nhập"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + return trim($url); + return false; + } + +} +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Upfile.vn Download Plugin +* Downloader Class By [FZ] +* Add check account by giaythuytinh176 +* Date: 20.7.2013 +* Fix check account by giaythuytinh176 [23.7.2013] +* Fix check account by giaythuytinh176 [15.8.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uploadable_ch.php b/hosts/uploadable_ch.php similarity index 97% rename from vinaget/vng270/hosts/uploadable_ch.php rename to hosts/uploadable_ch.php index 9575d3c..802bd27 100644 --- a/vinaget/vng270/hosts/uploadable_ch.php +++ b/hosts/uploadable_ch.php @@ -1,40 +1,40 @@ -<?php - -class dl_uploadable_ch extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.uploadable.ch/indexboard.php", "{$cookie}", ""); - if(stristr($data, '_type">PREMIUM</div>')) { - $tach = explode('<div class="grey_type">', $data); - return array(true, "Until " .$this->lib->cut_str($tach[2], 'Until', '</div>')); - } - else if(stristr($data, '<a href="/account.php">') && !stristr($data, '_type">PREMIUM</div>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.uploadable.ch/login.php", "", "userName={$user}&userPassword={$pass}&autoLogin=true&action__login=normalLogin"); - return $this->lib->GetCookies($data); - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, '>The file could not be found.') || stristr($data, 'This file is no longer available.')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $data = $this->lib->curl($url, $this->lib->cookie, 'download=premium'); - if($this->isredirect($data)) return trim($this->redirect); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Uploadable.ch Download Plugin by giaythuytinh176 [20.2.2014] -* Downloader Class By [FZ] -*/ +<?php + +class dl_uploadable_ch extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.uploadable.ch/indexboard.php", "{$cookie}", ""); + if(stristr($data, '_type">PREMIUM</div>')) { + $tach = explode('<div class="grey_type">', $data); + return array(true, "Until " .$this->lib->cut_str($tach[2], 'Until', '</div>')); + } + else if(stristr($data, '<a href="/account.php">') && !stristr($data, '_type">PREMIUM</div>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.uploadable.ch/login.php", "", "userName={$user}&userPassword={$pass}&autoLogin=true&action__login=normalLogin"); + return $this->lib->GetCookies($data); + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, '>The file could not be found.') || stristr($data, 'This file is no longer available.')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $data = $this->lib->curl($url, $this->lib->cookie, 'download=premium'); + if($this->isredirect($data)) return trim($this->redirect); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Uploadable.ch Download Plugin by giaythuytinh176 [20.2.2014] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uploadbaz_com.php b/hosts/uploadbaz_com.php similarity index 98% rename from vinaget/vng270/hosts/uploadbaz_com.php rename to hosts/uploadbaz_com.php index 00a4c29..b3c7611 100644 --- a/vinaget/vng270/hosts/uploadbaz_com.php +++ b/hosts/uploadbaz_com.php @@ -1,107 +1,107 @@ -<?php - -class dl_uploadbaz_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.uploadbaz.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, '<a href="http://www.uploadbaz.com/?op=payments">Upgrade to premium</a>')) return array(false, "accfree"); - elseif(stristr($data, 'Premium Account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium Account expire:</TD><TD><b>','</b>')."<br/> Traffic available today: ".$this->lib->cut_str($data, 'Traffic available today:</TD><TD><b>','</b></TD><TD></TD></TR>')); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.uploadbaz.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } -/* - public function FreeLeech($url) { //Thanks to Th3-822@rapidleech.com - list($url, $pass) = $this->linkpassword($url); - $page = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($page)); - $post = $this->parseForm($this->lib->cut_str($page, '<Form method="POST" action=', '</form>')); - $post['method_free'] = "Free Download"; - $post['method_premium'] = ""; - - $page = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@You have reached the download-limit: \d+ Mb for last 1 days@i', $page, $limit)) $this->error($limit[0], true, false); - elseif(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $page, $count)) $this->error($count[0], true, false); - elseif(preg_match('@You can download files up to \d+ [KMG]b only@i', $page, $sizelim)) $this->error($sizelim[0], true, false); - - $post = $this->parseForm($this->lib->cut_str($page, '<form name="F1" method="POST"', '</form>')); - $post['method_free'] = "Free Download"; - - if (!preg_match_all("@<span style='[^\'>]*padding-left\s*:\s*(\d+)[^\'>]*'[^>]*>((?:&#\w+;)|(?:\d))</span>@i", $this->lib->cut_str($page, '<form name="F1" method="POST"', '</form>'), $spans)) - $this->error("Error: Cannot decode captcha.", true, false); - else { - $spans = array_combine($spans[1], $spans[2]); - ksort($spans, SORT_NUMERIC); - $captcha = ''; - foreach ($spans as $digit) $captcha .= $digit; - $post['code'] = html_entity_decode($captcha); - - if(preg_match('@<span id="countdown_str"[^>]*>[^<>]+<span[^>]*>(\d+)</span>[^<>]+</span>@i', $this->lib->cut_str($page, '<form name="F1" method="POST"', '</form>'), $count) && $count[1] > 0) - sleep($count[1]); - - if($pass) { - $post = $this->parseForm($this->lib->cut_str($page, '<form name="F1" method="POST"', '</form>')); - $post['method_free'] = "Free Download"; - $post["password"] = $pass; - $post['code'] = html_entity_decode($captcha); - $page = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($page,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(stristr($page,'>Skipped countdown')) $this->error("Error: Skipped countdown?.", true, false); - elseif(stristr($page,'>Wrong captcha<')) $this->error("Error: Unknown error after sending decoded captcha.", true, false); - elseif(stristr($page,'>Expired session<')) $this->error("Error: Expired Download Session.", true, false); - elseif(preg_match('@You can download files up to \d+ [KMG]b only.@i', $page, $err)) $this->error('Error: '.$err[0], true, false); - elseif(preg_match('@https?:\/\/(\w+\.)?uploadbaz\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $page, $dlink)) - return trim($dlink[0]); - } - if(stristr($page,'<input type="password" name="password" class="myForm">')) $this->error("reportpass", true, false); - - $page = $this->lib->curl($url, $this->lib->cookie, $post); - - if(stristr($page,'>Skipped countdown')) $this->error("Error: Skipped countdown?.", true, false); - elseif(stristr($page,'>Wrong captcha<')) $this->error("Error: Unknown error after sending decoded captcha.", true, false); - elseif(stristr($page,'>Expired session<')) $this->error("Error: Expired Download Session.", true, false); - elseif(preg_match('@You can download files up to \d+ [KMG]b only.@i', $page, $err)) $this->error('Error: '.$err[0], true, false); - elseif(preg_match('@https?:\/\/(\w+\.)?uploadbaz\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $page, $dlink)) - return trim($dlink[0]); - } - return false; - } */ - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?uploadbaz\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - if(stristr($data,'<input type="password" name="password" class="myForm">')) $this->error("reportpass", true, false); - elseif(stristr($data,'<b>File Not Found</b><br><br>')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/(\w+\.)?uploadbaz\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) - return trim($giay[0]); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Uploadbaz Download Plugin by riping [22/7/2013] -* Downloader Class By [FZ] -* Support file password by giaythuytinh176 [29.7.2013] -*/ +<?php + +class dl_uploadbaz_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.uploadbaz.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, '<a href="http://www.uploadbaz.com/?op=payments">Upgrade to premium</a>')) return array(false, "accfree"); + elseif(stristr($data, 'Premium Account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium Account expire:</TD><TD><b>','</b>')."<br/> Traffic available today: ".$this->lib->cut_str($data, 'Traffic available today:</TD><TD><b>','</b></TD><TD></TD></TR>')); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.uploadbaz.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } +/* + public function FreeLeech($url) { //Thanks to Th3-822@rapidleech.com + list($url, $pass) = $this->linkpassword($url); + $page = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($page)); + $post = $this->parseForm($this->lib->cut_str($page, '<Form method="POST" action=', '</form>')); + $post['method_free'] = "Free Download"; + $post['method_premium'] = ""; + + $page = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@You have reached the download-limit: \d+ Mb for last 1 days@i', $page, $limit)) $this->error($limit[0], true, false); + elseif(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $page, $count)) $this->error($count[0], true, false); + elseif(preg_match('@You can download files up to \d+ [KMG]b only@i', $page, $sizelim)) $this->error($sizelim[0], true, false); + + $post = $this->parseForm($this->lib->cut_str($page, '<form name="F1" method="POST"', '</form>')); + $post['method_free'] = "Free Download"; + + if (!preg_match_all("@<span style='[^\'>]*padding-left\s*:\s*(\d+)[^\'>]*'[^>]*>((?:&#\w+;)|(?:\d))</span>@i", $this->lib->cut_str($page, '<form name="F1" method="POST"', '</form>'), $spans)) + $this->error("Error: Cannot decode captcha.", true, false); + else { + $spans = array_combine($spans[1], $spans[2]); + ksort($spans, SORT_NUMERIC); + $captcha = ''; + foreach ($spans as $digit) $captcha .= $digit; + $post['code'] = html_entity_decode($captcha); + + if(preg_match('@<span id="countdown_str"[^>]*>[^<>]+<span[^>]*>(\d+)</span>[^<>]+</span>@i', $this->lib->cut_str($page, '<form name="F1" method="POST"', '</form>'), $count) && $count[1] > 0) + sleep($count[1]); + + if($pass) { + $post = $this->parseForm($this->lib->cut_str($page, '<form name="F1" method="POST"', '</form>')); + $post['method_free'] = "Free Download"; + $post["password"] = $pass; + $post['code'] = html_entity_decode($captcha); + $page = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($page,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(stristr($page,'>Skipped countdown')) $this->error("Error: Skipped countdown?.", true, false); + elseif(stristr($page,'>Wrong captcha<')) $this->error("Error: Unknown error after sending decoded captcha.", true, false); + elseif(stristr($page,'>Expired session<')) $this->error("Error: Expired Download Session.", true, false); + elseif(preg_match('@You can download files up to \d+ [KMG]b only.@i', $page, $err)) $this->error('Error: '.$err[0], true, false); + elseif(preg_match('@https?:\/\/(\w+\.)?uploadbaz\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $page, $dlink)) + return trim($dlink[0]); + } + if(stristr($page,'<input type="password" name="password" class="myForm">')) $this->error("reportpass", true, false); + + $page = $this->lib->curl($url, $this->lib->cookie, $post); + + if(stristr($page,'>Skipped countdown')) $this->error("Error: Skipped countdown?.", true, false); + elseif(stristr($page,'>Wrong captcha<')) $this->error("Error: Unknown error after sending decoded captcha.", true, false); + elseif(stristr($page,'>Expired session<')) $this->error("Error: Expired Download Session.", true, false); + elseif(preg_match('@You can download files up to \d+ [KMG]b only.@i', $page, $err)) $this->error('Error: '.$err[0], true, false); + elseif(preg_match('@https?:\/\/(\w+\.)?uploadbaz\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $page, $dlink)) + return trim($dlink[0]); + } + return false; + } */ + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?uploadbaz\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + if(stristr($data,'<input type="password" name="password" class="myForm">')) $this->error("reportpass", true, false); + elseif(stristr($data,'<b>File Not Found</b><br><br>')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/(\w+\.)?uploadbaz\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) + return trim($giay[0]); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Uploadbaz Download Plugin by riping [22/7/2013] +* Downloader Class By [FZ] +* Support file password by giaythuytinh176 [29.7.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uploadboy_com.php b/hosts/uploadboy_com.php similarity index 97% rename from vinaget/vng270/hosts/uploadboy_com.php rename to hosts/uploadboy_com.php index 22d08a4..9c74e34 100644 --- a/vinaget/vng270/hosts/uploadboy_com.php +++ b/hosts/uploadboy_com.php @@ -1,84 +1,84 @@ -<?php - -class dl_uploadboy_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://uploadboy.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://uploadboy.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://uploadboy.com/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - if(!stristr($data, 'method_free" value=" Free Download "')) - $this->error("Cannot get Free Download", true, false); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST" action=', '<table border="0" width="600" cellspaci')); - $post['method_free'] = ' Free Download '; - $post['method_premium'] = ''; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $this->save($this->lib->GetCookies($data)); - if($pass) { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post1['password'] = $pass; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!stristr($data, 'value="Create Download Link')) $this->error("Cannot get Create Download Link", true, false); - else { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) - return trim($giay[0]); - } - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - if($pass) { - $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post0["password"] = $pass; - $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); - if(stristr($data0,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) - return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); - if(preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) - return trim($giay[0]); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* uploadboy Download Plugin by giaythuytinh176 [14.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_uploadboy_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://uploadboy.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://uploadboy.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://uploadboy.com/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + if(!stristr($data, 'method_free" value=" Free Download "')) + $this->error("Cannot get Free Download", true, false); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST" action=', '<table border="0" width="600" cellspaci')); + $post['method_free'] = ' Free Download '; + $post['method_premium'] = ''; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $this->save($this->lib->GetCookies($data)); + if($pass) { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post1['password'] = $pass; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!stristr($data, 'value="Create Download Link')) $this->error("Cannot get Create Download Link", true, false); + else { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) + return trim($giay[0]); + } + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + if($pass) { + $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post0["password"] = $pass; + $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); + if(stristr($data0,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) + return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); + if(preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) + return trim($giay[0]); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* uploadboy Download Plugin by giaythuytinh176 [14.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uploaded_net.php b/hosts/uploaded_net.php similarity index 97% rename from vinaget/vng270/hosts/uploaded_net.php rename to hosts/uploaded_net.php index 4573676..35e2f0e 100644 --- a/vinaget/vng270/hosts/uploaded_net.php +++ b/hosts/uploaded_net.php @@ -1,67 +1,67 @@ -<?php - -class dl_uploaded_net extends Download { - - public function PreLeech($url){ - if(stristr($url, "/f/")) { - $data = $this->lib->curl($url, "", ""); - $data = $this->lib->cut_str($data, '<table id="fileList">', "</table>"); - $FID = explode('<h2><a href="file', $data); - $maxfile = count($FID); - for ($i = 1; $i < $maxfile; $i++) { - preg_match('%\/(.+)\/from\/(.*)%U', $FID[$i], $code); - $list = "<a href=http://uploaded.net/file/{$code[1]}>http://uploaded.net/file/{$code[1]}/</a><br/>"; - echo $list; - } - exit; - } - } - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://uploaded.net/language/en", $cookie, ""); - $data = $this->lib->curl("http://uploaded.net/", $cookie, ""); - $dt = $this->lib->curl("http://uploaded.net/file/wojimfnt", $cookie, ""); - if(stristr($dt, 'You used too many different IPs')) return array(true, "blockAcc"); - elseif(stristr($dt, 'Hybrid-Traffic is completely exhausted')) return array(true, "LimitAcc"); - elseif(stristr($data, '<a href="register"><em>Premium</em></a>')) return array(true, $this->lib->cut_str($this->lib->cut_str($data, "Duration:</td>", "/th>"), "<th>", "<")); - elseif(stristr($data, '<li><a href="logout">Logout</a></li>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://uploaded.net/io/login", "", "id={$user}&pw={$pass}"); - $cookie = $this->lib->GetCookies($data); - return $cookie; - } - - public function Leech($url) { - //$url = str_replace("http://", "https://", $url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if (stristr($data,">Extend traffic<")) $this->error("LimitAcc"); - elseif (stristr($data,"Hybrid-Traffic is completely exhausted")) $this->error("LimitAcc"); - elseif (stristr($data,"Our service is currently unavailable in your country")) $this->error("blockCountry", true, false); - elseif (stristr($data,"You used too many different IPs")) $this->error("blockAcc", true, false); - elseif (stristr($data,"Download Blocked (ip)")) $this->error("blockIP", true, false); - elseif(!$this->isredirect($data)) { - if (preg_match('/action="(https?:\/\/.+)" style/i', $data, $link)) return trim($link[1]); - } - else{ - if (stristr($this->redirect,'uploaded.net/404')) $this->error("dead", true, false, 2); - else return trim($this->redirect); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Uploaded Download Plugin -* Downloader Class By [FZ] -* Fixed By djkristoph -* Fixed download link By giaythuytinh176 [5.8.2013] -* Fixed plugin by Steam [09, Feb 2014] -*/ +<?php + +class dl_uploaded_net extends Download { + + public function PreLeech($url){ + if(stristr($url, "/f/")) { + $data = $this->lib->curl($url, "", ""); + $data = $this->lib->cut_str($data, '<table id="fileList">', "</table>"); + $FID = explode('<h2><a href="file', $data); + $maxfile = count($FID); + for ($i = 1; $i < $maxfile; $i++) { + preg_match('%\/(.+)\/from\/(.*)%U', $FID[$i], $code); + $list = "<a href=http://uploaded.net/file/{$code[1]}>http://uploaded.net/file/{$code[1]}/</a><br/>"; + echo $list; + } + exit; + } + } + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://uploaded.net/language/en", $cookie, ""); + $data = $this->lib->curl("http://uploaded.net/", $cookie, ""); + $dt = $this->lib->curl("http://uploaded.net/file/wojimfnt", $cookie, ""); + if(stristr($dt, 'You used too many different IPs')) return array(true, "blockAcc"); + elseif(stristr($dt, 'Hybrid-Traffic is completely exhausted')) return array(true, "LimitAcc"); + elseif(stristr($data, '<a href="register"><em>Premium</em></a>')) return array(true, $this->lib->cut_str($this->lib->cut_str($data, "Duration:</td>", "/th>"), "<th>", "<")); + elseif(stristr($data, '<li><a href="logout">Logout</a></li>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://uploaded.net/io/login", "", "id={$user}&pw={$pass}"); + $cookie = $this->lib->GetCookies($data); + return $cookie; + } + + public function Leech($url) { + //$url = str_replace("http://", "https://", $url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if (stristr($data,">Extend traffic<")) $this->error("LimitAcc"); + elseif (stristr($data,"Hybrid-Traffic is completely exhausted")) $this->error("LimitAcc"); + elseif (stristr($data,"Our service is currently unavailable in your country")) $this->error("blockCountry", true, false); + elseif (stristr($data,"You used too many different IPs")) $this->error("blockAcc", true, false); + elseif (stristr($data,"Download Blocked (ip)")) $this->error("blockIP", true, false); + elseif(!$this->isredirect($data)) { + if (preg_match('/action="(https?:\/\/.+)" style/i', $data, $link)) return trim($link[1]); + } + else{ + if (stristr($this->redirect,'uploaded.net/404')) $this->error("dead", true, false, 2); + else return trim($this->redirect); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Uploaded Download Plugin +* Downloader Class By [FZ] +* Fixed By djkristoph +* Fixed download link By giaythuytinh176 [5.8.2013] +* Fixed plugin by Steam [09, Feb 2014] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uploaded_to.php b/hosts/uploaded_to.php similarity index 100% rename from vinaget/vng270/hosts/uploaded_to.php rename to hosts/uploaded_to.php diff --git a/vinaget/vng270/hosts/uploadhero_co.php b/hosts/uploadhero_co.php similarity index 97% rename from vinaget/vng270/hosts/uploadhero_co.php rename to hosts/uploadhero_co.php index 3216eca..4a9c75e 100644 --- a/vinaget/vng270/hosts/uploadhero_co.php +++ b/hosts/uploadhero_co.php @@ -1,38 +1,38 @@ -<?php - -class dl_uploadhero_co extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://uploadhero.co/my-account", $cookie, ""); - if(stristr($data, 'Premium days.')) return array(true, $this->lib->cut_str($data, 'You still have <span class="bleu">', '</span><br />')." days"); - elseif(!stristr($data, '<a href="/logout"')) return array(false, "accinvalid"); - else return array(false, "accfree"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://uploadhero.co/lib/connexion.php","lang=en","pseudo_login={$user}&password_login={$pass}"); - if(!stristr($data, '<div id="cookietransitload"')) return false; - $uh = $this->lib->cut_str($data, 'style="display:none;">','</div>'); - $cookie = "uh={$uh};directdl=on;lang=en;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data, "No such file with this filename</font>")) $this->error("dead", true, false, 2); - elseif(stristr($data, "http://uploadhero.co/forbbiden")) $this->error("blockIP", true, false); - elseif(preg_match('@https?:\/\/(\w+\.)?uploadhero\.co\/\?d=[^"\'><\r\n\t]+@i', $data, $link)) - return trim($link[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Uploadhero Download Plugin by riping -* Downloader Class By [FZ] -*/ +<?php + +class dl_uploadhero_co extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://uploadhero.co/my-account", $cookie, ""); + if(stristr($data, 'Premium days.')) return array(true, $this->lib->cut_str($data, 'You still have <span class="bleu">', '</span><br />')." days"); + elseif(!stristr($data, '<a href="/logout"')) return array(false, "accinvalid"); + else return array(false, "accfree"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://uploadhero.co/lib/connexion.php","lang=en","pseudo_login={$user}&password_login={$pass}"); + if(!stristr($data, '<div id="cookietransitload"')) return false; + $uh = $this->lib->cut_str($data, 'style="display:none;">','</div>'); + $cookie = "uh={$uh};directdl=on;lang=en;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data, "No such file with this filename</font>")) $this->error("dead", true, false, 2); + elseif(stristr($data, "http://uploadhero.co/forbbiden")) $this->error("blockIP", true, false); + elseif(preg_match('@https?:\/\/(\w+\.)?uploadhero\.co\/\?d=[^"\'><\r\n\t]+@i', $data, $link)) + return trim($link[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Uploadhero Download Plugin by riping +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uploading_com.php b/hosts/uploading_com.php similarity index 100% rename from vinaget/vng270/hosts/uploading_com.php rename to hosts/uploading_com.php diff --git a/vinaget/vng270/hosts/uploadjet_net.php b/hosts/uploadjet_net.php similarity index 97% rename from vinaget/vng270/hosts/uploadjet_net.php rename to hosts/uploadjet_net.php index ebc51af..bcfd654 100644 --- a/vinaget/vng270/hosts/uploadjet_net.php +++ b/hosts/uploadjet_net.php @@ -1,84 +1,84 @@ -<?php - -class dl_uploadjet_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://uploadjet.net/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'My affiliate link:') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://uploadjet.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://uploadjet.net/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - if(!stristr($data, 'method_free" value="Free Download')) - $this->error("Cannot get Free Download", true, false); - else { - $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST" action=\'\'>', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - $this->save($this->lib->GetCookies($data)); - if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) $this->error($count[0], true, false); - if(preg_match('@<span id="countdown_str"[^>]*>[^<>]+<span[^>]*>(\d+)</span>[^<>]+</span>@i', $data, $count) && $count[1] > 0) - sleep($count[1]); - if($pass) { - if(preg_match('@<span id="countdown_str"[^>]*>[^<>]+<span[^>]*>(\d+)</span>[^<>]+</span>@i', $data, $count) && $count[1] > 0) - sleep($count[1]); - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post1['password'] = $pass; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data1)) return trim($this->redirect); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!stristr($data, 'btn_download" value="Create Download Link')) - $this->error("Cannot get Create Download Link", true, false); - else { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if($this->isredirect($data1)) return trim($this->redirect); - } - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - if($pass) { - $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post0["password"] = $pass; - $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); - if(stristr($data0,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data0)) return trim($this->redirect); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); - if($this->isredirect($data0)) return trim($this->redirect); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* uploadjet Download Plugin by giaythuytinh176 [28.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_uploadjet_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://uploadjet.net/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'My affiliate link:') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://uploadjet.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://uploadjet.net/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + if(!stristr($data, 'method_free" value="Free Download')) + $this->error("Cannot get Free Download", true, false); + else { + $post = $this->parseForm($this->lib->cut_str($data, '<Form method="POST" action=\'\'>', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + $this->save($this->lib->GetCookies($data)); + if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) $this->error($count[0], true, false); + if(preg_match('@<span id="countdown_str"[^>]*>[^<>]+<span[^>]*>(\d+)</span>[^<>]+</span>@i', $data, $count) && $count[1] > 0) + sleep($count[1]); + if($pass) { + if(preg_match('@<span id="countdown_str"[^>]*>[^<>]+<span[^>]*>(\d+)</span>[^<>]+</span>@i', $data, $count) && $count[1] > 0) + sleep($count[1]); + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post1['password'] = $pass; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data1)) return trim($this->redirect); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!stristr($data, 'btn_download" value="Create Download Link')) + $this->error("Cannot get Create Download Link", true, false); + else { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if($this->isredirect($data1)) return trim($this->redirect); + } + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + if($pass) { + $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post0["password"] = $pass; + $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); + if(stristr($data0,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data0)) return trim($this->redirect); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post0 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); + if($this->isredirect($data0)) return trim($this->redirect); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* uploadjet Download Plugin by giaythuytinh176 [28.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uploadstation_com.php b/hosts/uploadstation_com.php similarity index 97% rename from vinaget/vng270/hosts/uploadstation_com.php rename to hosts/uploadstation_com.php index 692ab38..fb3044b 100644 --- a/vinaget/vng270/hosts/uploadstation_com.php +++ b/hosts/uploadstation_com.php @@ -1,34 +1,34 @@ -<?php - -class dl_uploadstation_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://bitshare.com/myaccount.html", "{$cookie}", ""); - if(preg_match('/Expiry date: ([^\r]+)/i', $data, $matches)) return array(true, "Until ".$matches[1]); - else if(stristr($data, '<span>FREE</span>')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.uploadstation.com/login.php", "", "loginUserName={$user}&loginUserPassword={$pass}&autoLogin=on&recaptcha_response_field=&recaptcha_challenge_field=&recaptcha_shortencode_field=&loginFormSubmit=Login"); - return "{$this->lib->GetCookies($data)}"; - } - - public function Leech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, "download=premium"); - if($this->isredirect($data)) return trim($this->redirect); - elseif(stristr($data,'>File is not available<')) $this->error("dead", true, false, 2); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Bitshare.com Download Plugin -* Downloader Class By [FZ] -* Uploadstation Download Plugin By giaythuytinh176 [6.9.2013] -*/ +<?php + +class dl_uploadstation_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://bitshare.com/myaccount.html", "{$cookie}", ""); + if(preg_match('/Expiry date: ([^\r]+)/i', $data, $matches)) return array(true, "Until ".$matches[1]); + else if(stristr($data, '<span>FREE</span>')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.uploadstation.com/login.php", "", "loginUserName={$user}&loginUserPassword={$pass}&autoLogin=on&recaptcha_response_field=&recaptcha_challenge_field=&recaptcha_shortencode_field=&loginFormSubmit=Login"); + return "{$this->lib->GetCookies($data)}"; + } + + public function Leech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, "download=premium"); + if($this->isredirect($data)) return trim($this->redirect); + elseif(stristr($data,'>File is not available<')) $this->error("dead", true, false, 2); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Bitshare.com Download Plugin +* Downloader Class By [FZ] +* Uploadstation Download Plugin By giaythuytinh176 [6.9.2013] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uppit_com.php b/hosts/uppit_com.php similarity index 96% rename from vinaget/vng270/hosts/uppit_com.php rename to hosts/uppit_com.php index 2412cec..a91ec3e 100644 --- a/vinaget/vng270/hosts/uppit_com.php +++ b/hosts/uppit_com.php @@ -1,33 +1,33 @@ -<?php - -class dl_uppit_com extends Download { - - public function FreeLeech($url) { - $data = $this->lib->curl($url, $this->lib->cookie, ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - else { - $post = array( - 'op' => 'download1', - 'usr_login' => 'admin', - 'id' => $this->lib->cut_str($data, 'id" value="', '">'), - 'fname' => $this->lib->cut_str($data, 'fname" value="', '">'), - 'referer' => 'http://uppit.com', - 'method_free' => ' Generate Link ', - ); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('/a href="(http:\/\/srv\d+\.uppcdn\.com\/dl\/.+)" onClick/i', $data, $redir)) return trim($redir[1]); - } - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Uppit.com Download Plugin by giaythuytinh176 [24.2.2014] -* Downloader Class By [FZ] -*/ +<?php + +class dl_uppit_com extends Download { + + public function FreeLeech($url) { + $data = $this->lib->curl($url, $this->lib->cookie, ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + else { + $post = array( + 'op' => 'download1', + 'usr_login' => 'admin', + 'id' => $this->lib->cut_str($data, 'id" value="', '">'), + 'fname' => $this->lib->cut_str($data, 'fname" value="', '">'), + 'referer' => 'http://uppit.com', + 'method_free' => ' Generate Link ', + ); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('/a href="(http:\/\/srv\d+\.uppcdn\.com\/dl\/.+)" onClick/i', $data, $redir)) return trim($redir[1]); + } + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Uppit.com Download Plugin by giaythuytinh176 [24.2.2014] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/uptobox_com.php b/hosts/uptobox_com.php similarity index 97% rename from vinaget/vng270/hosts/uptobox_com.php rename to hosts/uptobox_com.php index ec96b93..f1dcccb 100644 --- a/vinaget/vng270/hosts/uptobox_com.php +++ b/hosts/uptobox_com.php @@ -1,45 +1,45 @@ -<?php -class dl_uptobox_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://uptobox.com/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium-Account expire')) return array(true, "Until ".$this->lib->cut_str($data, '>Premium-Account expire:', '</')); - else if(stristr($data, 'My affiliate link:') && !stristr($data, 'Premium-Account expire')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - public function Login($user, $pass){ - $data = $this->lib->curl("https://login.uptobox.com/", "lang=english", "op=login&login={$user}&password={$pass}&redirect="); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<form', '</form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/www\d+\.uptobox.com\/d\/[^\'\"\s\t<>\r\n]+@i', $data, $link)) return trim(str_replace('https', 'http', $link[0])); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif (stristr($data,'The file was deleted by its owner') || stristr($data,'Page not found / La page')) $this->error("dead", true, false, 2); - elseif (!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<form name="F1"', '</form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/www\d+\.uptobox.com\/d\/[^\'\"\s\t<>\r\n]+@i', $data, $link)) return trim(str_replace('https', 'http', $link[0])); - } - else return trim(str_replace('https', 'http', trim($this->redirect))); - return false; - } -} -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Uptobox Download Plugin -* Downloader Class By [FZ] -* Support file password by giaythuytinh176 [26.7.2013][18.9.2013][Fixed] -* Fixed Login: KulGuY [16.01.2015] -*/ +<?php +class dl_uptobox_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://uptobox.com/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium-Account expire')) return array(true, "Until ".$this->lib->cut_str($data, '>Premium-Account expire:', '</')); + else if(stristr($data, 'My affiliate link:') && !stristr($data, 'Premium-Account expire')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + public function Login($user, $pass){ + $data = $this->lib->curl("https://login.uptobox.com/", "lang=english", "op=login&login={$user}&password={$pass}&redirect="); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<form', '</form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/www\d+\.uptobox.com\/d\/[^\'\"\s\t<>\r\n]+@i', $data, $link)) return trim(str_replace('https', 'http', $link[0])); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif (stristr($data,'The file was deleted by its owner') || stristr($data,'Page not found / La page')) $this->error("dead", true, false, 2); + elseif (!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<form name="F1"', '</form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/www\d+\.uptobox.com\/d\/[^\'\"\s\t<>\r\n]+@i', $data, $link)) return trim(str_replace('https', 'http', $link[0])); + } + else return trim(str_replace('https', 'http', trim($this->redirect))); + return false; + } +} +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Uptobox Download Plugin +* Downloader Class By [FZ] +* Support file password by giaythuytinh176 [26.7.2013][18.9.2013][Fixed] +* Fixed Login: KulGuY [16.01.2015] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/verzend_be.php b/hosts/verzend_be.php similarity index 97% rename from vinaget/vng270/hosts/verzend_be.php rename to hosts/verzend_be.php index 5edc620..0ccbab3 100644 --- a/vinaget/vng270/hosts/verzend_be.php +++ b/hosts/verzend_be.php @@ -1,75 +1,75 @@ -<?php - -class dl_verzend_be extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://verzend.be/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:</TD><TD><b>')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); - else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://verzend.be/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://verzend.be/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function FreeLeech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) $this->error($count[0], true, false); - if($pass) { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post1["method_free"] = "Free Download"; - $post1['password'] = $pass; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data1)) return trim($this->redirect); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(!stristr($data, 'value="Create Download Link')) $this->error("Cannot get Create Download Link", true, false); - else { - $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); - $post1["method_free"] = "Free Download"; - $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); - if($this->isredirect($data1)) return trim($this->redirect); - } - return false; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif($this->isredirect($data)) return trim($this->redirect); - } - if (stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif (stristr($data,'<br><b>Password:</b> <input type="password"')) $this->error("reportpass", true, false); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if($this->isredirect($data)) return trim($this->redirect); - } - else - return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Verzend.be Download Plugin by giaythuytinh176 [29.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_verzend_be extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://verzend.be/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:</TD><TD><b>')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium account expire:</TD><TD><b>','</b>')); + else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://verzend.be/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://verzend.be/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function FreeLeech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + if(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + if(preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) $this->error($count[0], true, false); + if($pass) { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post1["method_free"] = "Free Download"; + $post1['password'] = $pass; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if(stristr($data1,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data1)) return trim($this->redirect); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(!stristr($data, 'value="Create Download Link')) $this->error("Cannot get Create Download Link", true, false); + else { + $post1 = $this->parseForm($this->lib->cut_str($data, '<Form name="F1" method="POST"', '</Form>')); + $post1["method_free"] = "Free Download"; + $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); + if($this->isredirect($data1)) return trim($this->redirect); + } + return false; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif($this->isredirect($data)) return trim($this->redirect); + } + if (stristr($data,'You have reached the download-limit')) $this->error("LimitAcc", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif (stristr($data,'<br><b>Password:</b> <input type="password"')) $this->error("reportpass", true, false); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if($this->isredirect($data)) return trim($this->redirect); + } + else + return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Verzend.be Download Plugin by giaythuytinh176 [29.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/videomega_tv.php b/hosts/videomega_tv.php similarity index 96% rename from vinaget/vng270/hosts/videomega_tv.php rename to hosts/videomega_tv.php index c21b345..951d281 100644 --- a/vinaget/vng270/hosts/videomega_tv.php +++ b/hosts/videomega_tv.php @@ -1,24 +1,24 @@ -<?php - -class dl_videomega_tv extends Download { - - public function FreeLeech($url) { - preg_match('@http:\/\/videomega\.tv(.*)ref=(.*)@', $url, $fileID); - $url = "http://videomega.tv/iframe.php?ref={$fileID[2]}&width=595&height=340"; - $data = $this->lib->curl($url, "", ""); - $this->save($this->lib->GetCookies($data)); - $data = $this->lib->cut_str($data, "document.write(unescape(\"", "\"));"); - $data = $this->lib->cut_str(urldecode($data), '",file: "', '",'); - return trim($data."&start=0"); - return false; - } -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* videomega.tv Download Plugin by giaythuytinh176 [17.9.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_videomega_tv extends Download { + + public function FreeLeech($url) { + preg_match('@http:\/\/videomega\.tv(.*)ref=(.*)@', $url, $fileID); + $url = "http://videomega.tv/iframe.php?ref={$fileID[2]}&width=595&height=340"; + $data = $this->lib->curl($url, "", ""); + $this->save($this->lib->GetCookies($data)); + $data = $this->lib->cut_str($data, "document.write(unescape(\"", "\"));"); + $data = $this->lib->cut_str(urldecode($data), '",file: "', '",'); + return trim($data."&start=0"); + return false; + } +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* videomega.tv Download Plugin by giaythuytinh176 [17.9.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/wipfiles_net.php b/hosts/wipfiles_net.php similarity index 97% rename from vinaget/vng270/hosts/wipfiles_net.php rename to hosts/wipfiles_net.php index 1206f3c..fb77d59 100644 --- a/vinaget/vng270/hosts/wipfiles_net.php +++ b/hosts/wipfiles_net.php @@ -1,48 +1,48 @@ -<?php - -class dl_wipfiles_net extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://wipfiles.net/?op=my_account", "lang=english;{$cookie}", ""); - if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>', '</b>')); - else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://wipfiles.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://wipfiles.net/"); - $cookie = "lang=english;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - list($url, $pass) = $this->linkpassword($url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - if($pass) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $post["password"] = $pass; - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); - elseif(preg_match('@https?:\/\/(\w+\.)?wipfiles\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); - } - if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); - elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); - elseif(!$this->isredirect($data)) { - $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); - $data = $this->lib->curl($url, $this->lib->cookie, $post); - if(preg_match('@https?:\/\/(\w+\.)?wipfiles\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); - } - else return trim($this->redirect); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* Wipfiles Download Plugin by giaythuytinh176 [31.7.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_wipfiles_net extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://wipfiles.net/?op=my_account", "lang=english;{$cookie}", ""); + if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>', '</b>')); + else if(stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://wipfiles.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://wipfiles.net/"); + $cookie = "lang=english;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + list($url, $pass) = $this->linkpassword($url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + if($pass) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $post["password"] = $pass; + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); + elseif(preg_match('@https?:\/\/(\w+\.)?wipfiles\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); + } + if(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); + elseif(stristr($data,'The file was deleted by its owner')) $this->error("dead", true, false, 2); + elseif(!$this->isredirect($data)) { + $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); + $data = $this->lib->curl($url, $this->lib->cookie, $post); + if(preg_match('@https?:\/\/(\w+\.)?wipfiles\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) return trim($giay[0]); + } + else return trim($this->redirect); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* Wipfiles Download Plugin by giaythuytinh176 [31.7.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/hosts/yfdisk_com.php b/hosts/yfdisk_com.php similarity index 100% rename from vinaget/vng270/hosts/yfdisk_com.php rename to hosts/yfdisk_com.php diff --git a/vinaget/vng270/hosts/youtube_com.php b/hosts/youtube_com.php similarity index 100% rename from vinaget/vng270/hosts/youtube_com.php rename to hosts/youtube_com.php diff --git a/vinaget/vng270/hosts/yunfile_com.php b/hosts/yunfile_com.php similarity index 97% rename from vinaget/vng270/hosts/yunfile_com.php rename to hosts/yunfile_com.php index dd52573..2ace1d9 100644 --- a/vinaget/vng270/hosts/yunfile_com.php +++ b/hosts/yunfile_com.php @@ -1,36 +1,36 @@ -<?php - -class dl_yunfile_com extends Download { - - public function CheckAcc($cookie){ - $data = $this->lib->curl("http://www.yunfile.com/user/edit.html", "language=en_us;{$cookie}", ""); - if(stristr($data, 'bottom ">Premium Member')) return array(true, "Until ".$this->lib->cut_str($data, '(Expire:',')')); - else if(stristr($data, 'Current Password:') && !stristr($data, 'bottom ">Premium Member')) return array(false, "accfree"); - else return array(false, "accinvalid"); - } - - public function Login($user, $pass){ - $data = $this->lib->curl("http://www.yunfile.com/view", "language=en_us", "module=member&action=validateLogin&username={$user}&password={$pass}&remember=1"); - $cookie = "language=en_us;{$this->lib->GetCookies($data)}"; - return $cookie; - } - - public function Leech($url) { - $url = preg_replace("@https?:\/\/(yfdisk|filemarkets|yunfile)\.com@", "http://page2.yunfile.com", $url); - $data = $this->lib->curl($url, $this->lib->cookie, ""); - //$link = $this->lib->cut_str($this->lib->cut_str($data, '<td class ="down_url_table_td">', 'onclick=\'setCookie'), '<a href="', '"'); - if(preg_match('@http:\/\/dl\d+\.yunfile\.com\/downfile\/[^"\'><\r\n\t]+@i', $data, $link)) - return trim($link[0]); - return false; - } - -} - -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 -* yunfile Download Plugin by giaythuytinh176 [13.8.2013] -* Downloader Class By [FZ] -*/ +<?php + +class dl_yunfile_com extends Download { + + public function CheckAcc($cookie){ + $data = $this->lib->curl("http://www.yunfile.com/user/edit.html", "language=en_us;{$cookie}", ""); + if(stristr($data, 'bottom ">Premium Member')) return array(true, "Until ".$this->lib->cut_str($data, '(Expire:',')')); + else if(stristr($data, 'Current Password:') && !stristr($data, 'bottom ">Premium Member')) return array(false, "accfree"); + else return array(false, "accinvalid"); + } + + public function Login($user, $pass){ + $data = $this->lib->curl("http://www.yunfile.com/view", "language=en_us", "module=member&action=validateLogin&username={$user}&password={$pass}&remember=1"); + $cookie = "language=en_us;{$this->lib->GetCookies($data)}"; + return $cookie; + } + + public function Leech($url) { + $url = preg_replace("@https?:\/\/(yfdisk|filemarkets|yunfile)\.com@", "http://page2.yunfile.com", $url); + $data = $this->lib->curl($url, $this->lib->cookie, ""); + //$link = $this->lib->cut_str($this->lib->cut_str($data, '<td class ="down_url_table_td">', 'onclick=\'setCookie'), '<a href="', '"'); + if(preg_match('@http:\/\/dl\d+\.yunfile\.com\/downfile\/[^"\'><\r\n\t]+@i', $data, $link)) + return trim($link[0]); + return false; + } + +} + +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 +* yunfile Download Plugin by giaythuytinh176 [13.8.2013] +* Downloader Class By [FZ] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng263/images/Thumbs.db b/images/Thumbs.db similarity index 100% rename from vinaget/vng263/images/Thumbs.db rename to images/Thumbs.db diff --git a/vinaget/vng263/images/ZeroClipboard.js b/images/ZeroClipboard.js similarity index 100% rename from vinaget/vng263/images/ZeroClipboard.js rename to images/ZeroClipboard.js diff --git a/vinaget/vng263/images/ZeroClipboard.swf b/images/ZeroClipboard.swf similarity index 100% rename from vinaget/vng263/images/ZeroClipboard.swf rename to images/ZeroClipboard.swf diff --git a/vinaget/vng263/images/bglist.png b/images/bglist.png similarity index 100% rename from vinaget/vng263/images/bglist.png rename to images/bglist.png diff --git a/vinaget/vng263/images/button_bg1.gif b/images/button_bg1.gif similarity index 100% rename from vinaget/vng263/images/button_bg1.gif rename to images/button_bg1.gif diff --git a/vinaget/vng263/images/button_bg2.gif b/images/button_bg2.gif similarity index 100% rename from vinaget/vng263/images/button_bg2.gif rename to images/button_bg2.gif diff --git a/vinaget/vng263/images/button_bg3.gif b/images/button_bg3.gif similarity index 100% rename from vinaget/vng263/images/button_bg3.gif rename to images/button_bg3.gif diff --git a/vinaget/vng263/images/chk_error.png b/images/chk_error.png similarity index 100% rename from vinaget/vng263/images/chk_error.png rename to images/chk_error.png diff --git a/vinaget/vng263/images/chk_good.png b/images/chk_good.png similarity index 100% rename from vinaget/vng263/images/chk_good.png rename to images/chk_good.png diff --git a/vinaget/vng263/images/error.png b/images/error.png similarity index 100% rename from vinaget/vng263/images/error.png rename to images/error.png diff --git a/vinaget/vng263/images/jquery-1.7.1.min.js b/images/jquery-1.7.1.min.js similarity index 100% rename from vinaget/vng263/images/jquery-1.7.1.min.js rename to images/jquery-1.7.1.min.js diff --git a/vinaget/vng263/images/loading.gif b/images/loading.gif similarity index 100% rename from vinaget/vng263/images/loading.gif rename to images/loading.gif diff --git a/vinaget/vng270/images/loading_black.gif b/images/loading_black.gif similarity index 100% rename from vinaget/vng270/images/loading_black.gif rename to images/loading_black.gif diff --git a/vinaget/vng270/images/loading_white.gif b/images/loading_white.gif similarity index 100% rename from vinaget/vng270/images/loading_white.gif rename to images/loading_white.gif diff --git a/vinaget/vng270/images/sprintf.js b/images/sprintf.js similarity index 97% rename from vinaget/vng270/images/sprintf.js rename to images/sprintf.js index 2e01244..128546b 100644 --- a/vinaget/vng270/images/sprintf.js +++ b/images/sprintf.js @@ -1,186 +1,186 @@ -function sprintf () { - // http://kevin.vanzonneveld.net - // + original by: Ash Searle (http://hexmen.com/blog/) - // + namespaced by: Michael White (http://getsprink.com) - // + tweaked by: Jack - // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) - // + input by: Paulo Freitas - // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) - // + input by: Brett Zamir (http://brett-zamir.me) - // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) - // + improved by: Dj - // + improved by: Allidylls - // * example 1: sprintf("%01.2f", 123.1); - // * returns 1: 123.10 - // * example 2: sprintf("[%10s]", 'monkey'); - // * returns 2: '[ monkey]' - // * example 3: sprintf("[%'#10s]", 'monkey'); - // * returns 3: '[####monkey]' - // * example 4: sprintf("%d", 123456789012345); - // * returns 4: '123456789012345' - var regex = /%%|%(\d+\$)?([-+\'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuideEfFgG])/g; - var a = arguments, - i = 0, - format = a[i++]; - - // pad() - var pad = function (str, len, chr, leftJustify) { - if (!chr) { - chr = ' '; - } - var padding = (str.length >= len) ? '' : Array(1 + len - str.length >>> 0).join(chr); - return leftJustify ? str + padding : padding + str; - }; - - // justify() - var justify = function (value, prefix, leftJustify, minWidth, zeroPad, customPadChar) { - var diff = minWidth - value.length; - if (diff > 0) { - if (leftJustify || !zeroPad) { - value = pad(value, minWidth, customPadChar, leftJustify); - } else { - value = value.slice(0, prefix.length) + pad('', diff, '0', true) + value.slice(prefix.length); - } - } - return value; - }; - - // formatBaseX() - var formatBaseX = function (value, base, prefix, leftJustify, minWidth, precision, zeroPad) { - // Note: casts negative numbers to positive ones - var number = value >>> 0; - prefix = prefix && number && { - '2': '0b', - '8': '0', - '16': '0x' - }[base] || ''; - value = prefix + pad(number.toString(base), precision || 0, '0', false); - return justify(value, prefix, leftJustify, minWidth, zeroPad); - }; - - // formatString() - var formatString = function (value, leftJustify, minWidth, precision, zeroPad, customPadChar) { - if (precision != null) { - value = value.slice(0, precision); - } - return justify(value, '', leftJustify, minWidth, zeroPad, customPadChar); - }; - - // doFormat() - var doFormat = function (substring, valueIndex, flags, minWidth, _, precision, type) { - var number; - var prefix; - var method; - var textTransform; - var value; - - if (substring === '%%') { - return '%'; - } - - // parse flags - var leftJustify = false, - positivePrefix = '', - zeroPad = false, - prefixBaseX = false, - customPadChar = ' '; - var flagsl = flags.length; - for (var j = 0; flags && j < flagsl; j++) { - switch (flags.charAt(j)) { - case ' ': - positivePrefix = ' '; - break; - case '+': - positivePrefix = '+'; - break; - case '-': - leftJustify = true; - break; - case "'": - customPadChar = flags.charAt(j + 1); - break; - case '0': - zeroPad = true; - break; - case '#': - prefixBaseX = true; - break; - } - } - - // parameters may be null, undefined, empty-string or real valued - // we want to ignore null, undefined and empty-string values - if (!minWidth) { - minWidth = 0; - } else if (minWidth === '*') { - minWidth = +a[i++]; - } else if (minWidth.charAt(0) == '*') { - minWidth = +a[minWidth.slice(1, -1)]; - } else { - minWidth = +minWidth; - } - - // Note: undocumented perl feature: - if (minWidth < 0) { - minWidth = -minWidth; - leftJustify = true; - } - - if (!isFinite(minWidth)) { - throw new Error('sprintf: (minimum-)width must be finite'); - } - - if (!precision) { - precision = 'fFeE'.indexOf(type) > -1 ? 6 : (type === 'd') ? 0 : undefined; - } else if (precision === '*') { - precision = +a[i++]; - } else if (precision.charAt(0) == '*') { - precision = +a[precision.slice(1, -1)]; - } else { - precision = +precision; - } - - // grab value using valueIndex if required? - value = valueIndex ? a[valueIndex.slice(0, -1)] : a[i++]; - - switch (type) { - case 's': - return formatString(String(value), leftJustify, minWidth, precision, zeroPad, customPadChar); - case 'c': - return formatString(String.fromCharCode(+value), leftJustify, minWidth, precision, zeroPad); - case 'b': - return formatBaseX(value, 2, prefixBaseX, leftJustify, minWidth, precision, zeroPad); - case 'o': - return formatBaseX(value, 8, prefixBaseX, leftJustify, minWidth, precision, zeroPad); - case 'x': - return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad); - case 'X': - return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad).toUpperCase(); - case 'u': - return formatBaseX(value, 10, prefixBaseX, leftJustify, minWidth, precision, zeroPad); - case 'i': - case 'd': - number = +value || 0; - number = Math.round(number - number % 1); // Plain Math.round doesn't just truncate - prefix = number < 0 ? '-' : positivePrefix; - value = prefix + pad(String(Math.abs(number)), precision, '0', false); - return justify(value, prefix, leftJustify, minWidth, zeroPad); - case 'e': - case 'E': - case 'f': // Should handle locales (as per setlocale) - case 'F': - case 'g': - case 'G': - number = +value; - prefix = number < 0 ? '-' : positivePrefix; - method = ['toExponential', 'toFixed', 'toPrecision']['efg'.indexOf(type.toLowerCase())]; - textTransform = ['toString', 'toUpperCase']['eEfFgG'.indexOf(type) % 2]; - value = prefix + Math.abs(number)[method](precision); - return justify(value, prefix, leftJustify, minWidth, zeroPad)[textTransform](); - default: - return substring; - } - }; - - return format.replace(regex, doFormat); +function sprintf () { + // http://kevin.vanzonneveld.net + // + original by: Ash Searle (http://hexmen.com/blog/) + // + namespaced by: Michael White (http://getsprink.com) + // + tweaked by: Jack + // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) + // + input by: Paulo Freitas + // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) + // + input by: Brett Zamir (http://brett-zamir.me) + // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) + // + improved by: Dj + // + improved by: Allidylls + // * example 1: sprintf("%01.2f", 123.1); + // * returns 1: 123.10 + // * example 2: sprintf("[%10s]", 'monkey'); + // * returns 2: '[ monkey]' + // * example 3: sprintf("[%'#10s]", 'monkey'); + // * returns 3: '[####monkey]' + // * example 4: sprintf("%d", 123456789012345); + // * returns 4: '123456789012345' + var regex = /%%|%(\d+\$)?([-+\'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuideEfFgG])/g; + var a = arguments, + i = 0, + format = a[i++]; + + // pad() + var pad = function (str, len, chr, leftJustify) { + if (!chr) { + chr = ' '; + } + var padding = (str.length >= len) ? '' : Array(1 + len - str.length >>> 0).join(chr); + return leftJustify ? str + padding : padding + str; + }; + + // justify() + var justify = function (value, prefix, leftJustify, minWidth, zeroPad, customPadChar) { + var diff = minWidth - value.length; + if (diff > 0) { + if (leftJustify || !zeroPad) { + value = pad(value, minWidth, customPadChar, leftJustify); + } else { + value = value.slice(0, prefix.length) + pad('', diff, '0', true) + value.slice(prefix.length); + } + } + return value; + }; + + // formatBaseX() + var formatBaseX = function (value, base, prefix, leftJustify, minWidth, precision, zeroPad) { + // Note: casts negative numbers to positive ones + var number = value >>> 0; + prefix = prefix && number && { + '2': '0b', + '8': '0', + '16': '0x' + }[base] || ''; + value = prefix + pad(number.toString(base), precision || 0, '0', false); + return justify(value, prefix, leftJustify, minWidth, zeroPad); + }; + + // formatString() + var formatString = function (value, leftJustify, minWidth, precision, zeroPad, customPadChar) { + if (precision != null) { + value = value.slice(0, precision); + } + return justify(value, '', leftJustify, minWidth, zeroPad, customPadChar); + }; + + // doFormat() + var doFormat = function (substring, valueIndex, flags, minWidth, _, precision, type) { + var number; + var prefix; + var method; + var textTransform; + var value; + + if (substring === '%%') { + return '%'; + } + + // parse flags + var leftJustify = false, + positivePrefix = '', + zeroPad = false, + prefixBaseX = false, + customPadChar = ' '; + var flagsl = flags.length; + for (var j = 0; flags && j < flagsl; j++) { + switch (flags.charAt(j)) { + case ' ': + positivePrefix = ' '; + break; + case '+': + positivePrefix = '+'; + break; + case '-': + leftJustify = true; + break; + case "'": + customPadChar = flags.charAt(j + 1); + break; + case '0': + zeroPad = true; + break; + case '#': + prefixBaseX = true; + break; + } + } + + // parameters may be null, undefined, empty-string or real valued + // we want to ignore null, undefined and empty-string values + if (!minWidth) { + minWidth = 0; + } else if (minWidth === '*') { + minWidth = +a[i++]; + } else if (minWidth.charAt(0) == '*') { + minWidth = +a[minWidth.slice(1, -1)]; + } else { + minWidth = +minWidth; + } + + // Note: undocumented perl feature: + if (minWidth < 0) { + minWidth = -minWidth; + leftJustify = true; + } + + if (!isFinite(minWidth)) { + throw new Error('sprintf: (minimum-)width must be finite'); + } + + if (!precision) { + precision = 'fFeE'.indexOf(type) > -1 ? 6 : (type === 'd') ? 0 : undefined; + } else if (precision === '*') { + precision = +a[i++]; + } else if (precision.charAt(0) == '*') { + precision = +a[precision.slice(1, -1)]; + } else { + precision = +precision; + } + + // grab value using valueIndex if required? + value = valueIndex ? a[valueIndex.slice(0, -1)] : a[i++]; + + switch (type) { + case 's': + return formatString(String(value), leftJustify, minWidth, precision, zeroPad, customPadChar); + case 'c': + return formatString(String.fromCharCode(+value), leftJustify, minWidth, precision, zeroPad); + case 'b': + return formatBaseX(value, 2, prefixBaseX, leftJustify, minWidth, precision, zeroPad); + case 'o': + return formatBaseX(value, 8, prefixBaseX, leftJustify, minWidth, precision, zeroPad); + case 'x': + return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad); + case 'X': + return formatBaseX(value, 16, prefixBaseX, leftJustify, minWidth, precision, zeroPad).toUpperCase(); + case 'u': + return formatBaseX(value, 10, prefixBaseX, leftJustify, minWidth, precision, zeroPad); + case 'i': + case 'd': + number = +value || 0; + number = Math.round(number - number % 1); // Plain Math.round doesn't just truncate + prefix = number < 0 ? '-' : positivePrefix; + value = prefix + pad(String(Math.abs(number)), precision, '0', false); + return justify(value, prefix, leftJustify, minWidth, zeroPad); + case 'e': + case 'E': + case 'f': // Should handle locales (as per setlocale) + case 'F': + case 'g': + case 'G': + number = +value; + prefix = number < 0 ? '-' : positivePrefix; + method = ['toExponential', 'toFixed', 'toPrecision']['efg'.indexOf(type.toLowerCase())]; + textTransform = ['toString', 'toUpperCase']['eEfFgG'.indexOf(type) % 2]; + value = prefix + Math.abs(number)[method](precision); + return justify(value, prefix, leftJustify, minWidth, zeroPad)[textTransform](); + default: + return substring; + } + }; + + return format.replace(regex, doFormat); } \ No newline at end of file diff --git a/vinaget/vng263/images/success.png b/images/success.png similarity index 100% rename from vinaget/vng263/images/success.png rename to images/success.png diff --git a/vinaget/vng263/images/vngicon.png b/images/vngicon.png similarity index 100% rename from vinaget/vng263/images/vngicon.png rename to images/vngicon.png diff --git a/vinaget/vng270/index.php b/index.php similarity index 95% rename from vinaget/vng270/index.php rename to index.php index def6493..c882de2 100644 --- a/vinaget/vng270/index.php +++ b/index.php @@ -1,42 +1,42 @@ -<?php -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.7.0 Final -* Description: - - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. - - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile... - - You can now download files with full resume support from filehosts using download managers like IDM etc - - Vinaget is a Free Open Source, supported by a growing community. -* Code LeechViet by VinhNhaTrang -* Developed by - ..:: [H] ::.. - - [FZ] -*/ -$using = isset($_COOKIE['using']) ? $_COOKIE['using'] : 'default'; -$using = isset($_REQUEST['using']) ? $_REQUEST['using'] : $using; -setcookie('using', $using); -ob_start(); -ob_implicit_flush(TRUE); -ignore_user_abort(0); -if (!ini_get('safe_mode')) set_time_limit(30); -define('vinaget', 'yes'); -require_once('class.php'); -$obj = new stream_get(); -$obj->using = $using; -$obj->current_version = 89; -$obj->msg = false; -if (!empty($_COOKIE['msg'])) $obj->msg = htmlspecialchars($_COOKIE['msg']); -setcookie('msg', ''); -$host = $obj->list_host; -$skin = "skin/{$obj->skin}"; -error_reporting($obj->display_error ? E_ALL : 0); -if ($obj->Deny == false){ - require_once("{$skin}/function.php"); - if (isset($_POST['urllist'])) $obj->main(); - elseif (isset($_GET['infosv'])) showStat(); - elseif (!isset($_POST['urllist'])) include("{$skin}/index.php"); -} -else include("{$skin}/login.php"); -ob_end_flush(); +<?php +/* +* Home page: http://vinaget.us +* Blog: http://blog.vinaget.us +* Script Name: Vinaget +* Version: 2.7.0 Final +* Description: + - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. + - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile... + - You can now download files with full resume support from filehosts using download managers like IDM etc + - Vinaget is a Free Open Source, supported by a growing community. +* Code LeechViet by VinhNhaTrang +* Developed by - ..:: [H] ::.. + - [FZ] +*/ +$using = isset($_COOKIE['using']) ? $_COOKIE['using'] : 'default'; +$using = isset($_REQUEST['using']) ? $_REQUEST['using'] : $using; +setcookie('using', $using); +ob_start(); +ob_implicit_flush(TRUE); +ignore_user_abort(0); +if (!ini_get('safe_mode')) set_time_limit(30); +define('vinaget', 'yes'); +require_once('class.php'); +$obj = new stream_get(); +$obj->using = $using; +$obj->current_version = 90; +$obj->msg = false; +if (!empty($_COOKIE['msg'])) $obj->msg = htmlspecialchars($_COOKIE['msg']); +setcookie('msg', ''); +$host = $obj->list_host; +$skin = "skin/{$obj->skin}"; +error_reporting($obj->display_error ? E_ALL : 0); +if ($obj->Deny == false){ + require_once("{$skin}/function.php"); + if (isset($_POST['urllist'])) $obj->main(); + elseif (isset($_GET['infosv'])) showStat(); + elseif (!isset($_POST['urllist'])) include("{$skin}/index.php"); +} +else include("{$skin}/login.php"); +ob_end_flush(); ?> \ No newline at end of file diff --git a/vinaget/vng270/lang/english.php b/lang/english.php similarity index 97% rename from vinaget/vng270/lang/english.php rename to lang/english.php index 9705dfe..8876161 100644 --- a/vinaget/vng270/lang/english.php +++ b/lang/english.php @@ -1,123 +1,123 @@ -<?php -$lang = array ( -'sitetile' => 'Vinaget', -'version' => 'VinaGet v2.7.0 Final', -'homepage' => 'vinaget.us', -'title' => '%s - Premium link generator', -'login' => 'Please enter password to login.', -'password' => 'Password', -'plugins' => 'Plugins', -'premium' => 'Premium Accounts :', -'moreacc' => 'More accounts >>>', -'lessacc' => '<<< Less accounts', -'main' => 'Main Window', -'donate' => 'Donate Acc', -'listfile' => 'Server Files', -'admin' => 'Admin Panel', -'check' => 'Check Acc', -'log' => 'Log Out', -'welcome' => 'Fast and unlimited premium link generator', -'update1' => 'There\'s an update for vng270', -'update2' => 'Get update.R%s.zip', -'maxline' => '(max 10 link for one times)', -'sbdown' => 'Download', -'dlhere' => 'Download here:', -'donations1' => 'We are also in need of donations! If you can we would appreciate your offerings.', -'donations2' => 'Donate your Account !', -'acctype' => 'Account Type:', -'sbdonate' => 'Donate Account', -'invalid' => 'Invalid account. Please re-check your data!', -'success' => 'Thanks for donating your account. Your account has been created successfully our database', -'dsuccess' => 'Donate Success!', -'getloading' => 'checking...', -'notaccess' => 'You do not have permission to access this page !', -'notice' => 'Auto del file after <b>%s</b>. Limit <b>%s</b> file per <b>%s</b> for <b>1</b> IP', -'yourip' => 'Your IP:', -'yourjob' => 'Your jobs:', -'youused' => 'You used', -'sizelimit' => 'File size limit:', -'totjob' => 'Total jobs:', -'serverload' => 'Server load:', -'uonline' => 'Users online:', -'ago' => 'ago', -'days' => 'days', -'hours' => 'hours', -'mins' => 'mins', -'sec' => 'sec', -'errorget' => 'Failed to generate the link. Please try again !', -'errordl' => 'Your link has been generated by another ip address !', -'erroracc' => 'Account/Cookie Error !!!', -'svload' => 'Server load is too high.', -'issex' => '<b><font color=red>is this link sex ??? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>if not please repost %1$s|not3x</b><br/>', -'errorlink' => '==► Invalid link !', -'manyjob' => 'Too many download jobs.', -'countMBIP' => 'You only can download %s per %s ! Please wait %s', -'limitPERIP' => 'You only can download %s file per %s ! Please wait %s', -'limitip' => 'Too many download jobs for this ip.', -'notdl' => 'Can not get file size.', -'cantjob' => 'Can not create new job', -'filebig' => 'File too big! (%s) when allowed only %s', -'notfound' => 'Not Found!', -'del' => 'Delete', -'rname' => 'Rename', -'notfile' => 'No Files Found', -'acdis' => 'Action Disabled', -'ac' => 'Action', -'name' => 'Name', -'size' => 'Size', -'date' => 'Date', -'original' => 'Original Link', -'clickcheck' => 'Click here to check link', -'total' => 'Total', -'used' => 'You used', -'reset' => 'Reset per', -'canl' => 'Cancel', -'deld' => 'Deleted!', -'nname' => 'New Name', -'bname' => 'You can\'t rename file to blank name!', -'rnameto' => 'renamed to', -'unavailable' => 'Service Unavailable', -'disabletrial' => 'your link is temporary disable for trial account.', -'adult' => 'Adult Video Detected', -'ytb_captcha' => 'Captcha Found. Please run on different server', -'ytb_Error' => 'Error Locating Download URL', -'reportpass' => 'The file you are trying to download is password protected. Please enter the password below.', -'accpremium' => 'Premium Account', -'direct' => 'Direct Link', -'checkall' => 'Check All', -'uncheckall' => 'Un-Check All', -'invert' => 'Invert Selection', -'error1' => '<b><font color=red> %1$s </font></b>', -'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', -'pluginerror' => '%1$s plugin was error. Contact admin!', -'noaccount' => 'There\'s no %1$s account in database. Contact admin!', -'cantconnect' => 'Our server can\'t connect to %1$s', -'accfree' => 'Our %1$s account is FREE', -'accinvalid' => 'Our %1$s account invalid', -'cookieinvalid' => 'Our %1$s cookie invalid', -'blockCountry' => 'Our Country has been banned by %1$s', -'blockIP' => 'Our IP has been banned by %1$s', -'blockAcc' => 'Our %1$s account has been blocked', -'LimitAcc' => 'Our %1$s account has reach bandwidth limit', -'dead' => 'Link Dead !!!', -'again' => 'please try again', -'notwork' => 'Not Work', -'work' => 'Work', -'removed' => '[REMOVED]', -'unknown' => 'unknown', -'linkpass' => 'Link have password!', -'wrongpass' => 'Wrong password!', -'notsupport' => 'Sorry. We do not support your link !', -'notsupportacc' => 'Not support account, use cookie instead', -'notsupportpass'=> 'Not support password currently for %1$s', -'checkacc' => 'Check %1$s account', -'noplugin' => 'You don\'t have %s account checker.<br/>Ask someone to make it' -); -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 Final -* English Language -* Language Class By [FZ][r62] -*/ +<?php +$lang = array ( +'sitetile' => 'Vinaget', +'version' => 'VinaGet v2.7.0 Final', +'homepage' => 'vinaget.us', +'title' => '%s - Premium link generator', +'login' => 'Please enter password to login.', +'password' => 'Password', +'plugins' => 'Plugins', +'premium' => 'Premium Accounts :', +'moreacc' => 'More accounts >>>', +'lessacc' => '<<< Less accounts', +'main' => 'Main Window', +'donate' => 'Donate Acc', +'listfile' => 'Server Files', +'admin' => 'Admin Panel', +'check' => 'Check Acc', +'log' => 'Log Out', +'welcome' => 'Fast and unlimited premium link generator', +'update1' => 'There\'s an update for vng270', +'update2' => 'Get update.R%s.zip', +'maxline' => '(max 10 link for one times)', +'sbdown' => 'Download', +'dlhere' => 'Download here:', +'donations1' => 'We are also in need of donations! If you can we would appreciate your offerings.', +'donations2' => 'Donate your Account !', +'acctype' => 'Account Type:', +'sbdonate' => 'Donate Account', +'invalid' => 'Invalid account. Please re-check your data!', +'success' => 'Thanks for donating your account. Your account has been created successfully our database', +'dsuccess' => 'Donate Success!', +'getloading' => 'checking...', +'notaccess' => 'You do not have permission to access this page !', +'notice' => 'Auto del file after <b>%s</b>. Limit <b>%s</b> file per <b>%s</b> for <b>1</b> IP', +'yourip' => 'Your IP:', +'yourjob' => 'Your jobs:', +'youused' => 'You used', +'sizelimit' => 'File size limit:', +'totjob' => 'Total jobs:', +'serverload' => 'Server load:', +'uonline' => 'Users online:', +'ago' => 'ago', +'days' => 'days', +'hours' => 'hours', +'mins' => 'mins', +'sec' => 'sec', +'errorget' => 'Failed to generate the link. Please try again !', +'errordl' => 'Your link has been generated by another ip address !', +'erroracc' => 'Account/Cookie Error !!!', +'svload' => 'Server load is too high.', +'issex' => '<b><font color=red>is this link sex ??? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>if not please repost %1$s|not3x</b><br/>', +'errorlink' => '==► Invalid link !', +'manyjob' => 'Too many download jobs.', +'countMBIP' => 'You only can download %s per %s ! Please wait %s', +'limitPERIP' => 'You only can download %s file per %s ! Please wait %s', +'limitip' => 'Too many download jobs for this ip.', +'notdl' => 'Can not get file size.', +'cantjob' => 'Can not create new job', +'filebig' => 'File too big! (%s) when allowed only %s', +'notfound' => 'Not Found!', +'del' => 'Delete', +'rname' => 'Rename', +'notfile' => 'No Files Found', +'acdis' => 'Action Disabled', +'ac' => 'Action', +'name' => 'Name', +'size' => 'Size', +'date' => 'Date', +'original' => 'Original Link', +'clickcheck' => 'Click here to check link', +'total' => 'Total', +'used' => 'You used', +'reset' => 'Reset per', +'canl' => 'Cancel', +'deld' => 'Deleted!', +'nname' => 'New Name', +'bname' => 'You can\'t rename file to blank name!', +'rnameto' => 'renamed to', +'unavailable' => 'Service Unavailable', +'disabletrial' => 'your link is temporary disable for trial account.', +'adult' => 'Adult Video Detected', +'ytb_captcha' => 'Captcha Found. Please run on different server', +'ytb_Error' => 'Error Locating Download URL', +'reportpass' => 'The file you are trying to download is password protected. Please enter the password below.', +'accpremium' => 'Premium Account', +'direct' => 'Direct Link', +'checkall' => 'Check All', +'uncheckall' => 'Un-Check All', +'invert' => 'Invert Selection', +'error1' => '<b><font color=red> %1$s </font></b>', +'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', +'pluginerror' => '%1$s plugin was error. Contact admin!', +'noaccount' => 'There\'s no %1$s account in database. Contact admin!', +'cantconnect' => 'Our server can\'t connect to %1$s', +'accfree' => 'Our %1$s account is FREE', +'accinvalid' => 'Our %1$s account invalid', +'cookieinvalid' => 'Our %1$s cookie invalid', +'blockCountry' => 'Our Country has been banned by %1$s', +'blockIP' => 'Our IP has been banned by %1$s', +'blockAcc' => 'Our %1$s account has been blocked', +'LimitAcc' => 'Our %1$s account has reach bandwidth limit', +'dead' => 'Link Dead !!!', +'again' => 'please try again', +'notwork' => 'Not Work', +'work' => 'Work', +'removed' => '[REMOVED]', +'unknown' => 'unknown', +'linkpass' => 'Link have password!', +'wrongpass' => 'Wrong password!', +'notsupport' => 'Sorry. We do not support your link !', +'notsupportacc' => 'Not support account, use cookie instead', +'notsupportpass'=> 'Not support password currently for %1$s', +'checkacc' => 'Check %1$s account', +'noplugin' => 'You don\'t have %s account checker.<br/>Ask someone to make it' +); +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 Final +* English Language +* Language Class By [FZ][r62] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/lang/german.php b/lang/german.php similarity index 97% rename from vinaget/vng270/lang/german.php rename to lang/german.php index 59fd007..88ed6fd 100644 --- a/vinaget/vng270/lang/german.php +++ b/lang/german.php @@ -1,119 +1,119 @@ -<?php -$lang = array ( -'version' => 'VinaGet v2.7.0 Final', -'homepage' => 'vinaget.us', -'title' => '%s - Premium-Link-Generatoren', -'login' => 'Bitte geben Sie das Kennwort zur Anmeldung auf.er.', -'password' => 'Passwort', -'plugins' => 'Plugins', -'premium' => 'Premium Accounts :', -'moreacc' => 'Weitere Konten >>>', -'lessacc' => '<<< Weniger Konten', -'main' => 'Hauptfenster', -'donate' => 'Spenden Konto', -'listfile' => 'Datei-Server', -'admin' => 'Board of Directors', -'check' => 'Scheckkonto', -'log' => 'Sitzung beenden', -'welcome' => 'Builder schnell und unbegrenzte Premium Link', -'update1' => 'Ein Update auf vng270', -'update2' => 'Get update.R%s.zip', -'maxline' => '(bis zu 10 Kettenglieder)', -'sbdown' => 'Herunterladen', -'dlhere' => 'Laden Sie sich hier:', -'donations1' => 'Wir sind auch dringend auf Spenden angewiesen! Wenn möglich würden wir freuen uns über Ihr Angebot.', -'donations2' => 'Spenden Sie Ihr Konto!', -'acctype' => 'Art des Kontos:', -'sbdonate' => 'Spenden Konto', -'invalid' => 'Ungültige Konto. Bitte überprüfen Sie Ihre Daten!', -'success' => 'Danke für die Spende von Ihrem Konto. Ihr Konto wurde erfolgreich in unserer Datenbank erstellt', -'dsuccess' => 'Gespendet erfolgreich!', -'getloading' => 'Überprüfung...', -'notaccess' => 'Sie haben keine Berechtigung, diese Seite zu betreten!', -'notice' => 'Datei löschen automatisch nach <b>%s</b>. Begrenzte <b>%s</b> Datei <b>%s</b> zu <b>1</b> IP', -'yourip' => 'Ihre IP: %s.', -'yourjob' => 'Seine Werke: %s (máx: %s).', -'youused' => 'benutzt %s (max: %s).', -'sizelimit' => 'Dateigröße Grenze: %s.', -'totjob' => 'Insgesamt Arbeitsplätze: %s (max: %s).', -'serverload' => 'Server Last: %s (maximal zulässige: %s).', -'uonline' => 'Benutzer online: %s', -'ago' => 'vor', -'days' => 'Tage', -'hours' => 'Stunden', -'mins' => 'Minuten', -'sec' => 'zweiten', -'errorget' => 'Konnte den Link zu generieren. Bitte versuchen Sie es erneut!', -'errordl' => 'Ihr Link wurde von einer anderen IP-Adresse generiert wurde!', -'erroracc' => 'Konto/Fehler Cookies!', -'svload' => 'Server Belastung zu hoch ist.', -'issex' => '<b><font color=red>Dies ist ein Link zu den Erwachsenen? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>wenn nicht bitte tanken %1$s|not3x</b><br/>', -'errorlink' => '==► Verknüpfen ungültig!', -'manyjob' => 'Viele gleichzeitige Downloads..', -'countMBIP' => 'Sie können nur als Download %s von %s ! Bitte warten %s', -'limitPERIP' => 'Sie können nur als Download %s Datei %s ! eBitte warten %s', -'limitip' => 'Zu viele Jobs für den Download der IP.', -'notdl' => 'Nein Kann die Größe der Datei zu erhalten.', -'cantjob' => 'Nein Kann neuen Job erstellen', -'filebig' => 'Die Datei ist zu groß! (%s) wenn nur zulässig, %s', -'notfound' => 'Nicht gefunden!', -'del' => 'löschen', -'rname' => 'umbenennen', -'notfile' => 'Nicht gefunden', -'acdis' => 'Aktion Aus', -'ac' => 'Handlung', -'name' => 'Name', -'size' => 'Größe', -'date' => 'Datum', -'original' => 'Original-Link', -'clickcheck' => 'Klicken Sie hier, um Link betrachten', -'total' => 'Insgesamt', -'used' => 'Bereits Gebrauchtwagen', -'reset' => 'zurücksetzen pro', -'canl' => 'Stornieren', -'deld' => 'Gelöscht!', -'nname' => 'Neuer Name', -'bname' => 'Sie können nicht den Dateinamen ändern blank Namen!', -'rnameto' => 'umbenannt', -'unavailable' => 'Dienst nicht verfügbar', -'disabletrial' => 'der Link ist unten vorübergehend für Test-Account.', -'adult' => 'Adult Video Erkannt', -'ytb_captcha' => 'Sicherheitscode gefunden. Bitte führen Sie auf einem anderen Server', -'ytb_Error' => 'Fehler Abgabestelle url', -'reportpass' => 'Die Datei, die Sie herunterladen möchten ist durch ein Passwort geschützt ist, geben Sie das Kennwort ein, um fortzufahren.', -'accpremium' => 'Premium Account', -'direct' => 'Direktlink', -'checkall' => 'Überprüfen Sie alle', -'uncheckall' => 'Auswahl aufheben', -'invert' => 'Auswahl umkehren', -'error1' => '<b><font color=red> %1$s </font></b>', -'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', -'pluginerror' => 'Das Plugin %1$s ein Fehler ist, wenden Sie sich bitte an den Administrator.', -'noaccount' => 'Keine %1$s Acuenta in der Datenbank. Kontakt-Management!', -'cantconnect' => 'Sie können keine Verbindung zum Server %1$s', -'accfree' => 'Sie %1$s Konto ist kostenlos', -'accinvalid' => 'Ihre %1$s Ungültige Konto', -'blockCountry' => 'Ihr Land wurde von verboten %1$s', -'blockIP' => 'Ihre IP wurde von verboten %1$s', -'blockAcc' => 'Ihr %1$s Konto wurde gesperrt', -'LimitAcc' => 'Ihr %1$s Konto wurde die Bandbreite erreicht', -'dead' => 'Verknüpfen Sie tot!', -'again' => 'Bitte versuchen Sie es erneut', -'notwork' => 'funktioniert nicht', -'work' => 'arbeiten', -'removed' => '[REMOVED]', -'unknown' => 'unbekannt', -'notsupport' => 'Entschuldigung. Wir unterstützen nicht den Link!', -'notsupportacc' => 'Nicht Unterstützen Konto, verwenden Cookies statt', -'notsupportpass'=> 'Nicht unterstützt das aktuelle Passwort %1$s', -'checkacc' => 'überprüfen %1$s rechnung', -'noplugin' => 'Sie haben noch %s Prüferkonto.<br/>Pece jemand tut.' -); -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 Final -* Deutsch Language -* Language Class By Rayonni -*/ +<?php +$lang = array ( +'version' => 'VinaGet v2.7.0 Final', +'homepage' => 'vinaget.us', +'title' => '%s - Premium-Link-Generatoren', +'login' => 'Bitte geben Sie das Kennwort zur Anmeldung auf.er.', +'password' => 'Passwort', +'plugins' => 'Plugins', +'premium' => 'Premium Accounts :', +'moreacc' => 'Weitere Konten >>>', +'lessacc' => '<<< Weniger Konten', +'main' => 'Hauptfenster', +'donate' => 'Spenden Konto', +'listfile' => 'Datei-Server', +'admin' => 'Board of Directors', +'check' => 'Scheckkonto', +'log' => 'Sitzung beenden', +'welcome' => 'Builder schnell und unbegrenzte Premium Link', +'update1' => 'Ein Update auf vng270', +'update2' => 'Get update.R%s.zip', +'maxline' => '(bis zu 10 Kettenglieder)', +'sbdown' => 'Herunterladen', +'dlhere' => 'Laden Sie sich hier:', +'donations1' => 'Wir sind auch dringend auf Spenden angewiesen! Wenn möglich würden wir freuen uns über Ihr Angebot.', +'donations2' => 'Spenden Sie Ihr Konto!', +'acctype' => 'Art des Kontos:', +'sbdonate' => 'Spenden Konto', +'invalid' => 'Ungültige Konto. Bitte überprüfen Sie Ihre Daten!', +'success' => 'Danke für die Spende von Ihrem Konto. Ihr Konto wurde erfolgreich in unserer Datenbank erstellt', +'dsuccess' => 'Gespendet erfolgreich!', +'getloading' => 'Überprüfung...', +'notaccess' => 'Sie haben keine Berechtigung, diese Seite zu betreten!', +'notice' => 'Datei löschen automatisch nach <b>%s</b>. Begrenzte <b>%s</b> Datei <b>%s</b> zu <b>1</b> IP', +'yourip' => 'Ihre IP: %s.', +'yourjob' => 'Seine Werke: %s (máx: %s).', +'youused' => 'benutzt %s (max: %s).', +'sizelimit' => 'Dateigröße Grenze: %s.', +'totjob' => 'Insgesamt Arbeitsplätze: %s (max: %s).', +'serverload' => 'Server Last: %s (maximal zulässige: %s).', +'uonline' => 'Benutzer online: %s', +'ago' => 'vor', +'days' => 'Tage', +'hours' => 'Stunden', +'mins' => 'Minuten', +'sec' => 'zweiten', +'errorget' => 'Konnte den Link zu generieren. Bitte versuchen Sie es erneut!', +'errordl' => 'Ihr Link wurde von einer anderen IP-Adresse generiert wurde!', +'erroracc' => 'Konto/Fehler Cookies!', +'svload' => 'Server Belastung zu hoch ist.', +'issex' => '<b><font color=red>Dies ist ein Link zu den Erwachsenen? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>wenn nicht bitte tanken %1$s|not3x</b><br/>', +'errorlink' => '==► Verknüpfen ungültig!', +'manyjob' => 'Viele gleichzeitige Downloads..', +'countMBIP' => 'Sie können nur als Download %s von %s ! Bitte warten %s', +'limitPERIP' => 'Sie können nur als Download %s Datei %s ! eBitte warten %s', +'limitip' => 'Zu viele Jobs für den Download der IP.', +'notdl' => 'Nein Kann die Größe der Datei zu erhalten.', +'cantjob' => 'Nein Kann neuen Job erstellen', +'filebig' => 'Die Datei ist zu groß! (%s) wenn nur zulässig, %s', +'notfound' => 'Nicht gefunden!', +'del' => 'löschen', +'rname' => 'umbenennen', +'notfile' => 'Nicht gefunden', +'acdis' => 'Aktion Aus', +'ac' => 'Handlung', +'name' => 'Name', +'size' => 'Größe', +'date' => 'Datum', +'original' => 'Original-Link', +'clickcheck' => 'Klicken Sie hier, um Link betrachten', +'total' => 'Insgesamt', +'used' => 'Bereits Gebrauchtwagen', +'reset' => 'zurücksetzen pro', +'canl' => 'Stornieren', +'deld' => 'Gelöscht!', +'nname' => 'Neuer Name', +'bname' => 'Sie können nicht den Dateinamen ändern blank Namen!', +'rnameto' => 'umbenannt', +'unavailable' => 'Dienst nicht verfügbar', +'disabletrial' => 'der Link ist unten vorübergehend für Test-Account.', +'adult' => 'Adult Video Erkannt', +'ytb_captcha' => 'Sicherheitscode gefunden. Bitte führen Sie auf einem anderen Server', +'ytb_Error' => 'Fehler Abgabestelle url', +'reportpass' => 'Die Datei, die Sie herunterladen möchten ist durch ein Passwort geschützt ist, geben Sie das Kennwort ein, um fortzufahren.', +'accpremium' => 'Premium Account', +'direct' => 'Direktlink', +'checkall' => 'Überprüfen Sie alle', +'uncheckall' => 'Auswahl aufheben', +'invert' => 'Auswahl umkehren', +'error1' => '<b><font color=red> %1$s </font></b>', +'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', +'pluginerror' => 'Das Plugin %1$s ein Fehler ist, wenden Sie sich bitte an den Administrator.', +'noaccount' => 'Keine %1$s Acuenta in der Datenbank. Kontakt-Management!', +'cantconnect' => 'Sie können keine Verbindung zum Server %1$s', +'accfree' => 'Sie %1$s Konto ist kostenlos', +'accinvalid' => 'Ihre %1$s Ungültige Konto', +'blockCountry' => 'Ihr Land wurde von verboten %1$s', +'blockIP' => 'Ihre IP wurde von verboten %1$s', +'blockAcc' => 'Ihr %1$s Konto wurde gesperrt', +'LimitAcc' => 'Ihr %1$s Konto wurde die Bandbreite erreicht', +'dead' => 'Verknüpfen Sie tot!', +'again' => 'Bitte versuchen Sie es erneut', +'notwork' => 'funktioniert nicht', +'work' => 'arbeiten', +'removed' => '[REMOVED]', +'unknown' => 'unbekannt', +'notsupport' => 'Entschuldigung. Wir unterstützen nicht den Link!', +'notsupportacc' => 'Nicht Unterstützen Konto, verwenden Cookies statt', +'notsupportpass'=> 'Nicht unterstützt das aktuelle Passwort %1$s', +'checkacc' => 'überprüfen %1$s rechnung', +'noplugin' => 'Sie haben noch %s Prüferkonto.<br/>Pece jemand tut.' +); +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 Final +* Deutsch Language +* Language Class By Rayonni +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/lang/italian.php b/lang/italian.php similarity index 97% rename from vinaget/vng270/lang/italian.php rename to lang/italian.php index 671d47a..a1a5c27 100644 --- a/vinaget/vng270/lang/italian.php +++ b/lang/italian.php @@ -1,122 +1,122 @@ -<?php -$lang = array ( -'sitetile' => 'Vinaget', -'version' => 'VinaGet v2.7.0 Final', -'homepage' => 'vinaget.us', -'title' => '%s - Premium link generator', -'login' => 'Per favore iniserisci la password per il login.', -'password' => 'Password', -'plugins' => 'Plugins', -'premium' => 'Premium Accounts :', -'moreacc' => 'Sltri accounts >>>', -'lessacc' => '<<< Less accounts', -'main' => 'Home', -'donate' => 'Donare Account', -'listfile' => 'Server Files', -'admin' => 'Panello Admin', -'check' => 'Controlla Account', -'log' => 'Log Out', -'welcome' => 'Veloce è illimitato generatore di link premium', -'update1' => 'C è un aggiornamento per vng270', -'update2' => 'Ottieni update.R%s.zip', -'maxline' => '(max 10 link per una volta)', -'sbdown' => 'Scarica', -'dlhere' => 'Scarica qui:', -'donations1' => 'Abbiamo bisogno di donazioni, accettiamo vostre offerte', -'donations2' => 'Dona il tuo Account !', -'acctype' => 'Tipo di account:', -'sbdonate' => 'Donare Account', -'invalid' => 'Account invalido. Per favore ricontrolla il tuo data!', -'success' => 'Grazie per aver donato il tuo account. Il tuo account è stato salvato nel nostro database!', -'dsuccess' => 'Donazione Effetuata!', -'getloading' => 'Controllo....', -'notaccess' => 'Tu non hai il permesso per accedere a questa pagina !', -'notice' => 'Cancellazione automatica <b>%s</b>. Limite <b>%s</b> file <b>%s</b> per <b>1</b> IP', -'yourip' => 'Tuo IP:', -'yourjob' => 'Your jobs:', -'youused' => 'Your used', -'sizelimit' => 'Limite spazio file:', -'totjob' => 'Total jobs:', -'serverload' => 'Caricamento Server:', -'uonline' => 'Utenti online:', -'ago' => 'Anno', -'days' => 'Giorni', -'hours' => 'Ore', -'mins' => 'Minuti', -'sec' => 'Secondi', -'errorget' => 'Fallimento nel generare i link, per favore riprova !', -'errordl' => 'I tuoi link sono stati generati con un altro inidirizzo IP!', -'erroracc' => 'Account/Cookie Errore !!!', -'svload' => 'Il caricamento del Server è alto.', -'issex' => '<b><font color=red>è un link sex ??? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>è non rimetterlo %1$s|not3x</b><br/>', -'errorlink' => '==► Link Invalido !', -'manyjob' => 'Troppi processi di lavoro.', -'countMBIP' => 'Tu puoi scaricare solo %s per %s ! Aspetta per favore %s', -'limitPERIP' => 'Tu puoi scaricare solo %s file per %s ! Aspetta per favore %s', -'limitip' => 'Troppi processi di download per ip.', -'notdl' => 'Impossibile ottenere la dimensione del file.', -'cantjob' => 'Non posso creare jobs', -'filebig' => 'File tropo grande (%s) è consentito solo %s', -'notfound' => 'Non c è!', -'del' => 'Cancella', -'rname' => 'Rinomina', -'notfile' => 'Non ci sono file', -'acdis' => 'Azione disabilitata', -'ac' => 'Azione', -'name' => 'Nome', -'size' => 'Dimensione', -'date' => 'Data', -'original' => 'Link originale', -'clickcheck' => 'Clicca qui per controllare i link', -'total' => 'Totale', -'used' => 'tuo usato', -'reset' => 'Reset per', -'canl' => 'Cancella', -'deld' => 'Cancellato!', -'nname' => 'Nuovo nome', -'bname' => 'Non è possibile rinominare file per un nome vuoto!', -'rnameto' => 'rinomina a', -'unavailable' => 'Servizio non disponibile', -'disabletrial' => 'Il tuo link è temporaneamente disabilitata per trial account.', -'adult' => 'Video per adulti trovati', -'ytb_captcha' => 'Captcha Found. Per favore prova un server differente', -'ytb_Error' => 'Errore Locating Download URL', -'reportpass' => 'Il file che si sta tentando di scaricare è protetto da password. Si prega di inserire la password qui sotto.', -'accpremium' => 'Premium Account', -'direct' => 'Link diretto', -'checkall' => 'Controlla tutti', -'uncheckall' => 'Un-Check All', -'invert' => 'Iverti selezione', -'error1' => '<b><font color=red> %1$s </font></b>', -'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', -'pluginerror' => '%1$s plugin è in errore. Contatta l admin!', -'noaccount' => 'There\'s no %1$s account in database. Contact admin!', -'cantconnect' => 'Our server can\'t connect to %1$s', -'accfree' => 'Our %1$s account gratis', -'accinvalid' => 'Our %1$s account invalido', -'blockCountry' => 'Our Country has been banned by %1$s', -'blockIP' => 'Il nostro IP è stato bloccato da %1$s', -'blockAcc' => 'Il nostro %1$s account è stato bloccato', -'LimitAcc' => 'Il nostro %1$s account ha superato il limite della bandwidth', -'dead' => 'Link Morto!!!', -'again' => 'Per favore riprova', -'notwork' => 'Non lavoro', -'work' => 'lavoro', -'removed' => '[REMOVED]', -'unknown' => 'sconosciuto', -'linkpass' => 'Link ha una password!', -'wrongpass' => 'Password sbagliata!', -'notsupport' => 'Scusa. Non supportiamo il tuo link !', -'notsupportacc' => 'Not support account, use cookie instead', -'notsupportpass'=> 'Not support password currently for %1$s', -'checkacc' => 'Controlla %1$s account', -'noplugin' => 'You don\'t have %s account checker.<br/>Ask someone to make it' -); -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 Final -* Italian Language by premiumalter - -*/ +<?php +$lang = array ( +'sitetile' => 'Vinaget', +'version' => 'VinaGet v2.7.0 Final', +'homepage' => 'vinaget.us', +'title' => '%s - Premium link generator', +'login' => 'Per favore iniserisci la password per il login.', +'password' => 'Password', +'plugins' => 'Plugins', +'premium' => 'Premium Accounts :', +'moreacc' => 'Sltri accounts >>>', +'lessacc' => '<<< Less accounts', +'main' => 'Home', +'donate' => 'Donare Account', +'listfile' => 'Server Files', +'admin' => 'Panello Admin', +'check' => 'Controlla Account', +'log' => 'Log Out', +'welcome' => 'Veloce è illimitato generatore di link premium', +'update1' => 'C è un aggiornamento per vng270', +'update2' => 'Ottieni update.R%s.zip', +'maxline' => '(max 10 link per una volta)', +'sbdown' => 'Scarica', +'dlhere' => 'Scarica qui:', +'donations1' => 'Abbiamo bisogno di donazioni, accettiamo vostre offerte', +'donations2' => 'Dona il tuo Account !', +'acctype' => 'Tipo di account:', +'sbdonate' => 'Donare Account', +'invalid' => 'Account invalido. Per favore ricontrolla il tuo data!', +'success' => 'Grazie per aver donato il tuo account. Il tuo account è stato salvato nel nostro database!', +'dsuccess' => 'Donazione Effetuata!', +'getloading' => 'Controllo....', +'notaccess' => 'Tu non hai il permesso per accedere a questa pagina !', +'notice' => 'Cancellazione automatica <b>%s</b>. Limite <b>%s</b> file <b>%s</b> per <b>1</b> IP', +'yourip' => 'Tuo IP:', +'yourjob' => 'Your jobs:', +'youused' => 'Your used', +'sizelimit' => 'Limite spazio file:', +'totjob' => 'Total jobs:', +'serverload' => 'Caricamento Server:', +'uonline' => 'Utenti online:', +'ago' => 'Anno', +'days' => 'Giorni', +'hours' => 'Ore', +'mins' => 'Minuti', +'sec' => 'Secondi', +'errorget' => 'Fallimento nel generare i link, per favore riprova !', +'errordl' => 'I tuoi link sono stati generati con un altro inidirizzo IP!', +'erroracc' => 'Account/Cookie Errore !!!', +'svload' => 'Il caricamento del Server è alto.', +'issex' => '<b><font color=red>è un link sex ??? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>è non rimetterlo %1$s|not3x</b><br/>', +'errorlink' => '==► Link Invalido !', +'manyjob' => 'Troppi processi di lavoro.', +'countMBIP' => 'Tu puoi scaricare solo %s per %s ! Aspetta per favore %s', +'limitPERIP' => 'Tu puoi scaricare solo %s file per %s ! Aspetta per favore %s', +'limitip' => 'Troppi processi di download per ip.', +'notdl' => 'Impossibile ottenere la dimensione del file.', +'cantjob' => 'Non posso creare jobs', +'filebig' => 'File tropo grande (%s) è consentito solo %s', +'notfound' => 'Non c è!', +'del' => 'Cancella', +'rname' => 'Rinomina', +'notfile' => 'Non ci sono file', +'acdis' => 'Azione disabilitata', +'ac' => 'Azione', +'name' => 'Nome', +'size' => 'Dimensione', +'date' => 'Data', +'original' => 'Link originale', +'clickcheck' => 'Clicca qui per controllare i link', +'total' => 'Totale', +'used' => 'tuo usato', +'reset' => 'Reset per', +'canl' => 'Cancella', +'deld' => 'Cancellato!', +'nname' => 'Nuovo nome', +'bname' => 'Non è possibile rinominare file per un nome vuoto!', +'rnameto' => 'rinomina a', +'unavailable' => 'Servizio non disponibile', +'disabletrial' => 'Il tuo link è temporaneamente disabilitata per trial account.', +'adult' => 'Video per adulti trovati', +'ytb_captcha' => 'Captcha Found. Per favore prova un server differente', +'ytb_Error' => 'Errore Locating Download URL', +'reportpass' => 'Il file che si sta tentando di scaricare è protetto da password. Si prega di inserire la password qui sotto.', +'accpremium' => 'Premium Account', +'direct' => 'Link diretto', +'checkall' => 'Controlla tutti', +'uncheckall' => 'Un-Check All', +'invert' => 'Iverti selezione', +'error1' => '<b><font color=red> %1$s </font></b>', +'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', +'pluginerror' => '%1$s plugin è in errore. Contatta l admin!', +'noaccount' => 'There\'s no %1$s account in database. Contact admin!', +'cantconnect' => 'Our server can\'t connect to %1$s', +'accfree' => 'Our %1$s account gratis', +'accinvalid' => 'Our %1$s account invalido', +'blockCountry' => 'Our Country has been banned by %1$s', +'blockIP' => 'Il nostro IP è stato bloccato da %1$s', +'blockAcc' => 'Il nostro %1$s account è stato bloccato', +'LimitAcc' => 'Il nostro %1$s account ha superato il limite della bandwidth', +'dead' => 'Link Morto!!!', +'again' => 'Per favore riprova', +'notwork' => 'Non lavoro', +'work' => 'lavoro', +'removed' => '[REMOVED]', +'unknown' => 'sconosciuto', +'linkpass' => 'Link ha una password!', +'wrongpass' => 'Password sbagliata!', +'notsupport' => 'Scusa. Non supportiamo il tuo link !', +'notsupportacc' => 'Not support account, use cookie instead', +'notsupportpass'=> 'Not support password currently for %1$s', +'checkacc' => 'Controlla %1$s account', +'noplugin' => 'You don\'t have %s account checker.<br/>Ask someone to make it' +); +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 Final +* Italian Language by premiumalter + +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/lang/polish.php b/lang/polish.php similarity index 97% rename from vinaget/vng270/lang/polish.php rename to lang/polish.php index bf80962..428cb15 100644 --- a/vinaget/vng270/lang/polish.php +++ b/lang/polish.php @@ -1,120 +1,120 @@ -<?php -$lang = array ( -'sitetile' => 'GetFile', -'version' => 'GetFile', -'homepage' => 'GetFile', -'title' => '%s - Generator Linków Premium', -'login' => 'Podaj hasÅ‚o aby siÄ™ zalogować.', -'password' => 'HasÅ‚o', -'plugins' => 'Pluginy', -'premium' => 'Konta Premium :', -'moreacc' => 'WiÄ™cej Kont >>>', -'lessacc' => '<<< Less accounts', -'main' => 'Strona GÅ‚owna', -'donate' => 'Ofiaruj Konto', -'listfile' => 'Twoje Pliki', -'admin' => 'Panel Administracyjny', -'check' => 'Sprawdź konta', -'log' => 'Wyloguj', -'welcome' => 'Szybki i nielimitowany generator premium', -'maxline' => '(max 20 link for one times)', -'sbdown' => 'Pobierz', -'dlhere' => 'Twoje linki do pobrania:', -'donations1' => 'Potrzebujemy nowych kont. Jeżeli masz którego nie wykorzystujesz w peÅ‚ni podziel siÄ™.', -'donations2' => 'Dodaj swoje konto !', -'acctype' => 'Typ konta:', -'sbdonate' => 'Dodaj Konto', -'invalid' => 'Konto nieprawidÅ‚owe. Sprawdź dane!', -'success' => 'DziÄ™kujemy za Twoje konto. ZostaÅ‚o zapisane w naszej bazie danych.', -'dsuccess' => 'Konto dodane prawidÅ‚owo!', -'getloading' => 'sprawdzanie...', -'notaccess' => 'Nie masz dostÄ™pu do tej strony !', -'notice' => 'Autousuwanie plików po <b>%s</b>. Limit <b>%s</b> plików na <b>%s</b> dla <b>1</b> IP', -'yourip' => 'Twoje IP:', -'yourjob' => 'Twoje Linki:', -'youused' => 'Używasz', -'sizelimit' => 'Limit rozmiaru pliku:', -'totjob' => 'Wszystkie linki:', -'serverload' => 'Wykorzystanie serwera:', -'uonline' => 'Użytkowników online:', -'ago' => 'temu', -'days' => 'dniach', -'hours' => 'godzin', -'mins' => 'minut', -'sec' => 'sekundy', -'errorget' => 'BÅ‚Ä…d w generowaniu. Spróbuj ponownie !', -'errordl' => 'Twój link zostaÅ‚ wygenerowany z innego adresu IP !', -'erroracc' => 'BÅ‚Ä…d Konta/Ciasteczka !!!', -'svload' => 'Zbyt duże obciążenie serwera.', -'issex' => '<b><font color=red>Czy to jest porno link ??? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>if not please repost %1$s|not3x</b><br/>', -'errorlink' => '==► nie prawidÅ‚owy link !', -'manyjob' => 'Zbyt dużo linków.', -'countMBIP' => 'Możesz pobierać tylko %s w ciÄ…gu %s ! Poczekaj %s', -'limitPERIP' => 'Możesz pobierać %s plików w ciÄ…gu %s ! Poczekaj %s', -'limitip' => 'WykorzystaÅ‚eÅ› limit dla swojego IP.', -'notdl' => 'Nie można pobrać rozmariu pliku.', -'cantjob' => 'Nie można wygenerować linku', -'filebig' => 'Plik jest za duży! (%s) możesz pobierać nie wiÄ™ksze niż %s', -'notfound' => 'Nie znaleziono!', -'del' => 'UsuÅ„', -'rname' => 'ZmieÅ„', -'notfile' => 'Nie znaleziono plików', -'acdis' => 'Funkcja wyÅ‚Ä…czona', -'ac' => 'Wybierz', -'name' => 'Nazwa', -'size' => 'Rozmiar', -'date' => 'Czas od wygenerowania', -'original' => 'Link źródÅ‚owy', -'clickcheck' => 'Kliknij aby sprawdzić link', -'total' => 'Razem', -'used' => 'Zajmujesz', -'reset' => 'Aktywne do', -'canl' => 'Anuluj', -'deld' => 'UsuniÄ™to!', -'nname' => 'Nowa nazwa', -'bname' => 'Nie możesz zmienić nazwy!', -'rnameto' => 'renamed to', -'unavailable' => 'Service Unavailable', -'disabletrial' => 'your link is temporary disable for trial account.', -'adult' => 'Adult Video Detected', -'ytb_captcha' => 'Captcha Found. Please run on different server', -'ytb_Error' => 'Error Locating Download URL', -'reportpass' => 'The file you are trying to download is password protected. Please enter the password below.', -'accpremium' => 'Konto Premium', -'direct' => 'Link Premium', -'checkall' => 'Zaznacz wszystko', -'uncheckall' => 'Odznacz wszystko', -'invert' => 'Invert Selection', -'error1' => '<b><font color=red> %1$s </font></b>', -'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', -'pluginerror' => 'bÅ‚Ä…d pluginu %1$s . Prosimy o kontakt z Adminem!', -'noaccount' => 'brak konta %1$s w bazie. Prosimy o kontakt z Adminem!', -'cantconnect' => 'serwer nie może siÄ™ poÅ‚Ä…czyć z kontem %1$s', -'accfree' => 'Konto %1$s ma status FREE', -'accinvalid' => 'Konto %1$s jest bÅ‚Ä™dne', -'cookieinvalid' => 'ciasteczko %1$s jest bÅ‚Ä™dne', -'blockCountry' => 'Twoje PaÅ„stwo zostaÅ‚o zbanowane przez %1$s', -'blockIP' => 'Twoje IP zostaÅ‚o zbanowne przez %1$s', -'blockAcc' => 'Twoje konto %1$s zostaÅ‚o zablokowane', -'LimitAcc' => 'Na Twoim Koncie %1$s wyczerpaÅ‚ siÄ™ limit transferu', -'dead' => 'Link nieaktywny !!!', -'again' => 'spróbuj ponownie', -'notwork' => 'NieprawidÅ‚owe', -'work' => 'PrawidÅ‚owe', -'removed' => '[UsuniÄ™to]', -'unknown' => 'nieznane', -'linkpass' => 'Link posiada hasÅ‚o!', -'wrongpass' => 'BÅ‚Ä™dne hasÅ‚o!', -'notsupport' => 'Przepraszamy. Link nieobsÅ‚ugiwany !', -'notsupportacc' => 'Not support account, use cookie instead', -'notsupportpass'=> 'Not support password currently for %1$s', -'checkacc' => 'Sprawdź konto %1$s', -'noplugin' => 'Nie ma pluginu %s .<br/>pytaj jak stworzyć' -); -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 Final -* Polish Language by Wojciech Flis -*/ +<?php +$lang = array ( +'sitetile' => 'GetFile', +'version' => 'GetFile', +'homepage' => 'GetFile', +'title' => '%s - Generator Linków Premium', +'login' => 'Podaj hasÅ‚o aby siÄ™ zalogować.', +'password' => 'HasÅ‚o', +'plugins' => 'Pluginy', +'premium' => 'Konta Premium :', +'moreacc' => 'WiÄ™cej Kont >>>', +'lessacc' => '<<< Less accounts', +'main' => 'Strona GÅ‚owna', +'donate' => 'Ofiaruj Konto', +'listfile' => 'Twoje Pliki', +'admin' => 'Panel Administracyjny', +'check' => 'Sprawdź konta', +'log' => 'Wyloguj', +'welcome' => 'Szybki i nielimitowany generator premium', +'maxline' => '(max 20 link for one times)', +'sbdown' => 'Pobierz', +'dlhere' => 'Twoje linki do pobrania:', +'donations1' => 'Potrzebujemy nowych kont. Jeżeli masz którego nie wykorzystujesz w peÅ‚ni podziel siÄ™.', +'donations2' => 'Dodaj swoje konto !', +'acctype' => 'Typ konta:', +'sbdonate' => 'Dodaj Konto', +'invalid' => 'Konto nieprawidÅ‚owe. Sprawdź dane!', +'success' => 'DziÄ™kujemy za Twoje konto. ZostaÅ‚o zapisane w naszej bazie danych.', +'dsuccess' => 'Konto dodane prawidÅ‚owo!', +'getloading' => 'sprawdzanie...', +'notaccess' => 'Nie masz dostÄ™pu do tej strony !', +'notice' => 'Autousuwanie plików po <b>%s</b>. Limit <b>%s</b> plików na <b>%s</b> dla <b>1</b> IP', +'yourip' => 'Twoje IP:', +'yourjob' => 'Twoje Linki:', +'youused' => 'Używasz', +'sizelimit' => 'Limit rozmiaru pliku:', +'totjob' => 'Wszystkie linki:', +'serverload' => 'Wykorzystanie serwera:', +'uonline' => 'Użytkowników online:', +'ago' => 'temu', +'days' => 'dniach', +'hours' => 'godzin', +'mins' => 'minut', +'sec' => 'sekundy', +'errorget' => 'BÅ‚Ä…d w generowaniu. Spróbuj ponownie !', +'errordl' => 'Twój link zostaÅ‚ wygenerowany z innego adresu IP !', +'erroracc' => 'BÅ‚Ä…d Konta/Ciasteczka !!!', +'svload' => 'Zbyt duże obciążenie serwera.', +'issex' => '<b><font color=red>Czy to jest porno link ??? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>if not please repost %1$s|not3x</b><br/>', +'errorlink' => '==► nie prawidÅ‚owy link !', +'manyjob' => 'Zbyt dużo linków.', +'countMBIP' => 'Możesz pobierać tylko %s w ciÄ…gu %s ! Poczekaj %s', +'limitPERIP' => 'Możesz pobierać %s plików w ciÄ…gu %s ! Poczekaj %s', +'limitip' => 'WykorzystaÅ‚eÅ› limit dla swojego IP.', +'notdl' => 'Nie można pobrać rozmariu pliku.', +'cantjob' => 'Nie można wygenerować linku', +'filebig' => 'Plik jest za duży! (%s) możesz pobierać nie wiÄ™ksze niż %s', +'notfound' => 'Nie znaleziono!', +'del' => 'UsuÅ„', +'rname' => 'ZmieÅ„', +'notfile' => 'Nie znaleziono plików', +'acdis' => 'Funkcja wyÅ‚Ä…czona', +'ac' => 'Wybierz', +'name' => 'Nazwa', +'size' => 'Rozmiar', +'date' => 'Czas od wygenerowania', +'original' => 'Link źródÅ‚owy', +'clickcheck' => 'Kliknij aby sprawdzić link', +'total' => 'Razem', +'used' => 'Zajmujesz', +'reset' => 'Aktywne do', +'canl' => 'Anuluj', +'deld' => 'UsuniÄ™to!', +'nname' => 'Nowa nazwa', +'bname' => 'Nie możesz zmienić nazwy!', +'rnameto' => 'renamed to', +'unavailable' => 'Service Unavailable', +'disabletrial' => 'your link is temporary disable for trial account.', +'adult' => 'Adult Video Detected', +'ytb_captcha' => 'Captcha Found. Please run on different server', +'ytb_Error' => 'Error Locating Download URL', +'reportpass' => 'The file you are trying to download is password protected. Please enter the password below.', +'accpremium' => 'Konto Premium', +'direct' => 'Link Premium', +'checkall' => 'Zaznacz wszystko', +'uncheckall' => 'Odznacz wszystko', +'invert' => 'Invert Selection', +'error1' => '<b><font color=red> %1$s </font></b>', +'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', +'pluginerror' => 'bÅ‚Ä…d pluginu %1$s . Prosimy o kontakt z Adminem!', +'noaccount' => 'brak konta %1$s w bazie. Prosimy o kontakt z Adminem!', +'cantconnect' => 'serwer nie może siÄ™ poÅ‚Ä…czyć z kontem %1$s', +'accfree' => 'Konto %1$s ma status FREE', +'accinvalid' => 'Konto %1$s jest bÅ‚Ä™dne', +'cookieinvalid' => 'ciasteczko %1$s jest bÅ‚Ä™dne', +'blockCountry' => 'Twoje PaÅ„stwo zostaÅ‚o zbanowane przez %1$s', +'blockIP' => 'Twoje IP zostaÅ‚o zbanowne przez %1$s', +'blockAcc' => 'Twoje konto %1$s zostaÅ‚o zablokowane', +'LimitAcc' => 'Na Twoim Koncie %1$s wyczerpaÅ‚ siÄ™ limit transferu', +'dead' => 'Link nieaktywny !!!', +'again' => 'spróbuj ponownie', +'notwork' => 'NieprawidÅ‚owe', +'work' => 'PrawidÅ‚owe', +'removed' => '[UsuniÄ™to]', +'unknown' => 'nieznane', +'linkpass' => 'Link posiada hasÅ‚o!', +'wrongpass' => 'BÅ‚Ä™dne hasÅ‚o!', +'notsupport' => 'Przepraszamy. Link nieobsÅ‚ugiwany !', +'notsupportacc' => 'Not support account, use cookie instead', +'notsupportpass'=> 'Not support password currently for %1$s', +'checkacc' => 'Sprawdź konto %1$s', +'noplugin' => 'Nie ma pluginu %s .<br/>pytaj jak stworzyć' +); +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 Final +* Polish Language by Wojciech Flis +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/lang/portuguese.php b/lang/portuguese.php similarity index 100% rename from vinaget/vng270/lang/portuguese.php rename to lang/portuguese.php diff --git a/vinaget/vng270/lang/spanish.php b/lang/spanish.php similarity index 97% rename from vinaget/vng270/lang/spanish.php rename to lang/spanish.php index 78b5017..821b933 100644 --- a/vinaget/vng270/lang/spanish.php +++ b/lang/spanish.php @@ -1,119 +1,119 @@ -<?php -$lang = array ( -'version' => 'VinaGet v2.7.0 Final', -'homepage' => 'vinaget.us', -'title' => '%s - Generador de enlaces premium', -'login' => 'Por favor, introduzca la contraseña para iniciar sesión.', -'password' => 'Contraseña', -'plugins' => 'Plugins', -'premium' => 'Cuentas Premium :', -'moreacc' => 'Más cuentas >>>', -'lessacc' => '<<< Menos cuentas', -'main' => 'Ventana Principal', -'donate' => 'Donar Cuenta', -'listfile' => 'Servidor de Archivos', -'admin' => 'Panel de Administración', -'check' => 'Comprobar Cuenta', -'log' => 'Finalizar Sesión', -'welcome' => 'Generador de enlaces premium rápido e ilimitado', -'update1' => 'Hay una actualización para vng270', -'update2' => 'Conseguir update.R%s.zip', -'maxline' => '(máximo de 10 enlaces por turno)', -'sbdown' => 'Descargar', -'dlhere' => 'Descargar aquí:', -'donations1' => 'También estamos en necesidad de donaciones! Si puede le agradeceremos sus ofertas.', -'donations2' => 'Dona tu cuenta!', -'acctype' => 'Tipo de cuenta:', -'sbdonate' => 'Donar cuenta', -'invalid' => 'Cuenta no válido. Por favor, vuelva a comprobar sus datos!', -'success' => 'Gracias por donar su cuenta. Su cuenta ha sido creada con éxito en nuestra base de datos', -'dsuccess' => 'Donado con éxito!', -'getloading' => 'comprobando...', -'notaccess' => 'Usted no tiene permiso para acceder a esta página!', -'notice' => 'Eliminar archivo automáticamente después de <b>%s</b>. Limitado <b>%s</b> archivo por <b>%s</b> para <b>1</b> IP', -'yourip' => 'Su IP: %s.', -'yourjob' => 'Sus trabajos: %s (máx: %s).', -'youused' => 'Utilizado %s (máx: %s).', -'sizelimit' => 'Límite de tamaño de archivo: %s.', -'totjob' => 'Empleos totales: %s (max: %s).', -'serverload' => 'Carga del servidor: %s (máximo permitido: %s).', -'uonline' => 'Usuarios en línea: %s', -'ago' => 'hace', -'days' => 'días', -'hours' => 'horas', -'mins' => 'minutos', -'sec' => 'seg', -'errorget' => 'No se pudo generar el enlace. Por favor, vuelve a intentarlo!', -'errordl' => 'Su enlace ha sido generada por otra dirección IP!', -'erroracc' => 'Cuenta/Error cookies!', -'svload' => 'Carga del servidor es demasiado alto.', -'issex' => '<b><font color=red>Se trata de un enlace a los adultos? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>si no por favor reposte %1$s|not3x</b><br/>', -'errorlink' => '==► Link inválido !', -'manyjob' => 'Muitos trabalhos de download.', -'countMBIP' => 'Sólo puedes descargar %s por %s ! espere por favor %s', -'limitPERIP' => 'Sólo puedes descargar %s archivo por %s ! espere por favor %s', -'limitip' => 'Demasiados trabajos de descarga de este IP.', -'notdl' => 'No se puede obtener el tamaño del archivo.', -'cantjob' => 'No se puede crear nuevo empleo', -'filebig' => 'El archivo es demasiado grande! (%s) cuando se les permite sólo %s', -'notfound' => 'No se ha encontrado!', -'del' => 'Borrar', -'rname' => 'Rebautizar', -'notfile' => 'No se han encontrado', -'acdis' => 'Acción Desactivado', -'ac' => 'Acción', -'name' => 'Nombre', -'size' => 'Tamaño', -'date' => 'Fecha', -'original' => 'Enlace Original', -'clickcheck' => 'Haga clic aquí para ver enlace', -'total' => 'Total', -'used' => 'Solías', -'reset' => 'Restablecer per', -'canl' => 'Cancelar', -'deld' => 'Suprimido!', -'nname' => 'Nuevo nombre', -'bname' => 'No se puede cambiar el nombre de archivo de nombre en blanco!', -'rnameto' => 'renombrado a', -'unavailable' => 'Servicio no disponible', -'disabletrial' => 'el enlace está desactivado temporalmente por cuenta de prueba.', -'adult' => 'Adult Video Detectado', -'ytb_captcha' => 'Captcha encontrado. Por favor, ejecute en un servidor diferente', -'ytb_Error' => 'Error de localización de la descarga url', -'reportpass' => 'El archivo que está intentando descargar está protegido con contraseña, introduzca la contraseña para continuar.', -'accpremium' => 'Cuenta Premium', -'direct' => 'Enlace directo', -'checkall' => 'Marcar Todos', -'uncheckall' => 'Desmarcar Todos', -'invert' => 'Invertir selección', -'error1' => '<b><font color=red> %1$s </font></b>', -'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', -'pluginerror' => 'El plugin %1$s tiene un error, por favor póngase en contacto con el administrador.', -'noaccount' => 'No hay %1$s acuenta en la base de datos. contacto con administración!', -'cantconnect' => 'Tu servidor no puede conectarse a %1$s', -'accfree' => 'Nuestro %1$s cuenta es GRATIS', -'accinvalid' => 'Tu %1$s cuenta no es válido', -'blockCountry' => 'Su país ha sido prohibido por %1$s', -'blockIP' => 'Su IP ha sido prohibido por %1$s', -'blockAcc' => 'Su %1$s Su cuenta ha sido bloqueada', -'LimitAcc' => 'Su %1$s cuenta ha alcanzado el límite de ancho de banda', -'dead' => 'Link muerto!', -'again' => 'Por favor, inténtalo de nuevo', -'notwork' => 'No funciona', -'work' => 'Work', -'removed' => '[QUITADO]', -'unknown' => 'desconocido', -'notsupport' => 'Lo siento. No apoyamos el link!', -'notsupportacc' => 'No es una cuenta de soporte, utilice cookies en su lugar', -'notsupportpass'=> 'No apoyar la contraseña actual para %1$s', -'checkacc' => 'Comprobar %1$s cuenta', -'noplugin' => 'Usted no tiene %s verificador de cuenta.<br/>Pece a alguien que lo hace.' -); -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 Final -* Spanish Language -* Language Class By Rayonni -*/ +<?php +$lang = array ( +'version' => 'VinaGet v2.7.0 Final', +'homepage' => 'vinaget.us', +'title' => '%s - Generador de enlaces premium', +'login' => 'Por favor, introduzca la contraseña para iniciar sesión.', +'password' => 'Contraseña', +'plugins' => 'Plugins', +'premium' => 'Cuentas Premium :', +'moreacc' => 'Más cuentas >>>', +'lessacc' => '<<< Menos cuentas', +'main' => 'Ventana Principal', +'donate' => 'Donar Cuenta', +'listfile' => 'Servidor de Archivos', +'admin' => 'Panel de Administración', +'check' => 'Comprobar Cuenta', +'log' => 'Finalizar Sesión', +'welcome' => 'Generador de enlaces premium rápido e ilimitado', +'update1' => 'Hay una actualización para vng270', +'update2' => 'Conseguir update.R%s.zip', +'maxline' => '(máximo de 10 enlaces por turno)', +'sbdown' => 'Descargar', +'dlhere' => 'Descargar aquí:', +'donations1' => 'También estamos en necesidad de donaciones! Si puede le agradeceremos sus ofertas.', +'donations2' => 'Dona tu cuenta!', +'acctype' => 'Tipo de cuenta:', +'sbdonate' => 'Donar cuenta', +'invalid' => 'Cuenta no válido. Por favor, vuelva a comprobar sus datos!', +'success' => 'Gracias por donar su cuenta. Su cuenta ha sido creada con éxito en nuestra base de datos', +'dsuccess' => 'Donado con éxito!', +'getloading' => 'comprobando...', +'notaccess' => 'Usted no tiene permiso para acceder a esta página!', +'notice' => 'Eliminar archivo automáticamente después de <b>%s</b>. Limitado <b>%s</b> archivo por <b>%s</b> para <b>1</b> IP', +'yourip' => 'Su IP: %s.', +'yourjob' => 'Sus trabajos: %s (máx: %s).', +'youused' => 'Utilizado %s (máx: %s).', +'sizelimit' => 'Límite de tamaño de archivo: %s.', +'totjob' => 'Empleos totales: %s (max: %s).', +'serverload' => 'Carga del servidor: %s (máximo permitido: %s).', +'uonline' => 'Usuarios en línea: %s', +'ago' => 'hace', +'days' => 'días', +'hours' => 'horas', +'mins' => 'minutos', +'sec' => 'seg', +'errorget' => 'No se pudo generar el enlace. Por favor, vuelve a intentarlo!', +'errordl' => 'Su enlace ha sido generada por otra dirección IP!', +'erroracc' => 'Cuenta/Error cookies!', +'svload' => 'Carga del servidor es demasiado alto.', +'issex' => '<b><font color=red>Se trata de un enlace a los adultos? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>si no por favor reposte %1$s|not3x</b><br/>', +'errorlink' => '==► Link inválido !', +'manyjob' => 'Muitos trabalhos de download.', +'countMBIP' => 'Sólo puedes descargar %s por %s ! espere por favor %s', +'limitPERIP' => 'Sólo puedes descargar %s archivo por %s ! espere por favor %s', +'limitip' => 'Demasiados trabajos de descarga de este IP.', +'notdl' => 'No se puede obtener el tamaño del archivo.', +'cantjob' => 'No se puede crear nuevo empleo', +'filebig' => 'El archivo es demasiado grande! (%s) cuando se les permite sólo %s', +'notfound' => 'No se ha encontrado!', +'del' => 'Borrar', +'rname' => 'Rebautizar', +'notfile' => 'No se han encontrado', +'acdis' => 'Acción Desactivado', +'ac' => 'Acción', +'name' => 'Nombre', +'size' => 'Tamaño', +'date' => 'Fecha', +'original' => 'Enlace Original', +'clickcheck' => 'Haga clic aquí para ver enlace', +'total' => 'Total', +'used' => 'Solías', +'reset' => 'Restablecer per', +'canl' => 'Cancelar', +'deld' => 'Suprimido!', +'nname' => 'Nuevo nombre', +'bname' => 'No se puede cambiar el nombre de archivo de nombre en blanco!', +'rnameto' => 'renombrado a', +'unavailable' => 'Servicio no disponible', +'disabletrial' => 'el enlace está desactivado temporalmente por cuenta de prueba.', +'adult' => 'Adult Video Detectado', +'ytb_captcha' => 'Captcha encontrado. Por favor, ejecute en un servidor diferente', +'ytb_Error' => 'Error de localización de la descarga url', +'reportpass' => 'El archivo que está intentando descargar está protegido con contraseña, introduzca la contraseña para continuar.', +'accpremium' => 'Cuenta Premium', +'direct' => 'Enlace directo', +'checkall' => 'Marcar Todos', +'uncheckall' => 'Desmarcar Todos', +'invert' => 'Invertir selección', +'error1' => '<b><font color=red> %1$s </font></b>', +'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', +'pluginerror' => 'El plugin %1$s tiene un error, por favor póngase en contacto con el administrador.', +'noaccount' => 'No hay %1$s acuenta en la base de datos. contacto con administración!', +'cantconnect' => 'Tu servidor no puede conectarse a %1$s', +'accfree' => 'Nuestro %1$s cuenta es GRATIS', +'accinvalid' => 'Tu %1$s cuenta no es válido', +'blockCountry' => 'Su país ha sido prohibido por %1$s', +'blockIP' => 'Su IP ha sido prohibido por %1$s', +'blockAcc' => 'Su %1$s Su cuenta ha sido bloqueada', +'LimitAcc' => 'Su %1$s cuenta ha alcanzado el límite de ancho de banda', +'dead' => 'Link muerto!', +'again' => 'Por favor, inténtalo de nuevo', +'notwork' => 'No funciona', +'work' => 'Work', +'removed' => '[QUITADO]', +'unknown' => 'desconocido', +'notsupport' => 'Lo siento. No apoyamos el link!', +'notsupportacc' => 'No es una cuenta de soporte, utilice cookies en su lugar', +'notsupportpass'=> 'No apoyar la contraseña actual para %1$s', +'checkacc' => 'Comprobar %1$s cuenta', +'noplugin' => 'Usted no tiene %s verificador de cuenta.<br/>Pece a alguien que lo hace.' +); +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 Final +* Spanish Language +* Language Class By Rayonni +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/lang/turkish.php b/lang/turkish.php similarity index 98% rename from vinaget/vng270/lang/turkish.php rename to lang/turkish.php index 1a293ae..3674825 100644 --- a/vinaget/vng270/lang/turkish.php +++ b/lang/turkish.php @@ -1,122 +1,122 @@ -<?php -$lang = array ( -'sitetile' => 'Vinaget', -'version' => 'VinaGet v2.7.0 Final', -'homepage' => 'vinaget.us', -'title' => '%s - Premium Link Çevirici', -'login' => 'GiriÅŸ yapmak için lütfen parolanızı giriniz...', -'password' => 'Åžifre', -'plugins' => 'Eklentiler', -'premium' => 'Premium Hesaplar :', -'moreacc' => 'Bütün Hesapları Göster >>>', -'lessacc' => '<<< Hesapları Gizle', -'main' => 'Ana Sayfa', -'donate' => 'Hesap Bağışla', -'listfile' => 'Dosyalar', -'admin' => 'Admin Paneli', -'check' => 'Hesap Kontrol', -'log' => 'Çıkış yap', -'welcome' => 'Hızlı ve Sınırsız Premium Link Çevirici', -'update1' => 'Yeni bir güncelleme mevcut :', -'update2' => 'Güncelleme için Tıklayın : R%s.zip', -'maxline' => '(Tek Seferde Maksimum 10 Link Çevirebilirsiniz)', -'sbdown' => 'Çevir !', -'dlhere' => 'Buradan Ä°ndir :', -'donations1' => 'Hizmetimizin sınırsız ve kesintisiz olması için lütfen hesap bağışında bulunun...', -'donations2' => 'Hesap bağışı yapmak için aÅŸağıdaki menüyü kullanabilirsiniz... :', -'acctype' => 'Dosya Barındırıcı :', -'sbdonate' => 'Hesabı Bağışla!', -'invalid' => 'Geçersiz Hesap. Lütfen girdiÄŸiniz bilgileri kontrol edin...', -'success' => 'Bağışladığınız hesap için teÅŸekkür ederiz. Hesabınız baÅŸarıyla sisteme eklenmiÅŸtir...', -'dsuccess' => 'Hesap Çalışıyor... Bağış BaÅŸarılı !!!', -'getloading' => 'Kontrol ediliyor...', -'notaccess' => 'Bu sayfaya eriÅŸmek için gerekli izniniz yok !', -'notice' => 'Otomatik silinme süresi : <b>%s</b>. Limitler : <b>1</b> IP den, <b>%s</b> dosya çevirilebilir ! ( <b>%s</b> içinde... ) ', -'yourip' => 'IP Adresiniz :', -'yourjob' => 'Ä°ÅŸlem Adetiniz :', -'youused' => 'Kullandığınız Miktar (Boyut) :', -'sizelimit' => 'Dosya Boyutu Limiti :', -'totjob' => 'Toplam Ä°ÅŸlemler :', -'serverload' => 'Sunucu Yükü :', -'uonline' => 'Çevrimiçi Kullanıcı Sayısı :', -'ago' => 'Önce', -'days' => 'Gün', -'hours' => 'Saat', -'mins' => 'Dakika', -'sec' => 'Saniye', -'errorget' => 'Link oluÅŸturulurken bir hata oluÅŸtu. Lütfen tekrar deneyin.', -'errordl' => 'Bu link baÅŸka bir IP adresi üzerinden çevirilmiÅŸtir. Sistemimiz sadece kiÅŸisel çeviriler içindir. Lütfen orjinal siteyi kullanın !!!', -'erroracc' => 'Hesap/Çerez Hatası !!!', -'svload' => 'Sunucu yükü çok fazla, Lütfen sonra deneyin...', -'issex' => '<b><font color=red> bu link +18 içeriÄŸe aittir. ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>EÄŸer deÄŸilse ÅŸu ÅŸekilde tekrar gönderin : %1$s|not3x</b><br/>', -'errorlink' => '==► Geçersiz link !', -'manyjob' => 'Toplam iÅŸlem sınırı aşıldı.Lütfen daha sonra deneyin.', -'countMBIP' => '%s içerisinde maksimum %s link oluÅŸturabilirsiniz ! Lütfen %s bekleyin.', -'limitPERIP' => '%s içerisinde maksimum %s adet link oluÅŸturabilirsiniz ! Lütfen %s bekleyin.', -'limitip' => 'Bu IP adresi üzerinden çok fazla iÅŸlem mevcuttur.', -'notdl' => 'Hata! : Dosya boyutu alınamadı.', -'cantjob' => 'Hata! : Yeni bir iÅŸlem oluÅŸturulamadı.', -'filebig' => 'Dosya çok büyük! (%s) izin yalnızca %s', -'notfound' => 'Link bulunamadı.', -'del' => 'Sil', -'rname' => 'Yeniden Adlandır', -'notfile' => 'Dosya Bulunamadı.', -'acdis' => 'Ä°ÅŸlemler Devredışı', -'ac' => 'Ä°ÅŸlem', -'name' => 'Dosya Ä°smi', -'size' => 'Boyut', -'date' => 'Tarih', -'original' => 'Orjinal Link', -'clickcheck' => 'Link kontrolü için buraya tıklayın.', -'total' => 'Toplam', -'used' => 'Kullanımınız :', -'reset' => 'Sıfırlanma Süresi :', -'canl' => 'Vazgeç', -'deld' => 'Silindi!', -'nname' => 'Yeni isim', -'bname' => 'Dosya adı boÅŸ olamaz!', -'rnameto' => 'olarak deÄŸiÅŸtirildi', -'unavailable' => 'Hizmet Kullanılamıyor !!!', -'disabletrial' => 'BaÄŸlantınız deneme hesabı için devre dışı bırakıldı.', -'adult' => 'YetiÅŸkin Vidyosu Algılandı.', -'ytb_captcha' => 'Captcha Algılandı. Lütfen baÅŸka bir sunucu deneyin.', -'ytb_Error' => 'Ä°ndirme Adresi Bulma Hatası.', -'reportpass' => 'Indirmeye çalıştığınız dosya ÅŸifre korumalıdır. Lütfen ÅŸifrenizi aÅŸağıya giriniz. :', -'accpremium' => 'Premium Hesap', -'direct' => 'Direk Link', -'checkall' => ' Tümünü Seç ', -'uncheckall' => ' Hiçbirini Seçme ', -'invert' => ' Ters seçim ', -'error1' => '<b><font color=red> %1$s </font></b>', -'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', -'pluginerror' => '%1$s eklentisi hatalıdır. Lütfen Admin ile irtibata gecin!', -'noaccount' => 'Sistemimizde %1$s için hesap bulunmamaktadır. Admin ile irtibat kurun!', -'cantconnect' => 'Sunucumuz %1$s sitesi ile baÄŸlantı kuramamaktadır...', -'accfree' => 'Sistemimizde bulunan %1$s hesabı FREE (ücretsiz) hesaptır.', -'accinvalid' => 'Sistemimizde bulunan %1$s hesabı geçersizdir.', -'blockCountry' => 'Sunucumuzun bulunduÄŸu ülke %1$s sitesi tarafından engellenmiÅŸtir.', -'blockIP' => 'Sunucumuzun Ip adresi %1$s sitesi tarafından engellenmiÅŸtir.', -'blockAcc' => 'Sistemimizde bulunan %1$s hesabı engellidir.', -'LimitAcc' => 'Sistemimizdeki %1$s hesabının bantgeniÅŸliÄŸi limiti dolmuÅŸtur.', -'dead' => 'Link Çalışmıyor !!!', -'again' => 'Lütfen Tekrar Deneyin', -'notwork' => 'Çalışmıyor', -'work' => 'Çalışıyor', -'removed' => '[SÄ°LÄ°NDÄ°]', -'unknown' => 'Bilinmiyor', -'linkpass' => 'Bu link ÅŸifrelidir.', -'wrongpass' => 'Hatalı Åžifre!', -'notsupport' => 'Ãœzgünüz. Bu linki ÅŸuanda desteklemiyoruz !!!', -'notsupportacc' => 'Hesap ekleme desteÄŸi yok, bunun yerine çerez (Cookie) eklemeyi deneyin.', -'notsupportpass'=> 'Åžu anda %1$s sitesi için ÅŸifre desteÄŸi yoktur.', -'checkacc' => '%1$s hesabını kontrol et.', -'noplugin' => '%s hesap kontrol modülü bulunamadı.<br/>Bunu bilen birine sorarak destek almayı deneyin... ;)' -); -/* -* Open Source Project / Bu uygulama açık kaynak projesidir. -* Vinaget by ..::[H]::.. -* Version: 2.7.0 Final -* Turkish (Türkçe) Language -* Language Class By [FZ][r39] / Translation by GUARDIAN (20.08.2013) // Edited : 07.09.2013 -*/ +<?php +$lang = array ( +'sitetile' => 'Vinaget', +'version' => 'VinaGet v2.7.0 Final', +'homepage' => 'vinaget.us', +'title' => '%s - Premium Link Çevirici', +'login' => 'GiriÅŸ yapmak için lütfen parolanızı giriniz...', +'password' => 'Åžifre', +'plugins' => 'Eklentiler', +'premium' => 'Premium Hesaplar :', +'moreacc' => 'Bütün Hesapları Göster >>>', +'lessacc' => '<<< Hesapları Gizle', +'main' => 'Ana Sayfa', +'donate' => 'Hesap Bağışla', +'listfile' => 'Dosyalar', +'admin' => 'Admin Paneli', +'check' => 'Hesap Kontrol', +'log' => 'Çıkış yap', +'welcome' => 'Hızlı ve Sınırsız Premium Link Çevirici', +'update1' => 'Yeni bir güncelleme mevcut :', +'update2' => 'Güncelleme için Tıklayın : R%s.zip', +'maxline' => '(Tek Seferde Maksimum 10 Link Çevirebilirsiniz)', +'sbdown' => 'Çevir !', +'dlhere' => 'Buradan Ä°ndir :', +'donations1' => 'Hizmetimizin sınırsız ve kesintisiz olması için lütfen hesap bağışında bulunun...', +'donations2' => 'Hesap bağışı yapmak için aÅŸağıdaki menüyü kullanabilirsiniz... :', +'acctype' => 'Dosya Barındırıcı :', +'sbdonate' => 'Hesabı Bağışla!', +'invalid' => 'Geçersiz Hesap. Lütfen girdiÄŸiniz bilgileri kontrol edin...', +'success' => 'Bağışladığınız hesap için teÅŸekkür ederiz. Hesabınız baÅŸarıyla sisteme eklenmiÅŸtir...', +'dsuccess' => 'Hesap Çalışıyor... Bağış BaÅŸarılı !!!', +'getloading' => 'Kontrol ediliyor...', +'notaccess' => 'Bu sayfaya eriÅŸmek için gerekli izniniz yok !', +'notice' => 'Otomatik silinme süresi : <b>%s</b>. Limitler : <b>1</b> IP den, <b>%s</b> dosya çevirilebilir ! ( <b>%s</b> içinde... ) ', +'yourip' => 'IP Adresiniz :', +'yourjob' => 'Ä°ÅŸlem Adetiniz :', +'youused' => 'Kullandığınız Miktar (Boyut) :', +'sizelimit' => 'Dosya Boyutu Limiti :', +'totjob' => 'Toplam Ä°ÅŸlemler :', +'serverload' => 'Sunucu Yükü :', +'uonline' => 'Çevrimiçi Kullanıcı Sayısı :', +'ago' => 'Önce', +'days' => 'Gün', +'hours' => 'Saat', +'mins' => 'Dakika', +'sec' => 'Saniye', +'errorget' => 'Link oluÅŸturulurken bir hata oluÅŸtu. Lütfen tekrar deneyin.', +'errordl' => 'Bu link baÅŸka bir IP adresi üzerinden çevirilmiÅŸtir. Sistemimiz sadece kiÅŸisel çeviriler içindir. Lütfen orjinal siteyi kullanın !!!', +'erroracc' => 'Hesap/Çerez Hatası !!!', +'svload' => 'Sunucu yükü çok fazla, Lütfen sonra deneyin...', +'issex' => '<b><font color=red> bu link +18 içeriÄŸe aittir. ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>EÄŸer deÄŸilse ÅŸu ÅŸekilde tekrar gönderin : %1$s|not3x</b><br/>', +'errorlink' => '==► Geçersiz link !', +'manyjob' => 'Toplam iÅŸlem sınırı aşıldı.Lütfen daha sonra deneyin.', +'countMBIP' => '%s içerisinde maksimum %s link oluÅŸturabilirsiniz ! Lütfen %s bekleyin.', +'limitPERIP' => '%s içerisinde maksimum %s adet link oluÅŸturabilirsiniz ! Lütfen %s bekleyin.', +'limitip' => 'Bu IP adresi üzerinden çok fazla iÅŸlem mevcuttur.', +'notdl' => 'Hata! : Dosya boyutu alınamadı.', +'cantjob' => 'Hata! : Yeni bir iÅŸlem oluÅŸturulamadı.', +'filebig' => 'Dosya çok büyük! (%s) izin yalnızca %s', +'notfound' => 'Link bulunamadı.', +'del' => 'Sil', +'rname' => 'Yeniden Adlandır', +'notfile' => 'Dosya Bulunamadı.', +'acdis' => 'Ä°ÅŸlemler Devredışı', +'ac' => 'Ä°ÅŸlem', +'name' => 'Dosya Ä°smi', +'size' => 'Boyut', +'date' => 'Tarih', +'original' => 'Orjinal Link', +'clickcheck' => 'Link kontrolü için buraya tıklayın.', +'total' => 'Toplam', +'used' => 'Kullanımınız :', +'reset' => 'Sıfırlanma Süresi :', +'canl' => 'Vazgeç', +'deld' => 'Silindi!', +'nname' => 'Yeni isim', +'bname' => 'Dosya adı boÅŸ olamaz!', +'rnameto' => 'olarak deÄŸiÅŸtirildi', +'unavailable' => 'Hizmet Kullanılamıyor !!!', +'disabletrial' => 'BaÄŸlantınız deneme hesabı için devre dışı bırakıldı.', +'adult' => 'YetiÅŸkin Vidyosu Algılandı.', +'ytb_captcha' => 'Captcha Algılandı. Lütfen baÅŸka bir sunucu deneyin.', +'ytb_Error' => 'Ä°ndirme Adresi Bulma Hatası.', +'reportpass' => 'Indirmeye çalıştığınız dosya ÅŸifre korumalıdır. Lütfen ÅŸifrenizi aÅŸağıya giriniz. :', +'accpremium' => 'Premium Hesap', +'direct' => 'Direk Link', +'checkall' => ' Tümünü Seç ', +'uncheckall' => ' Hiçbirini Seçme ', +'invert' => ' Ters seçim ', +'error1' => '<b><font color=red> %1$s </font></b>', +'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', +'pluginerror' => '%1$s eklentisi hatalıdır. Lütfen Admin ile irtibata gecin!', +'noaccount' => 'Sistemimizde %1$s için hesap bulunmamaktadır. Admin ile irtibat kurun!', +'cantconnect' => 'Sunucumuz %1$s sitesi ile baÄŸlantı kuramamaktadır...', +'accfree' => 'Sistemimizde bulunan %1$s hesabı FREE (ücretsiz) hesaptır.', +'accinvalid' => 'Sistemimizde bulunan %1$s hesabı geçersizdir.', +'blockCountry' => 'Sunucumuzun bulunduÄŸu ülke %1$s sitesi tarafından engellenmiÅŸtir.', +'blockIP' => 'Sunucumuzun Ip adresi %1$s sitesi tarafından engellenmiÅŸtir.', +'blockAcc' => 'Sistemimizde bulunan %1$s hesabı engellidir.', +'LimitAcc' => 'Sistemimizdeki %1$s hesabının bantgeniÅŸliÄŸi limiti dolmuÅŸtur.', +'dead' => 'Link Çalışmıyor !!!', +'again' => 'Lütfen Tekrar Deneyin', +'notwork' => 'Çalışmıyor', +'work' => 'Çalışıyor', +'removed' => '[SÄ°LÄ°NDÄ°]', +'unknown' => 'Bilinmiyor', +'linkpass' => 'Bu link ÅŸifrelidir.', +'wrongpass' => 'Hatalı Åžifre!', +'notsupport' => 'Ãœzgünüz. Bu linki ÅŸuanda desteklemiyoruz !!!', +'notsupportacc' => 'Hesap ekleme desteÄŸi yok, bunun yerine çerez (Cookie) eklemeyi deneyin.', +'notsupportpass'=> 'Åžu anda %1$s sitesi için ÅŸifre desteÄŸi yoktur.', +'checkacc' => '%1$s hesabını kontrol et.', +'noplugin' => '%s hesap kontrol modülü bulunamadı.<br/>Bunu bilen birine sorarak destek almayı deneyin... ;)' +); +/* +* Open Source Project / Bu uygulama açık kaynak projesidir. +* Vinaget by ..::[H]::.. +* Version: 2.7.0 Final +* Turkish (Türkçe) Language +* Language Class By [FZ][r39] / Translation by GUARDIAN (20.08.2013) // Edited : 07.09.2013 +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/lang/vietnamese.php b/lang/vietnamese.php similarity index 98% rename from vinaget/vng270/lang/vietnamese.php rename to lang/vietnamese.php index 37c64ab..f3e523a 100644 --- a/vinaget/vng270/lang/vietnamese.php +++ b/lang/vietnamese.php @@ -1,123 +1,123 @@ -<?php -$lang = array ( -'sitetile' => 'Vinaget', -'version' => 'VinaGet v2.7.0 Final', -'homepage' => 'vinaget.us', -'title' => '%s - Tạo link nhanh và không giá»›i hạn', -'login' => 'Má»i Ä‘iá»n mật khẩu để đăng nhập.', -'password' => 'Mật khẩu', -'plugins' => 'Host há»— trợ', -'premium' => 'Tài khoản trả phí :', -'moreacc' => 'Xem thêm >>>', -'lessacc' => '<<< Thu nhá»', -'main' => 'Giao diện chính', -'donate' => 'Tặng tài khoản', -'listfile' => 'Danh sách tệp tin', -'admin' => 'Quản lý của Admin', -'check' => 'Kiểm tra tài khoản', -'log' => 'Thoát', -'welcome' => 'Tạo link nhanh và không giá»›i hạn!', -'update1' => 'Có phiên bản cập nhất cho vng270', -'update2' => 'Cập nhật update.R%s.zip', -'maxline' => '(Nhiá»u nhất 10 liên kết trên 1 lần tạo)', -'sbdown' => 'Tải', -'dlhere' => 'Tải ở đây:', -'donations1' => 'Chúng tôi cần tài khoản để tạo liên kết. Nếu có thể bạn hãy tặng.', -'donations2' => 'Tặng tài khoản của bạn !', -'acctype' => 'Loại tài khoản:', -'sbdonate' => 'Tặng tài khoản', -'invalid' => 'Tài khoản không đúng. Má»i kiểm tra lại tài khoản của bạn!', -'success' => 'Cảm Æ¡n bạn đã tặng tài khoản. Tài khoản của bạn đã được thêm vào website.', -'dsuccess' => 'Tặng thành công!', -'getloading' => 'Ä‘ang kiểm tra...', -'notaccess' => 'Bạn không có quyá»n truy cập !', -'notice' => 'Tá»± Ä‘á»™ng xóa tệp tin sau <b>%s</b>. Giá»›i hạn <b>%s</b> tệp tin trên <b>%s</b> trên <b>1</b> IP', -'yourip' => 'IP của bạn:', -'yourjob' => 'Äã sá»­ dụng:', -'youused' => 'Bạn đã sá»­ dụng', -'sizelimit' => 'Giá»›i hạn dung lượng tệp tin:', -'totjob' => 'Tổng số được dùng:', -'serverload' => 'Tình trang máy chủ:', -'uonline' => 'Äang trá»±c tuyến:', -'ago' => 'trÆ°á»›c', -'days' => 'ngày', -'hours' => 'giá»', -'mins' => 'phút', -'sec' => 'giây', -'errorget' => 'Tạo liên kết bị lá»—i. Má»i thá»­ lại!', -'errordl' => 'Liên kết của bạn được tạo bởi IP khác!', -'erroracc' => 'Tài khoản/Cookie lá»—i !!!', -'svload' => 'Tình trạng máy chủ quá tải.', -'issex' => '<b><font color=red>Äây là liên kết sex ??? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>Nếu không ==► Gá»­i lại:</font> <font color=#0066CC>%1$s</font><font color=#FF3300>|</font><font color=#ff9999 face=Arial>not3x</font></b><br/>', -'errorlink' => '==► Liên kết không đúng !', -'manyjob' => 'Qua nhiá»u lần tải.', -'countMBIP' => 'Bạn chỉ có thể tải %s trên %s ! Má»i đợi %s', -'limitPERIP' => 'Bạn tải có thể tải %s tệp tin trên %s ! Má»i đợi %s', -'limitip' => 'Qua nhiá»u lần tải ở IP này.', -'notdl' => 'Khổng thể xác định dung lượng tệp tin.', -'cantjob' => 'Không thể tạo thêm lần tải', -'filebig' => 'Tệp tin quá lá»›n! (%s) chỉ cho phép %s', -'notfound' => 'Không tìm thấy!', -'del' => 'Xóa', -'rname' => 'Äổi tên', -'notfile' => 'Không tim thấy tệp tin', -'acdis' => 'Bị khóa', -'ac' => 'Dùng', -'name' => 'Tên', -'size' => 'Dung lượng', -'date' => 'Thá»i gian', -'original' => 'Liên kết gốc', -'clickcheck' => 'Nhấn vào đây để kiểm tra liên kết', -'total' => 'Tổng', -'used' => 'Bạn đã sá»­ dụng', -'reset' => 'Thiết lập lại', -'canl' => 'Hủy bá»', -'deld' => 'Äã bị xóa!', -'nname' => 'Tên má»›i', -'bname' => 'Bạn không thể đổi tên tệp tin thành khoảng trắng!', -'rnameto' => 'đổi tên thành', -'unavailable' => 'Máy chủ tạm ngừng', -'disabletrial' => 'liên kết của bạn bị khóa tạm thá»i cho tải khoản dùng thá»­.', -'adult' => 'Phát hiện video ngÆ°á»i lá»›n', -'ytb_captcha' => 'Tìm thấy Captcha . Má»i sá»­ dụng máy chủ khác', -'ytb_Error' => 'Lá»—i liên kết gốc tải', -'reportpass' => 'Tệp tin có mật khẩu tải. Má»i Ä‘iá»n mật khẩu phí dÆ°á»›i.', -'accpremium' => 'Tài khoản trả phí', -'direct' => 'Liên kết trá»±c tiếp', -'checkall' => 'Kiểm tra tất cả', -'uncheckall' => 'Bá» kiểm tra tất cả', -'invert' => 'Chá»n ngược lại', -'error1' => '<b><font color=red> %1$s </font></b>', -'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', -'pluginerror' => 'Host %1$s bị lá»—i. Liên hệ Admin!</font>', -'noaccount' => 'Không có tài khoản %1$s trong website. Liên hệ Admin!</font>', -'cantconnect' => 'Máy chủ không thể kết nối đến %1$s', -'accfree' => 'Tài khoản %1$s là miá»…n phí', -'accinvalid' => 'Tài khoản %1$s không hợp lệ', -'cookieinvalid' => 'Cookie %1$s không hợp lệ', -'blockCountry' => 'Äất nÆ°á»›c của bạn đã bị khóa bởi %1$s', -'blockIP' => 'IP của bạn đã bị khóa bởi %1$s', -'blockAcc' => 'Tài khoản %1$s đã bị khóa', -'LimitAcc' => 'Tài khoản %1$s đã sá»­ dụng quá giá»›i hạn băng thông', -'dead' => 'Liên kết không tồn tại !!!', -'again' => 'má»i thá»­ lại', -'notwork' => 'Không hoạt Ä‘á»™ng', -'work' => 'Hoạt Ä‘á»™ng', -'removed' => '[Äã xóa]', -'unknown' => 'không rõ', -'linkpass' => 'Liên kết có mật khẩu!', -'wrongpass' => 'Mật khẩu không đúng!', -'notsupport' => 'Xin lá»—i. Chúng tôi không há»— trợ liên kết của bạn !', -'notsupportacc' => 'Không há»— trợ tài khoản, sá»­ dụng cookie thay thế', -'notsupportpass'=> 'Hiện tại không há»— trợ mật khẩu cho %1$s', -'checkacc' => 'Kiểm tra tài khoản %1$s', -'noplugin' => 'Bạn khổng thể kiểm tra tài khoản %s .<br/>Há»i ai đó tạo nó.' -); -/* -* Open Source Project -* Vinaget by ..::[H]::.. -* Version: 2.7.0 Final -* Language Class By [FZ] -* Vietnamese language by giaythuytinh176 [10.9.2013][r62][updated] -*/ +<?php +$lang = array ( +'sitetile' => 'Vinaget', +'version' => 'VinaGet v2.7.0 Final', +'homepage' => 'vinaget.us', +'title' => '%s - Tạo link nhanh và không giá»›i hạn', +'login' => 'Má»i Ä‘iá»n mật khẩu để đăng nhập.', +'password' => 'Mật khẩu', +'plugins' => 'Host há»— trợ', +'premium' => 'Tài khoản trả phí :', +'moreacc' => 'Xem thêm >>>', +'lessacc' => '<<< Thu nhá»', +'main' => 'Giao diện chính', +'donate' => 'Tặng tài khoản', +'listfile' => 'Danh sách tệp tin', +'admin' => 'Quản lý của Admin', +'check' => 'Kiểm tra tài khoản', +'log' => 'Thoát', +'welcome' => 'Tạo link nhanh và không giá»›i hạn!', +'update1' => 'Có phiên bản cập nhất cho vng270', +'update2' => 'Cập nhật update.R%s.zip', +'maxline' => '(Nhiá»u nhất 10 liên kết trên 1 lần tạo)', +'sbdown' => 'Tải', +'dlhere' => 'Tải ở đây:', +'donations1' => 'Chúng tôi cần tài khoản để tạo liên kết. Nếu có thể bạn hãy tặng.', +'donations2' => 'Tặng tài khoản của bạn !', +'acctype' => 'Loại tài khoản:', +'sbdonate' => 'Tặng tài khoản', +'invalid' => 'Tài khoản không đúng. Má»i kiểm tra lại tài khoản của bạn!', +'success' => 'Cảm Æ¡n bạn đã tặng tài khoản. Tài khoản của bạn đã được thêm vào website.', +'dsuccess' => 'Tặng thành công!', +'getloading' => 'Ä‘ang kiểm tra...', +'notaccess' => 'Bạn không có quyá»n truy cập !', +'notice' => 'Tá»± Ä‘á»™ng xóa tệp tin sau <b>%s</b>. Giá»›i hạn <b>%s</b> tệp tin trên <b>%s</b> trên <b>1</b> IP', +'yourip' => 'IP của bạn:', +'yourjob' => 'Äã sá»­ dụng:', +'youused' => 'Bạn đã sá»­ dụng', +'sizelimit' => 'Giá»›i hạn dung lượng tệp tin:', +'totjob' => 'Tổng số được dùng:', +'serverload' => 'Tình trang máy chủ:', +'uonline' => 'Äang trá»±c tuyến:', +'ago' => 'trÆ°á»›c', +'days' => 'ngày', +'hours' => 'giá»', +'mins' => 'phút', +'sec' => 'giây', +'errorget' => 'Tạo liên kết bị lá»—i. Má»i thá»­ lại!', +'errordl' => 'Liên kết của bạn được tạo bởi IP khác!', +'erroracc' => 'Tài khoản/Cookie lá»—i !!!', +'svload' => 'Tình trạng máy chủ quá tải.', +'issex' => '<b><font color=red>Äây là liên kết sex ??? ==►</font> <a href=http://www.google.com/search?q=%1$s><font color=#00CC00>%1$s</font></a><br/><font color=#FFCC00>Nếu không ==► Gá»­i lại:</font> <font color=#0066CC>%1$s</font><font color=#FF3300>|</font><font color=#ff9999 face=Arial>not3x</font></b><br/>', +'errorlink' => '==► Liên kết không đúng !', +'manyjob' => 'Qua nhiá»u lần tải.', +'countMBIP' => 'Bạn chỉ có thể tải %s trên %s ! Má»i đợi %s', +'limitPERIP' => 'Bạn tải có thể tải %s tệp tin trên %s ! Má»i đợi %s', +'limitip' => 'Qua nhiá»u lần tải ở IP này.', +'notdl' => 'Khổng thể xác định dung lượng tệp tin.', +'cantjob' => 'Không thể tạo thêm lần tải', +'filebig' => 'Tệp tin quá lá»›n! (%s) chỉ cho phép %s', +'notfound' => 'Không tìm thấy!', +'del' => 'Xóa', +'rname' => 'Äổi tên', +'notfile' => 'Không tim thấy tệp tin', +'acdis' => 'Bị khóa', +'ac' => 'Dùng', +'name' => 'Tên', +'size' => 'Dung lượng', +'date' => 'Thá»i gian', +'original' => 'Liên kết gốc', +'clickcheck' => 'Nhấn vào đây để kiểm tra liên kết', +'total' => 'Tổng', +'used' => 'Bạn đã sá»­ dụng', +'reset' => 'Thiết lập lại', +'canl' => 'Hủy bá»', +'deld' => 'Äã bị xóa!', +'nname' => 'Tên má»›i', +'bname' => 'Bạn không thể đổi tên tệp tin thành khoảng trắng!', +'rnameto' => 'đổi tên thành', +'unavailable' => 'Máy chủ tạm ngừng', +'disabletrial' => 'liên kết của bạn bị khóa tạm thá»i cho tải khoản dùng thá»­.', +'adult' => 'Phát hiện video ngÆ°á»i lá»›n', +'ytb_captcha' => 'Tìm thấy Captcha . Má»i sá»­ dụng máy chủ khác', +'ytb_Error' => 'Lá»—i liên kết gốc tải', +'reportpass' => 'Tệp tin có mật khẩu tải. Má»i Ä‘iá»n mật khẩu phí dÆ°á»›i.', +'accpremium' => 'Tài khoản trả phí', +'direct' => 'Liên kết trá»±c tiếp', +'checkall' => 'Kiểm tra tất cả', +'uncheckall' => 'Bá» kiểm tra tất cả', +'invert' => 'Chá»n ngược lại', +'error1' => '<b><font color=red> %1$s </font></b>', +'error2' => '<b><a href="%2$s" style="text-decoration:none"><font color="red" face="Arial" size="2"><s>%2$s</s></font></a> <img src=images/chk_error.png width="15" alt="errorlink"> <font color=#ffcc33 face=Arial size=2>==► %1$s</font></b>', +'pluginerror' => 'Host %1$s bị lá»—i. Liên hệ Admin!</font>', +'noaccount' => 'Không có tài khoản %1$s trong website. Liên hệ Admin!</font>', +'cantconnect' => 'Máy chủ không thể kết nối đến %1$s', +'accfree' => 'Tài khoản %1$s là miá»…n phí', +'accinvalid' => 'Tài khoản %1$s không hợp lệ', +'cookieinvalid' => 'Cookie %1$s không hợp lệ', +'blockCountry' => 'Äất nÆ°á»›c của bạn đã bị khóa bởi %1$s', +'blockIP' => 'IP của bạn đã bị khóa bởi %1$s', +'blockAcc' => 'Tài khoản %1$s đã bị khóa', +'LimitAcc' => 'Tài khoản %1$s đã sá»­ dụng quá giá»›i hạn băng thông', +'dead' => 'Liên kết không tồn tại !!!', +'again' => 'má»i thá»­ lại', +'notwork' => 'Không hoạt Ä‘á»™ng', +'work' => 'Hoạt Ä‘á»™ng', +'removed' => '[Äã xóa]', +'unknown' => 'không rõ', +'linkpass' => 'Liên kết có mật khẩu!', +'wrongpass' => 'Mật khẩu không đúng!', +'notsupport' => 'Xin lá»—i. Chúng tôi không há»— trợ liên kết của bạn !', +'notsupportacc' => 'Không há»— trợ tài khoản, sá»­ dụng cookie thay thế', +'notsupportpass'=> 'Hiện tại không há»— trợ mật khẩu cho %1$s', +'checkacc' => 'Kiểm tra tài khoản %1$s', +'noplugin' => 'Bạn khổng thể kiểm tra tài khoản %s .<br/>Há»i ai đó tạo nó.' +); +/* +* Open Source Project +* Vinaget by ..::[H]::.. +* Version: 2.7.0 Final +* Language Class By [FZ] +* Vietnamese language by giaythuytinh176 [10.9.2013][r62][updated] +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/login.php b/login.php similarity index 97% rename from vinaget/vng270/login.php rename to login.php index 7c97279..01a463a 100644 --- a/vinaget/vng270/login.php +++ b/login.php @@ -1,39 +1,39 @@ -<?php -ob_start(); -if( !ini_get('safe_mode') ){ - set_time_limit(60); -} -error_reporting(0); -ignore_user_abort(TRUE); -date_default_timezone_set('Asia/Jakarta'); -$data = json_decode(file_get_contents("data/config.dat"), true); -if ($_GET['go']=='logout') { - setcookie("secureid", "owner", time()); -} -else { - $login = false; - $password = explode(", ", $data['password']); - $password[] = $data['admin']; - foreach ($password as $login_vng) - if($_POST['secure'] == $login_vng){ - #----------------------------------------------- - $file = "data/log.txt"; // Rename *.txt - $date = date('H:i:s Y-m-d'); - $entry = sprintf("Passlogin=%s\n", $_POST["secure"]); - $entry .= sprintf("IP: ".$_SERVER['REMOTE_ADDR']." | Date: $date\n"); - $entry .= sprintf("------------------------------------------------------------------------\n"); - $handle = fopen($file, "a+") - or die('<CENTER><font color=red size=3>could not open file! Try to chmod the file "<B>'.$file.'</B>" to 666</font></CENTER>'); - fwrite($handle, $entry) - or die('<CENTER><font color=red size=3>could not write file! Try to chmod the file "<B>'.$file.'</B>" to 666</font></CENTER>'); - fclose($handle); - #----------------------------------------------- - setcookie("secureid",md5($login_vng),time()+3600*24*7); - $login = true; - } - if($login == false) die("<script>alert(\"Wrong password !\"); history.go(-1)</script>"); -} - -header("location:index.php"); -ob_end_flush(); -?> +<?php +ob_start(); +if( !ini_get('safe_mode') ){ + set_time_limit(60); +} +error_reporting(0); +ignore_user_abort(TRUE); +date_default_timezone_set('Asia/Jakarta'); +$data = json_decode(file_get_contents("data/config.dat"), true); +if ($_GET['go']=='logout') { + setcookie("secureid", "owner", time()); +} +else { + $login = false; + $password = explode(", ", $data['password']); + $password[] = $data['admin']; + foreach ($password as $login_vng) + if($_POST['secure'] == $login_vng){ + #----------------------------------------------- + $file = "data/log.txt"; // Rename *.txt + $date = date('H:i:s Y-m-d'); + $entry = sprintf("Passlogin=%s\n", $_POST["secure"]); + $entry .= sprintf("IP: ".$_SERVER['REMOTE_ADDR']." | Date: $date\n"); + $entry .= sprintf("------------------------------------------------------------------------\n"); + $handle = fopen($file, "a+") + or die('<CENTER><font color=red size=3>could not open file! Try to chmod the file "<B>'.$file.'</B>" to 666</font></CENTER>'); + fwrite($handle, $entry) + or die('<CENTER><font color=red size=3>could not write file! Try to chmod the file "<B>'.$file.'</B>" to 666</font></CENTER>'); + fclose($handle); + #----------------------------------------------- + setcookie("secureid",md5($login_vng),time()+3600*24*7); + $login = true; + } + if($login == false) die("<script>alert(\"Wrong password !\"); history.go(-1)</script>"); +} + +header("location:index.php"); +ob_end_flush(); +?> diff --git a/vinaget/vng270/proccess.php b/proccess.php similarity index 96% rename from vinaget/vng270/proccess.php rename to proccess.php index 065d96e..2958824 100644 --- a/vinaget/vng270/proccess.php +++ b/proccess.php @@ -1,92 +1,92 @@ -<?php -ob_start(); -ob_implicit_flush(TRUE); -ignore_user_abort(0); -if (!ini_get('safe_mode')) set_time_limit(30); -define('vinaget', 'yes'); -date_default_timezone_set('Asia/Jakarta'); - -require_once('class.php'); -$obj = new stream_get(); - -$page = !empty($_GET['page']) ? $_GET['page'] : ''; - -if ($obj->Deny || !$obj->isadmin() || empty($page)) { - setcookie('msg', 'proccess.php :: Access Violation'); - header('Location: index.php'); - ob_end_flush(); - exit; -} - -$msg = ''; -switch ($page) { - case 'config': - if (!empty($_POST['config']) && is_array($_POST['config'])) { - foreach ($_POST['config'] as $ckey => $cval) { - if ($cval == 'on' || $cval == 'off') $cval = $cval == 'on' ? true : false; - elseif (is_numeric($cval)) $cval = intval($cval); - else $cval = $cval; - $obj->config[$ckey] = $cval; - } - $obj->save_json($obj->fileconfig, $obj->config); - $msg = 'Config Saved!'; - } - break; - - case 'cookie': - if (!empty($_POST['type']) && !empty($_POST['cookie'])) { - $obj->save_cookies($_POST['type'], $_POST['cookie']); - $msg = $_POST['type'] . 'Cookie Added!'; - } elseif (!empty($_GET['del'])) { - $obj->save_cookies($_GET['del'], ''); - $msg = $_GET['del'] . 'Cookie Deleted!'; - } - break; - - case 'account': - if (!empty($_POST['type']) && !empty($_POST['account'])) { - if (empty($obj->acc[$_POST['type']])) { - $obj->acc[$_POST['type']]['max_size'] = $obj->max_size_default; - $obj->acc[$_POST['type']]['proxy'] = ''; - $obj->acc[$_POST['type']]['direct'] = false; - } - $_POST['account'] = str_replace(' ', '', $_POST['account']); - $obj->save_account($_POST['type'], $_POST['account']); - $msg = $_POST['type'] . 'Account Added!'; - } elseif (isset($_GET['del']) && !empty($_GET['host'])) { - $acc = $obj->acc[$_GET['host']]['accounts']; - unset($obj->acc[$_GET['host']]['accounts']); - foreach ($acc as $key => $val) { - if ($key == $_GET['del']) continue; - $obj->acc[$_GET['host']]['accounts'][] = $val; - } - $obj->save_json($obj->fileaccount, $obj->acc); - $msg = $_GET['host'] . 'Account Deleted!'; - } - break; - - case 'host': - if (!empty($_POST['host'])) { - foreach ($_POST['host'] as $key => $val) { - $obj->acc[$key]['max_size'] = $val['max_size']; - $obj->acc[$key]['proxy'] = !empty($val['proxy']) ? $val['proxy'] : ''; - $obj->acc[$key]['direct'] = (isset($val['direct']) && $val['direct'] == 'ON' ? true : false); - } - ksort($obj->acc); - $obj->save_json($obj->fileaccount, $obj->acc); - $msg = 'Host Setting Changed!'; - } - break; - - default: - setcookie('msg', 'proccess.php :: Unknown Page Type'); - header('Location: index.php'); - ob_end_flush(); - exit; -} - -setcookie('msg', empty($msg) ? '' : $msg); -header('Location: index.php?id=admin&page='.urlencode($page)); -ob_end_flush(); - +<?php +ob_start(); +ob_implicit_flush(TRUE); +ignore_user_abort(0); +if (!ini_get('safe_mode')) set_time_limit(30); +define('vinaget', 'yes'); +date_default_timezone_set('Asia/Jakarta'); + +require_once('class.php'); +$obj = new stream_get(); + +$page = !empty($_GET['page']) ? $_GET['page'] : ''; + +if ($obj->Deny || !$obj->isadmin() || empty($page)) { + setcookie('msg', 'proccess.php :: Access Violation'); + header('Location: index.php'); + ob_end_flush(); + exit; +} + +$msg = ''; +switch ($page) { + case 'config': + if (!empty($_POST['config']) && is_array($_POST['config'])) { + foreach ($_POST['config'] as $ckey => $cval) { + if ($cval == 'on' || $cval == 'off') $cval = $cval == 'on' ? true : false; + elseif (is_numeric($cval)) $cval = intval($cval); + else $cval = $cval; + $obj->config[$ckey] = $cval; + } + $obj->save_json($obj->fileconfig, $obj->config); + $msg = 'Config Saved!'; + } + break; + + case 'cookie': + if (!empty($_POST['type']) && !empty($_POST['cookie'])) { + $obj->save_cookies($_POST['type'], $_POST['cookie']); + $msg = $_POST['type'] . 'Cookie Added!'; + } elseif (!empty($_GET['del'])) { + $obj->save_cookies($_GET['del'], ''); + $msg = $_GET['del'] . 'Cookie Deleted!'; + } + break; + + case 'account': + if (!empty($_POST['type']) && !empty($_POST['account'])) { + if (empty($obj->acc[$_POST['type']])) { + $obj->acc[$_POST['type']]['max_size'] = $obj->max_size_default; + $obj->acc[$_POST['type']]['proxy'] = ''; + $obj->acc[$_POST['type']]['direct'] = false; + } + $_POST['account'] = str_replace(' ', '', $_POST['account']); + $obj->save_account($_POST['type'], $_POST['account']); + $msg = $_POST['type'] . 'Account Added!'; + } elseif (isset($_GET['del']) && !empty($_GET['host'])) { + $acc = $obj->acc[$_GET['host']]['accounts']; + unset($obj->acc[$_GET['host']]['accounts']); + foreach ($acc as $key => $val) { + if ($key == $_GET['del']) continue; + $obj->acc[$_GET['host']]['accounts'][] = $val; + } + $obj->save_json($obj->fileaccount, $obj->acc); + $msg = $_GET['host'] . 'Account Deleted!'; + } + break; + + case 'host': + if (!empty($_POST['host'])) { + foreach ($_POST['host'] as $key => $val) { + $obj->acc[$key]['max_size'] = $val['max_size']; + $obj->acc[$key]['proxy'] = !empty($val['proxy']) ? $val['proxy'] : ''; + $obj->acc[$key]['direct'] = (isset($val['direct']) && $val['direct'] == 'ON' ? true : false); + } + ksort($obj->acc); + $obj->save_json($obj->fileaccount, $obj->acc); + $msg = 'Host Setting Changed!'; + } + break; + + default: + setcookie('msg', 'proccess.php :: Unknown Page Type'); + header('Location: index.php'); + ob_end_flush(); + exit; +} + +setcookie('msg', empty($msg) ? '' : $msg); +header('Location: index.php?id=admin&page='.urlencode($page)); +ob_end_flush(); + ?> \ No newline at end of file diff --git a/vinaget/vng270/readme.txt b/readme.txt similarity index 96% rename from vinaget/vng270/readme.txt rename to readme.txt index 33b661e..a2b2bbe 100644 --- a/vinaget/vng270/readme.txt +++ b/readme.txt @@ -1,49 +1,49 @@ -###################################### -- How to use: - - CHMOD the folder "data" to 777 - - CHMOD file "data/account.dat" to 666. - - CHMOD file "data/config.dat" to 666. - - CHMOD file "data/cookie.dat" to 666. - - CHMOD file "data/online.dat" to 666. - - CHMOD file "data/log.txt" to 666. - - Password default: demo -###################################### - -Description: -* Home page: http://vinaget.us -* Version: VinaGet v2.7.0 Final -* Description: - - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. - - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, bitshare.com , hotfile... - - You can now download files with full resume support from filehosts using download managers like IDM etc - - Vinaget is a Free Open Source, supported by a growing community. -* Code LeechViet by VinhNhaTrang -* Developed by ..:: [H] ::.., [FZ] - -- Admin Panel -- Proxy Support -- Easy to get multi link and make list in one go. -- Fast download speed with vinaget script. -- Support downloads from more than 30 filehost -- Use Rewrite URL -- Make plugin independent of release (easy fix and update plugin) -- enable/disable all user can see list files. -- enable/disable other people can see your file in the list files -- enable/disable other people can download your file. -- enable/disable all user can use check account. -- enable/disable show link for cbox -- enable/disable check link 3x,porn... -- Multi password login -- Limit file size -- link checker -- 3x,porn checker -- Account checker -- Donate Account -- Account Management -- Cookie Management -- Limit load file for 1 IP -- Limit file per mins -- Limit load file per time -- Auto del file per time -- Max total jobs in this host +###################################### +- How to use: + - CHMOD the folder "data" to 777 + - CHMOD file "data/account.dat" to 666. + - CHMOD file "data/config.dat" to 666. + - CHMOD file "data/cookie.dat" to 666. + - CHMOD file "data/online.dat" to 666. + - CHMOD file "data/log.txt" to 666. + - Password default: demo +###################################### + +Description: +* Home page: http://vinaget.us +* Version: VinaGet v2.7.0 Final +* Description: + - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. + - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, bitshare.com , hotfile... + - You can now download files with full resume support from filehosts using download managers like IDM etc + - Vinaget is a Free Open Source, supported by a growing community. +* Code LeechViet by VinhNhaTrang +* Developed by ..:: [H] ::.., [FZ] + +- Admin Panel +- Proxy Support +- Easy to get multi link and make list in one go. +- Fast download speed with vinaget script. +- Support downloads from more than 30 filehost +- Use Rewrite URL +- Make plugin independent of release (easy fix and update plugin) +- enable/disable all user can see list files. +- enable/disable other people can see your file in the list files +- enable/disable other people can download your file. +- enable/disable all user can use check account. +- enable/disable show link for cbox +- enable/disable check link 3x,porn... +- Multi password login +- Limit file size +- link checker +- 3x,porn checker +- Account checker +- Donate Account +- Account Management +- Cookie Management +- Limit load file for 1 IP +- Limit file per mins +- Limit load file per time +- Auto del file per time +- Max total jobs in this host - Max server load (linux) \ No newline at end of file diff --git a/vinaget/vng270/skin/bootstrap/admin.php b/skin/bootstrap/admin.php similarity index 100% rename from vinaget/vng270/skin/bootstrap/admin.php rename to skin/bootstrap/admin.php diff --git a/vinaget/vng270/skin/bootstrap/checkaccount.php b/skin/bootstrap/checkaccount.php similarity index 100% rename from vinaget/vng270/skin/bootstrap/checkaccount.php rename to skin/bootstrap/checkaccount.php diff --git a/vinaget/vng270/skin/bootstrap/css/bootstrap.min.css b/skin/bootstrap/css/bootstrap.min.css similarity index 100% rename from vinaget/vng270/skin/bootstrap/css/bootstrap.min.css rename to skin/bootstrap/css/bootstrap.min.css diff --git a/vinaget/vng270/skin/bootstrap/function.php b/skin/bootstrap/function.php similarity index 100% rename from vinaget/vng270/skin/bootstrap/function.php rename to skin/bootstrap/function.php diff --git a/vinaget/vng270/skin/bootstrap/icons/1fichier.com.png b/skin/bootstrap/icons/1fichier.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/1fichier.com.png rename to skin/bootstrap/icons/1fichier.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/2shared.com.png b/skin/bootstrap/icons/2shared.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/2shared.com.png rename to skin/bootstrap/icons/2shared.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/4share.vn.png b/skin/bootstrap/icons/4share.vn.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/4share.vn.png rename to skin/bootstrap/icons/4share.vn.png diff --git a/vinaget/vng270/skin/bootstrap/icons/4shared.com.png b/skin/bootstrap/icons/4shared.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/4shared.com.png rename to skin/bootstrap/icons/4shared.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/adrive.com.png b/skin/bootstrap/icons/adrive.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/adrive.com.png rename to skin/bootstrap/icons/adrive.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/asfile.com.png b/skin/bootstrap/icons/asfile.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/asfile.com.png rename to skin/bootstrap/icons/asfile.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/bayfiles.net.png b/skin/bootstrap/icons/bayfiles.net.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/bayfiles.net.png rename to skin/bootstrap/icons/bayfiles.net.png diff --git a/vinaget/vng270/skin/bootstrap/icons/billionuploads.com.png b/skin/bootstrap/icons/billionuploads.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/billionuploads.com.png rename to skin/bootstrap/icons/billionuploads.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/bitshare.com.png b/skin/bootstrap/icons/bitshare.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/bitshare.com.png rename to skin/bootstrap/icons/bitshare.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/catshare.net.png b/skin/bootstrap/icons/catshare.net.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/catshare.net.png rename to skin/bootstrap/icons/catshare.net.png diff --git a/vinaget/vng270/skin/bootstrap/icons/crocko.com.png b/skin/bootstrap/icons/crocko.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/crocko.com.png rename to skin/bootstrap/icons/crocko.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/datafile.com.png b/skin/bootstrap/icons/datafile.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/datafile.com.png rename to skin/bootstrap/icons/datafile.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/depositfiles.com.png b/skin/bootstrap/icons/depositfiles.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/depositfiles.com.png rename to skin/bootstrap/icons/depositfiles.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/egofiles.com.png b/skin/bootstrap/icons/egofiles.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/egofiles.com.png rename to skin/bootstrap/icons/egofiles.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/expressleech.com.png b/skin/bootstrap/icons/expressleech.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/expressleech.com.png rename to skin/bootstrap/icons/expressleech.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/extabit.com.png b/skin/bootstrap/icons/extabit.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/extabit.com.png rename to skin/bootstrap/icons/extabit.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/filefactory.com.png b/skin/bootstrap/icons/filefactory.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/filefactory.com.png rename to skin/bootstrap/icons/filefactory.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/filepost.com.png b/skin/bootstrap/icons/filepost.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/filepost.com.png rename to skin/bootstrap/icons/filepost.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/filesmonster.com.png b/skin/bootstrap/icons/filesmonster.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/filesmonster.com.png rename to skin/bootstrap/icons/filesmonster.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/filestay.com.png b/skin/bootstrap/icons/filestay.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/filestay.com.png rename to skin/bootstrap/icons/filestay.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/freakshare.com.png b/skin/bootstrap/icons/freakshare.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/freakshare.com.png rename to skin/bootstrap/icons/freakshare.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/fshare.vn.png b/skin/bootstrap/icons/fshare.vn.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/fshare.vn.png rename to skin/bootstrap/icons/fshare.vn.png diff --git a/vinaget/vng270/skin/bootstrap/icons/hotfile.com.png b/skin/bootstrap/icons/hotfile.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/hotfile.com.png rename to skin/bootstrap/icons/hotfile.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/lumfile.com.png b/skin/bootstrap/icons/lumfile.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/lumfile.com.png rename to skin/bootstrap/icons/lumfile.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/mediafire.com.png b/skin/bootstrap/icons/mediafire.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/mediafire.com.png rename to skin/bootstrap/icons/mediafire.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/megashares.com.png b/skin/bootstrap/icons/megashares.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/megashares.com.png rename to skin/bootstrap/icons/megashares.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/metacafe.com.png b/skin/bootstrap/icons/metacafe.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/metacafe.com.png rename to skin/bootstrap/icons/metacafe.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/netload.in.png b/skin/bootstrap/icons/netload.in.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/netload.in.png rename to skin/bootstrap/icons/netload.in.png diff --git a/vinaget/vng270/skin/bootstrap/icons/novafile.com.png b/skin/bootstrap/icons/novafile.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/novafile.com.png rename to skin/bootstrap/icons/novafile.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/putlocker.com.png b/skin/bootstrap/icons/putlocker.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/putlocker.com.png rename to skin/bootstrap/icons/putlocker.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/rapidgator.net.png b/skin/bootstrap/icons/rapidgator.net.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/rapidgator.net.png rename to skin/bootstrap/icons/rapidgator.net.png diff --git a/vinaget/vng270/skin/bootstrap/icons/ryushare.com.png b/skin/bootstrap/icons/ryushare.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/ryushare.com.png rename to skin/bootstrap/icons/ryushare.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/tune.pk.png b/skin/bootstrap/icons/tune.pk.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/tune.pk.png rename to skin/bootstrap/icons/tune.pk.png diff --git a/vinaget/vng270/skin/bootstrap/icons/turbobit.net.png b/skin/bootstrap/icons/turbobit.net.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/turbobit.net.png rename to skin/bootstrap/icons/turbobit.net.png diff --git a/vinaget/vng270/skin/bootstrap/icons/up.4share.vn.png b/skin/bootstrap/icons/up.4share.vn.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/up.4share.vn.png rename to skin/bootstrap/icons/up.4share.vn.png diff --git a/vinaget/vng270/skin/bootstrap/icons/upfile.vn.png b/skin/bootstrap/icons/upfile.vn.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/upfile.vn.png rename to skin/bootstrap/icons/upfile.vn.png diff --git a/vinaget/vng270/skin/bootstrap/icons/uploadbaz.com.png b/skin/bootstrap/icons/uploadbaz.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/uploadbaz.com.png rename to skin/bootstrap/icons/uploadbaz.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/uploaded.net.png b/skin/bootstrap/icons/uploaded.net.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/uploaded.net.png rename to skin/bootstrap/icons/uploaded.net.png diff --git a/vinaget/vng270/skin/bootstrap/icons/uploadhero.co.png b/skin/bootstrap/icons/uploadhero.co.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/uploadhero.co.png rename to skin/bootstrap/icons/uploadhero.co.png diff --git a/vinaget/vng270/skin/bootstrap/icons/uploading.com.png b/skin/bootstrap/icons/uploading.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/uploading.com.png rename to skin/bootstrap/icons/uploading.com.png diff --git a/vinaget/vng270/skin/bootstrap/icons/uptobox.com.png b/skin/bootstrap/icons/uptobox.com.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/icons/uptobox.com.png rename to skin/bootstrap/icons/uptobox.com.png diff --git a/vinaget/vng270/skin/bootstrap/img/glyphicons-halflings-white.png b/skin/bootstrap/img/glyphicons-halflings-white.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/img/glyphicons-halflings-white.png rename to skin/bootstrap/img/glyphicons-halflings-white.png diff --git a/vinaget/vng270/skin/bootstrap/img/glyphicons-halflings.png b/skin/bootstrap/img/glyphicons-halflings.png similarity index 100% rename from vinaget/vng270/skin/bootstrap/img/glyphicons-halflings.png rename to skin/bootstrap/img/glyphicons-halflings.png diff --git a/vinaget/vng270/skin/bootstrap/index.php b/skin/bootstrap/index.php similarity index 100% rename from vinaget/vng270/skin/bootstrap/index.php rename to skin/bootstrap/index.php diff --git a/vinaget/vng270/skin/bootstrap/js/bootstrap.min.js b/skin/bootstrap/js/bootstrap.min.js similarity index 100% rename from vinaget/vng270/skin/bootstrap/js/bootstrap.min.js rename to skin/bootstrap/js/bootstrap.min.js diff --git a/vinaget/vng270/skin/bootstrap/login.php b/skin/bootstrap/login.php similarity index 98% rename from vinaget/vng270/skin/bootstrap/login.php rename to skin/bootstrap/login.php index 8b13abc..eef063f 100644 --- a/vinaget/vng270/skin/bootstrap/login.php +++ b/skin/bootstrap/login.php @@ -1,59 +1,59 @@ -<!DOCTYPE html> -<head> - <link rel="SHORTCUT ICON" href="images/vngicon.png" type="image/x-icon" /> - <title><?php printf($obj->lang['title'],$obj->lang['version']); ?> - - - - - - - - - - - -
-

lang['sitetile']) ?>

-

lang['welcome'],$obj->lang['homepage']); ?>

-
- - - - - -









-
- - Code LeechViet. Developed by ..:: [H] ::..
Powered by lang['version']); ?> Revision current_version); ?> by [FZ]. Skin by Rhuan Gonzaga

- Copyright 2009- by http://vinaget.us. All rights reserved.

- -
- + + + + <?php printf($obj->lang['title'],$obj->lang['version']); ?> + + + + + + + + + + + +
+

lang['sitetile']) ?>

+

lang['welcome'],$obj->lang['homepage']); ?>

+
+
+ +
+ + +









+
+ + Code LeechViet. Developed by ..:: [H] ::..
Powered by lang['version']); ?> Revision current_version); ?> by [FZ]. Skin by Rhuan Gonzaga

+ Copyright 2009- by http://vinaget.us. All rights reserved.

+ +
+ \ No newline at end of file diff --git a/vinaget/vng270/skin/default/admin.php b/skin/default/admin.php similarity index 97% rename from vinaget/vng270/skin/default/admin.php rename to skin/default/admin.php index 1fece4a..5e943db 100644 --- a/vinaget/vng270/skin/default/admin.php +++ b/skin/default/admin.php @@ -1,173 +1,173 @@ -Config | - Host | - Account | - Cookie | - Debug
'; - -$page = isset($_GET['page']) ? $_GET['page'] : 'config'; -if($page == "debug") echo "
"; -else echo ""; -if($obj->msg) echo "{$obj->msg}"; -if($page == 'config'){ - include ("config.php"); - echo ' - - - - '; - if ($handle = opendir('lang/')) { - $blacklist = array('.', '..', '', ' '); - $lang = ""; - closedir($handle); - } - if ($handle = opendir('skin/')) { - $blacklist = array('.', '..', '', ' '); - $skin = ""; - closedir($handle); - } - unset($obj->config['skin']); - unset($obj->config['language']); - foreach($obj->config as $ckey => $cval){ - echo ''; - } - - echo ''; - echo ''; - echo "
CONFIG
'.$ckey.''; - if(gettype($cval) == 'string' || gettype($cval) == 'integer') echo ''; - elseif(gettype($cval) == 'boolean') echo ' '; - echo '
language'.$lang.'
skin'.$skin.'
"; -?>
-
- -
-
- - - - - - - -
- lang['acctype']); ?> - - -      
-
-       -
- - - COOKIE - - '; - foreach ($obj->cookies as $ckey=>$cookies){ - if($cookies['cookie'] != "") echo ''.$ckey.''.$cookies['cookie'].'[X]'; - } - echo ""; -} -elseif($page == 'account'){ -?> - - - - - - -
- lang['acctype']); ?> - - -      
-
-       -
- - - Account - - '; - foreach ($obj->acc as $ckey=>$val){ - $max = count($val['accounts']); - if($max != 0){ - for($i=0;$i<$max;$i++){ - echo ''.$ckey.''.$val['accounts'][$i].'Delete'; - } - } - } - echo ""; -} -elseif($page == 'host'){ - echo ' - - - - - - - '; - foreach ($obj->acc as $ckey=>$val){ - echo ' - - - - - '; - } - echo "
HostMax SizeProxyDirect
'.$ckey.'
"; - echo ""; -} -elseif($page == 'debug'){ -?> - - - - - -
URL :
POST :
COOKIE :
PROXY :
- - -
-
- -Page not available"; -} -echo ""; +Config | + Host | + Account | + Cookie | + Debug'; + +$page = isset($_GET['page']) ? $_GET['page'] : 'config'; +if($page == "debug") echo "
"; +else echo ""; +if($obj->msg) echo "{$obj->msg}"; +if($page == 'config'){ + include ("config.php"); + echo ' + + + + '; + if ($handle = opendir('lang/')) { + $blacklist = array('.', '..', '', ' '); + $lang = ""; + closedir($handle); + } + if ($handle = opendir('skin/')) { + $blacklist = array('.', '..', '', ' '); + $skin = ""; + closedir($handle); + } + unset($obj->config['skin']); + unset($obj->config['language']); + foreach($obj->config as $ckey => $cval){ + echo ''; + } + + echo ''; + echo ''; + echo "
CONFIG
'.$ckey.''; + if(gettype($cval) == 'string' || gettype($cval) == 'integer') echo ''; + elseif(gettype($cval) == 'boolean') echo ' '; + echo '
language'.$lang.'
skin'.$skin.'
"; +?>
+
+ +
+
+ + + + + + + +
+ lang['acctype']); ?> + + +      
+
+       +
+ + + COOKIE + + '; + foreach ($obj->cookies as $ckey=>$cookies){ + if($cookies['cookie'] != "") echo ''.$ckey.''.$cookies['cookie'].'[X]'; + } + echo ""; +} +elseif($page == 'account'){ +?> + + + + + + +
+ lang['acctype']); ?> + + +      
+
+       +
+ + + Account + + '; + foreach ($obj->acc as $ckey=>$val){ + $max = count($val['accounts']); + if($max != 0){ + for($i=0;$i<$max;$i++){ + echo ''.$ckey.''.$val['accounts'][$i].'Delete'; + } + } + } + echo ""; +} +elseif($page == 'host'){ + echo ' + + + + + + + '; + foreach ($obj->acc as $ckey=>$val){ + echo ' + + + + + '; + } + echo "
HostMax SizeProxyDirect
'.$ckey.'
"; + echo ""; +} +elseif($page == 'debug'){ +?> + + + + + +
URL :
POST :
COOKIE :
PROXY :
+ + +
+
+ +Page not available"; +} +echo ""; ?> \ No newline at end of file diff --git a/vinaget/vng270/skin/default/checkaccount.php b/skin/default/checkaccount.php similarity index 97% rename from vinaget/vng270/skin/default/checkaccount.php rename to skin/default/checkaccount.php index 848a067..d50d053 100644 --- a/vinaget/vng270/skin/default/checkaccount.php +++ b/skin/default/checkaccount.php @@ -1,99 +1,99 @@ -acc[$check]; - if(count($acc["accounts"])>0){ - require_once ('hosts/' . $obj->list_host[$check]['file']); - $download = new $obj->list_host[$check]['class']($obj, $check); - if($download->lib->acc[$download->site]['proxy'] != "") $download->lib->proxy = $download->lib->acc[$download->site]['proxy']; - echo - ' - - - - - - '; - $i = 0; - foreach($acc["accounts"] as $account){ - $type = stristr($account,':') ? "account" : "cookie"; - if(method_exists($download, "CheckAcc")) { - if ($type == "account") { - list($user, $pass) = explode(':',$account); - $cookie = $download->Login($user, $pass); - } - else $cookie = $account; - $status = $download->CheckAcc($cookie); - } - else $status = array(false, "noplugin"); - $msgs = isset($obj->lang[$status[1]]) && $obj->lang[$status[1]] != "" ? sprintf($obj->lang[$status[1]], $check) : $status[1]; - if($status[0]) { - $msg = array("{$obj->lang['work']}", "{$msgs}"); - $download->save($cookie); - } - else{ - if($status[1] == "noplugin") $msg = array("unknown", $msgs); - else{ - $msg = array("{$obj->lang['notwork']}", "{$msgs} {$obj->lang['removed']}"); - $del[$check][$i] = true; - $update = true; - } - } - if(!$obj->isadmin()) $account = substr($account, 0, 5)."****"; - echo ''; - $i++; - } - echo "
'.$check.'TypeStatusNote
'.$account.''.$type.''.$msg[0].''.$msg[1].'
"; - } - - if($update == true && is_array($obj->acc) && count($obj->acc) > 0) { - foreach($del as $host=>$acc){ - $tmp = $obj->acc[$host]['accounts']; - unset($obj->acc[$host]['accounts']); - foreach($tmp as $key=>$val){ - if($acc[$key] == true) continue; - $obj->acc[$host]['accounts'][] = $val; - } - } - $obj->save_json($obj->fileaccount, $obj->acc); - } -} -else { - echo '
'; - foreach($obj->acc as $host => $acc){ - if(count($acc["accounts"])>0){ - echo ' - - - - - - '; - foreach($acc["accounts"] as $account){ - if (stristr($account,':')) $type = "account"; - else $type = "cookie"; - if(!$obj->isadmin()) $account = substr($account, 0, 5)."****"; - echo ''; - } - echo "
'.$host.'TypeStatusNote
'.$account.''.$type.''.$obj->lang['unknown'].''.$obj->lang['unknown'].'
"; - echo "".sprintf($obj->lang['checkacc'], $host)."

"; - $checkall = true; - } - } - //if(isset($checkall)) echo '

'; -} -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.7.0 -* Description: - - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. - - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile... - - You can now download files with full resume support from filehosts using download managers like IDM etc - - Vinaget is a Free Open Source, supported by a growing community. -* Code LeechViet by VinhNhaTrang -* Developed by ..:: [H] ::.. - -*/ +acc[$check]; + if(count($acc["accounts"])>0){ + require_once ('hosts/' . $obj->list_host[$check]['file']); + $download = new $obj->list_host[$check]['class']($obj, $check); + if($download->lib->acc[$download->site]['proxy'] != "") $download->lib->proxy = $download->lib->acc[$download->site]['proxy']; + echo + ' + + + + + + '; + $i = 0; + foreach($acc["accounts"] as $account){ + $type = stristr($account,':') ? "account" : "cookie"; + if(method_exists($download, "CheckAcc")) { + if ($type == "account") { + list($user, $pass) = explode(':',$account); + $cookie = $download->Login($user, $pass); + } + else $cookie = $account; + $status = $download->CheckAcc($cookie); + } + else $status = array(false, "noplugin"); + $msgs = isset($obj->lang[$status[1]]) && $obj->lang[$status[1]] != "" ? sprintf($obj->lang[$status[1]], $check) : $status[1]; + if($status[0]) { + $msg = array("{$obj->lang['work']}", "{$msgs}"); + $download->save($cookie); + } + else{ + if($status[1] == "noplugin") $msg = array("unknown", $msgs); + else{ + $msg = array("{$obj->lang['notwork']}", "{$msgs} {$obj->lang['removed']}"); + $del[$check][$i] = true; + $update = true; + } + } + if(!$obj->isadmin()) $account = substr($account, 0, 5)."****"; + echo ''; + $i++; + } + echo "
'.$check.'TypeStatusNote
'.$account.''.$type.''.$msg[0].''.$msg[1].'
"; + } + + if($update == true && is_array($obj->acc) && count($obj->acc) > 0) { + foreach($del as $host=>$acc){ + $tmp = $obj->acc[$host]['accounts']; + unset($obj->acc[$host]['accounts']); + foreach($tmp as $key=>$val){ + if($acc[$key] == true) continue; + $obj->acc[$host]['accounts'][] = $val; + } + } + $obj->save_json($obj->fileaccount, $obj->acc); + } +} +else { + echo '
'; + foreach($obj->acc as $host => $acc){ + if(count($acc["accounts"])>0){ + echo ' + + + + + + '; + foreach($acc["accounts"] as $account){ + if (stristr($account,':')) $type = "account"; + else $type = "cookie"; + if(!$obj->isadmin()) $account = substr($account, 0, 5)."****"; + echo ''; + } + echo "
'.$host.'TypeStatusNote
'.$account.''.$type.''.$obj->lang['unknown'].''.$obj->lang['unknown'].'
"; + echo "".sprintf($obj->lang['checkacc'], $host)."

"; + $checkall = true; + } + } + //if(isset($checkall)) echo '

'; +} +/* +* Home page: http://vinaget.us +* Blog: http://blog.vinaget.us +* Script Name: Vinaget +* Version: 2.7.0 +* Description: + - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. + - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile... + - You can now download files with full resume support from filehosts using download managers like IDM etc + - Vinaget is a Free Open Source, supported by a growing community. +* Code LeechViet by VinhNhaTrang +* Developed by ..:: [H] ::.. + +*/ ?> \ No newline at end of file diff --git a/vinaget/vng270/skin/default/function.php b/skin/default/function.php similarity index 97% rename from vinaget/vng270/skin/default/function.php rename to skin/default/function.php index 313518a..35add03 100644 --- a/vinaget/vng270/skin/default/function.php +++ b/skin/default/function.php @@ -1,32 +1,32 @@ -"; - echo "{$obj->notice("notice")}
"; - echo "{$obj->notice("yourip")} {$_SERVER['REMOTE_ADDR']}. {$obj->notice("yourjob")} {$obj->notice("userjobs")}. {$obj->notice("youused")} {$obj->notice("used")}.
"; - echo "{$obj->notice("sizelimit")} {$obj->notice("maxsize")}. {$obj->notice("totjob")} {$obj->notice("totjobs")}. {$obj->notice("serverload")} {$obj->notice("maxload")}. {$obj->notice("uonline")} {$obj->notice("useronline")}.
"; - echo "
"; -} -function showPlugin(){ - global $obj; - foreach($obj->acc as $host => $value) { - $xout = array(''); - $xout = $obj->acc[$host]['accounts']; - $max_size = $obj->acc[$host]['max_size']; - if (empty($xout[0]) == false && empty($host) == false) { - $hosts[] = '' . $host . ' ' . count($xout) . '
'; - } - } - if (isset($hosts)) { - if (count($hosts) > 4) { - for ($i = 0; $i < 5; $i++) echo "$hosts[$i]"; - echo ""; - } - else for ($i = 0; $i < count($hosts); $i++) echo "$hosts[$i]"; - if (count($hosts) > 4) echo "
" . $obj->lang['moreacc'] . "
"; - } - return false; -} +"; + echo "{$obj->notice("notice")}
"; + echo "{$obj->notice("yourip")} {$_SERVER['REMOTE_ADDR']}. {$obj->notice("yourjob")} {$obj->notice("userjobs")}. {$obj->notice("youused")} {$obj->notice("used")}.
"; + echo "{$obj->notice("sizelimit")} {$obj->notice("maxsize")}. {$obj->notice("totjob")} {$obj->notice("totjobs")}. {$obj->notice("serverload")} {$obj->notice("maxload")}. {$obj->notice("uonline")} {$obj->notice("useronline")}.
"; + echo "
"; +} +function showPlugin(){ + global $obj; + foreach($obj->acc as $host => $value) { + $xout = array(''); + $xout = $obj->acc[$host]['accounts']; + $max_size = $obj->acc[$host]['max_size']; + if (empty($xout[0]) == false && empty($host) == false) { + $hosts[] = '' . $host . ' ' . count($xout) . '
'; + } + } + if (isset($hosts)) { + if (count($hosts) > 4) { + for ($i = 0; $i < 5; $i++) echo "$hosts[$i]"; + echo ""; + } + else for ($i = 0; $i < count($hosts); $i++) echo "$hosts[$i]"; + if (count($hosts) > 4) echo "
" . $obj->lang['moreacc'] . "
"; + } + return false; +} ?> \ No newline at end of file diff --git a/vinaget/vng270/skin/default/index.php b/skin/default/index.php similarity index 98% rename from vinaget/vng270/skin/default/index.php rename to skin/default/index.php index 5c73938..5c99b63 100644 --- a/vinaget/vng270/skin/default/index.php +++ b/skin/default/index.php @@ -1,205 +1,205 @@ - - - - - <?php printf($obj->lang['title'],$obj->lang['version']); ?> - - - - - - - - - - - - - - - - - - - -
- - -
- - - - -
lang['plugins']); ?>
lang['plugins']); ?>
-
- $val){ - echo "" .$key."
"; - } - ?> -

-
lang['premium']); ?>
- - -
-
- -
-

-
-
-
- - - - - - - Secure || $obj->isadmin()) - echo ''; ?> - Secure) - echo ''; ?> - -
lang['main']); ?>lang['donate']); ?>lang['listfile']); ?>lang['check']); ?> '.$obj->lang['admin'].' '.$obj->lang['log'].'
- - - -
-listfile || $obj->isadmin())$obj->fulllist(); - else echo "

".$obj->lang['notaccess'].""; - } - #---------------------------- end list file ----------------------------# - - #---------------------------- begin donate ----------------------------# - else if (isset($_GET['id']) && $_GET['id']=='donate') { -?> -
-
lang['donations1']); ?>
lang['donations2']); ?>
-
- - - - - - -
- lang['acctype']); ?> - - -      
-
      -
-
-
user:pass or cookie


-
-checkacc || $obj->isadmin()) include("checkaccount.php"); - else echo "

".$obj->lang['notaccess'].""; - } - #---------------------------- end check ------------------------------# - - #---------------------------- begin admin ---------------------------# - else if (isset($_GET['id']) && $_GET['id']=='admin'){ - if($obj->isadmin()) include("admin.php"); - else echo "

".$obj->lang['notaccess'].""; - } - #---------------------------- end admin ------------------------------# - - #---------------------------- begin get ------------------------------# - else { -?> -
- lang['homepage']);?> - lang['welcome']);?> - isadmin()){ - $obj->last_version = $obj->getversion(); - if($obj->last_version > $obj->current_version) - echo '
'.sprintf($obj->lang['update1']).' - '.sprintf($obj->lang['update2'],$obj->last_version).''; - } - ?> -
Example: http://www.megaupload.com/?d=ABCDEXYZ|password
-
- Proxy (host:port) or (host:port|user:pass)
-

- '/>    -     -  Auto reset    -


- - -
- -
-
- - - -
-
-
- - - -
- - - Code LeechViet. Developed by ..:: [H] ::..
Powered by lang['version']); ?> Revision current_version); ?> by [FZ]

- Copyright 2009- by http://vinaget.us. All rights reserved.
- -
-
- + + + + + <?php printf($obj->lang['title'],$obj->lang['version']); ?> + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + +
lang['plugins']); ?>
lang['plugins']); ?>
+
+ $val){ + echo "" .$key."
"; + } + ?> +

+
lang['premium']); ?>
+ + +
+
+ +
+

+
+
+
+ + + + + + + Secure || $obj->isadmin()) + echo ''; ?> + Secure) + echo ''; ?> + +
lang['main']); ?>lang['donate']); ?>lang['listfile']); ?>lang['check']); ?> '.$obj->lang['admin'].' '.$obj->lang['log'].'
+ + + +
+listfile || $obj->isadmin())$obj->fulllist(); + else echo "

".$obj->lang['notaccess'].""; + } + #---------------------------- end list file ----------------------------# + + #---------------------------- begin donate ----------------------------# + else if (isset($_GET['id']) && $_GET['id']=='donate') { +?> +
+
lang['donations1']); ?>
lang['donations2']); ?>
+
+ + + + + + +
+ lang['acctype']); ?> + + +      
+
      +
+
+
user:pass or cookie


+
+checkacc || $obj->isadmin()) include("checkaccount.php"); + else echo "

".$obj->lang['notaccess'].""; + } + #---------------------------- end check ------------------------------# + + #---------------------------- begin admin ---------------------------# + else if (isset($_GET['id']) && $_GET['id']=='admin'){ + if($obj->isadmin()) include("admin.php"); + else echo "

".$obj->lang['notaccess'].""; + } + #---------------------------- end admin ------------------------------# + + #---------------------------- begin get ------------------------------# + else { +?> +
+ lang['homepage']);?> - lang['welcome']);?> + isadmin()){ + $obj->last_version = $obj->getversion(); + if($obj->last_version > $obj->current_version) + echo '
'.sprintf($obj->lang['update1']).' - '.sprintf($obj->lang['update2'],$obj->last_version).''; + } + ?> +
Example: http://www.megaupload.com/?d=ABCDEXYZ|password
+
+ Proxy (host:port) or (host:port|user:pass)
+

+ '/>    +     +  Auto reset    +


+ + +
+ +
+
+ + + +
+
+
+ + + +
+ + + Code LeechViet. Developed by ..:: [H] ::..
Powered by lang['version']); ?> Revision current_version); ?> by [FZ]

+ Copyright 2009- by http://vinaget.us. All rights reserved.
+ +
+
+ \ No newline at end of file diff --git a/vinaget/vng270/skin/default/login.php b/skin/default/login.php similarity index 98% rename from vinaget/vng270/skin/default/login.php rename to skin/default/login.php index 1e7c193..458c29a 100644 --- a/vinaget/vng270/skin/default/login.php +++ b/skin/default/login.php @@ -1,84 +1,84 @@ - - - - - - - <?php printf($obj->lang['title'],$obj->lang['version']); ?> - - - -


- - ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::HHHHHH::::::HHHHHH::HHHHHH::::HHHH::::::::::HHHH::::::HHHHHHHHHH::::::::::::HHHHHHHHHHHH::::::HHHHHHHHHHHHHH::HHHHHHHHHHHHHHHHHH::
- ::HHHHHH::::::HHHHHH::HHHHHH::::HHHHHH::::::::HHHH::::::HHHHHHHHHH::::::::::HHHHHHHHHHHHHHHH::::HHHHHHHHHHHHHH::HHHHHHHHHHHHHHHHHH::
- ::::HHHHHH::HHHHHH::::HHHHHH::::HHHHHHHH::::::HHHH::::HHHHHHHHHHHHHH::::::HHHHHHHH::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
- ::::HHHHHH::HHHHHH::::HHHHHH::::HHHHHHHHHH::::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::::::::::::::HHHHHH::::::::::::::::HHHHHH::::::::
- ::::HHHHHH::HHHHHH::::HHHHHH::::HHHH::HHHHHH::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::HHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
- ::::::HHHH::HHHH::::::HHHHHH::::HHHH::HHHHHH::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::HHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
- ::::::HHHH::HHHH::::::HHHHHH::::HHHH::::HHHHHHHHHH::::HHHHHHHHHHHHHH::::::HHHHHH::::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
- ::::::HHHHHHHHHH::::::HHHHHH::::HHHH::::::HHHHHHHH::HHHHHHHHHHHHHHHHHH::::HHHHHHHH::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
- ::::::::HHHHHH::::::::HHHHHH::::HHHH::::::::HHHHHH::HHHHHH::::::HHHHHH::::::HHHHHHHHHHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
- ::::::::HHHHHH::::::::HHHHHH::::HHHH::::::::::HHHH::HHHHHH::::::HHHHHH::::::::HHHHHHHHHH::::::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-

-
-

-
- - - - - - - -
lang['password']); ?>
-
-
- - Code LeechViet. Developed by ..:: [H] ::..
Powered by lang['version']); ?> Revision current_version); ?> by [FZ]

- Copyright 2009- by http://vinaget.us. All rights reserved.
- -
- + + + + + + + <?php printf($obj->lang['title'],$obj->lang['version']); ?> + + + +


+ + ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+ ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+ ::HHHHHH::::::HHHHHH::HHHHHH::::HHHH::::::::::HHHH::::::HHHHHHHHHH::::::::::::HHHHHHHHHHHH::::::HHHHHHHHHHHHHH::HHHHHHHHHHHHHHHHHH::
+ ::HHHHHH::::::HHHHHH::HHHHHH::::HHHHHH::::::::HHHH::::::HHHHHHHHHH::::::::::HHHHHHHHHHHHHHHH::::HHHHHHHHHHHHHH::HHHHHHHHHHHHHHHHHH::
+ ::::HHHHHH::HHHHHH::::HHHHHH::::HHHHHHHH::::::HHHH::::HHHHHHHHHHHHHH::::::HHHHHHHH::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
+ ::::HHHHHH::HHHHHH::::HHHHHH::::HHHHHHHHHH::::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::::::::::::::HHHHHH::::::::::::::::HHHHHH::::::::
+ ::::HHHHHH::HHHHHH::::HHHHHH::::HHHH::HHHHHH::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::HHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
+ ::::::HHHH::HHHH::::::HHHHHH::::HHHH::HHHHHH::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::HHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
+ ::::::HHHH::HHHH::::::HHHHHH::::HHHH::::HHHHHHHHHH::::HHHHHHHHHHHHHH::::::HHHHHH::::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
+ ::::::HHHHHHHHHH::::::HHHHHH::::HHHH::::::HHHHHHHH::HHHHHHHHHHHHHHHHHH::::HHHHHHHH::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
+ ::::::::HHHHHH::::::::HHHHHH::::HHHH::::::::HHHHHH::HHHHHH::::::HHHHHH::::::HHHHHHHHHHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
+ ::::::::HHHHHH::::::::HHHHHH::::HHHH::::::::::HHHH::HHHHHH::::::HHHHHH::::::::HHHHHHHHHH::::::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
+ ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+ ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+

+
+

+
+ + + + + + + +
lang['password']); ?>
+
+
+ + Code LeechViet. Developed by ..:: [H] ::..
Powered by lang['version']); ?> Revision current_version); ?> by [FZ]

+ Copyright 2009- by http://vinaget.us. All rights reserved.
+ +
+ \ No newline at end of file diff --git a/vinaget/vng270/skin/default/rl_style_pm.css b/skin/default/rl_style_pm.css similarity index 93% rename from vinaget/vng270/skin/default/rl_style_pm.css rename to skin/default/rl_style_pm.css index 757cf5c..00ac876 100644 --- a/vinaget/vng270/skin/default/rl_style_pm.css +++ b/skin/default/rl_style_pm.css @@ -1,277 +1,277 @@ -hr { - height: 1px; - border-top-width: 0px; - border-right-width: 0px; - border-left-width: 0px; - padding: 0px; - margin-top: 1px; - margin-right: 0px; - margin-bottom: 2px; - margin-left: 0px; - border-bottom-width: 0px; - background-color: #4A4A4A; - color: #4A4A4A; -} - -img { border: 0; } - -body { - font-family: "Segoe UI", Tahoma, sans-serif; - font-size: 11px; - color: #FFFFFF; - background-color: #000000; - margin: 0px; - padding: 0px; -} -.showlistlink { - background:url(../../images/bglist.png); - height:100%; - width:100%; - color:#FFFFFF; - font-size:16px; - position:fixed; - margin-left:0px; - margin-right:0px; - margin-top:0px; - margin-bottom:0px; - display: none; -} - -tr { font-family: "Segoe UI", Tahoma; font-size: 11px; line-height: 14.5px; color: #FFFFFF; } -input { font-family: "Segoe UI", Tahoma; font-size: 11px; } -select { font-family: "Segoe UI", Tahoma; font-size: 11px; } -textarea { font-family: "Segoe UI", Tahoma; font-size: 11.5px; } -a { color: #55aaff; } -color { color: #FFFFFF; } - -/*.show-table {display: block;}*/ - -.hide-table {display: none;} - -.filelist a { - text-decoration:none; -} -.filelist a:hover { - text-decoration:underline; -} -.title { - font-size: 18px; - font-weight: bold; -} -.g { - text-align:center; - color:#00FF00; -} -.y { - text-align:center; - color:#FFFF00; -} -.r { - text-align:center; - color:#FF0000; -} -.n { - text-align:center; - color:blue; -} -.style1 { - font-size: 12px; - font-weight: bold; -} -.style2 {font-weight: bold} - -.linkchecker-load{filter:alpha(opacity=20);-moz-opacity:0.2;opacity:0.2;} - -.font-black { - color:#000; -} - -.font-blue { - color:#05F; -} - -.caption { - font-family: Tahoma; - font-size: 11px; -} - -th { - border-left: 1px solid white; -} - -/* -** All previous inline-style classes ** -*/ - - -/*the file checkbox menu */ -.chkmenu -{ - color: #99C9E6; -} - -/* the files list table header */ -.flisttblhdr -{ - background-color: #4B433B; - text-align: center; - color: white; -} - -.flisttblftr -{ - background-color: #4B433B; - color: white; - text-align: center; -} - -.ftpprogress -{ - background-color:#FFFFFF; - margin:1px; - width:0%; - height:8px; -} - - - -/* main.php */ -.plugincolhd -{ - background-color:#657B87; - color:#eee; - padding:1px; - width:102px; - margin:1px auto 2px 1px; -} - -.plugincollst -{ - color: #ccc; -} -.ServerFiles -{ - text-decoration: none; - color: #FFC500; -} -.flistmouseon -{ - background-color: #F5A249; - color: black; -} - -.flistmouseoff -{ - background-color: #D49659; - color: black; -} - -.workswith -{ - text-align:center; - padding:3px; - color:#dedede; - margin:0 auto; - width:450px; - font-size:9px; - height:50px; - overflow:auto; - border:1px solid #666; -} - -.autodel -{ - color:#FFCC00; -} - -.cell-plugin -{ - height: 27px; - width: 109px; - font-family: "Tahoma"; - font-size: 10px; - color: #FFC500; - text-align: center; - line-height: 27px; - background: url(../../images/button_bg2.gif); - background-position: center; - background-repeat: no-repeat; -} - -.button-auto -{ - height: 23px; - width: 105px; - margin-bottom: 1px; - margin-top: 1px; - font-family: "Tahoma"; - font-size: 10px; - color: #FFAD00; - text-align: center; - border: 0px solid; - background: #17668C url(../../images/button_bg3.gif); - background-position: center; - background-repeat: no-repeat; - cursor: pointer; -} - -/* The progressbar for upload and download, including the outer div holder */ -.progressouter -{ - border:1px solid #FFFFFF; width:300px; height:10px; -} - -.progressdown -{ - background-color:#FFFFFF; - width:0%; - height:8px; - margin: 1px; -} - -.progressup -{ - background-color:#FFFFFF; - width:0%; - height:8px; - margin: 1px; -} - -/* The "new-and-improved" tabs xD */ - -.selected -{ - background-color: #85cbeb !important; -} - -.cell-nav -{ - height: 31px; - width: 119px; - font-family: "Tahoma"; - font-size: 10px; - color: #FFC500; - text-align: center; - background: #17668C url(../../images/button_bg1.gif); - background-position: center; - background-repeat: no-repeat; - cursor: pointer; -} -.powered { - font-family: Arial; - color: #FF8700; - font-size: 10px; - line-height: 14px; - font-weight:bold; -} -.copyright { - font-family: Arial; - line-height: 14px; - color: #CCCCCC; - font-size: 10px; - font-weight:bold; -} -.copyright a { - color: red; - TEXT-DECORATION: none; +hr { + height: 1px; + border-top-width: 0px; + border-right-width: 0px; + border-left-width: 0px; + padding: 0px; + margin-top: 1px; + margin-right: 0px; + margin-bottom: 2px; + margin-left: 0px; + border-bottom-width: 0px; + background-color: #4A4A4A; + color: #4A4A4A; +} + +img { border: 0; } + +body { + font-family: "Segoe UI", Tahoma, sans-serif; + font-size: 11px; + color: #FFFFFF; + background-color: #000000; + margin: 0px; + padding: 0px; +} +.showlistlink { + background:url(../../images/bglist.png); + height:100%; + width:100%; + color:#FFFFFF; + font-size:16px; + position:fixed; + margin-left:0px; + margin-right:0px; + margin-top:0px; + margin-bottom:0px; + display: none; +} + +tr { font-family: "Segoe UI", Tahoma; font-size: 11px; line-height: 14.5px; color: #FFFFFF; } +input { font-family: "Segoe UI", Tahoma; font-size: 11px; } +select { font-family: "Segoe UI", Tahoma; font-size: 11px; } +textarea { font-family: "Segoe UI", Tahoma; font-size: 11.5px; } +a { color: #55aaff; } +color { color: #FFFFFF; } + +/*.show-table {display: block;}*/ + +.hide-table {display: none;} + +.filelist a { + text-decoration:none; +} +.filelist a:hover { + text-decoration:underline; +} +.title { + font-size: 18px; + font-weight: bold; +} +.g { + text-align:center; + color:#00FF00; +} +.y { + text-align:center; + color:#FFFF00; +} +.r { + text-align:center; + color:#FF0000; +} +.n { + text-align:center; + color:blue; +} +.style1 { + font-size: 12px; + font-weight: bold; +} +.style2 {font-weight: bold} + +.linkchecker-load{filter:alpha(opacity=20);-moz-opacity:0.2;opacity:0.2;} + +.font-black { + color:#000; +} + +.font-blue { + color:#05F; +} + +.caption { + font-family: Tahoma; + font-size: 11px; +} + +th { + border-left: 1px solid white; +} + +/* +** All previous inline-style classes ** +*/ + + +/*the file checkbox menu */ +.chkmenu +{ + color: #99C9E6; +} + +/* the files list table header */ +.flisttblhdr +{ + background-color: #4B433B; + text-align: center; + color: white; +} + +.flisttblftr +{ + background-color: #4B433B; + color: white; + text-align: center; +} + +.ftpprogress +{ + background-color:#FFFFFF; + margin:1px; + width:0%; + height:8px; +} + + + +/* main.php */ +.plugincolhd +{ + background-color:#657B87; + color:#eee; + padding:1px; + width:102px; + margin:1px auto 2px 1px; +} + +.plugincollst +{ + color: #ccc; +} +.ServerFiles +{ + text-decoration: none; + color: #FFC500; +} +.flistmouseon +{ + background-color: #F5A249; + color: black; +} + +.flistmouseoff +{ + background-color: #D49659; + color: black; +} + +.workswith +{ + text-align:center; + padding:3px; + color:#dedede; + margin:0 auto; + width:450px; + font-size:9px; + height:50px; + overflow:auto; + border:1px solid #666; +} + +.autodel +{ + color:#FFCC00; +} + +.cell-plugin +{ + height: 27px; + width: 109px; + font-family: "Tahoma"; + font-size: 10px; + color: #FFC500; + text-align: center; + line-height: 27px; + background: url(../../images/button_bg2.gif); + background-position: center; + background-repeat: no-repeat; +} + +.button-auto +{ + height: 23px; + width: 105px; + margin-bottom: 1px; + margin-top: 1px; + font-family: "Tahoma"; + font-size: 10px; + color: #FFAD00; + text-align: center; + border: 0px solid; + background: #17668C url(../../images/button_bg3.gif); + background-position: center; + background-repeat: no-repeat; + cursor: pointer; +} + +/* The progressbar for upload and download, including the outer div holder */ +.progressouter +{ + border:1px solid #FFFFFF; width:300px; height:10px; +} + +.progressdown +{ + background-color:#FFFFFF; + width:0%; + height:8px; + margin: 1px; +} + +.progressup +{ + background-color:#FFFFFF; + width:0%; + height:8px; + margin: 1px; +} + +/* The "new-and-improved" tabs xD */ + +.selected +{ + background-color: #85cbeb !important; +} + +.cell-nav +{ + height: 31px; + width: 119px; + font-family: "Tahoma"; + font-size: 10px; + color: #FFC500; + text-align: center; + background: #17668C url(../../images/button_bg1.gif); + background-position: center; + background-repeat: no-repeat; + cursor: pointer; +} +.powered { + font-family: Arial; + color: #FF8700; + font-size: 10px; + line-height: 14px; + font-weight:bold; +} +.copyright { + font-family: Arial; + line-height: 14px; + color: #CCCCCC; + font-size: 10px; + font-weight:bold; +} +.copyright a { + color: red; + TEXT-DECORATION: none; } \ No newline at end of file diff --git a/vinaget/vng263/.htaccess b/vinaget/vng263/.htaccess deleted file mode 100644 index e69de29..0000000 diff --git a/vinaget/vng263/account.php b/vinaget/vng263/account.php deleted file mode 100644 index 101e852..0000000 --- a/vinaget/vng263/account.php +++ /dev/null @@ -1,166 +0,0 @@ -acc = array( -# Example: 'accounts' => array('user:pass','cookie'), -# Example with letitbit.net: 'accounts' => array('user:pass','cookie','prekey=xxxx'), - - - 'rapidshare.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'hotfile.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'filefactory.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'depositfiles.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'netload.in' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'easy-share.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'uploading.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'uploaded.to' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'megashares.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'bitshare.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'gigasize.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'mediafire.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'oron.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'uploadstation.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'enterupload.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - '4shared.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'filepost.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'filesmonster.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'letitbit.net' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'crocko.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'freakshare.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'extabit.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'turbobit.net' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'share-online.biz' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'sendspace.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'rapidgator.net' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'depfile.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'jumbofiles.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'bayfiles.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'cloudnator.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - - 'ryushare.com' => array( - 'max_size' => 2048, - 'accounts' => array(), - ), - -); -$this->max_size_other_host = 2048; - -?> \ No newline at end of file diff --git a/vinaget/vng263/add.php b/vinaget/vng263/add.php deleted file mode 100644 index 62b9e58..0000000 --- a/vinaget/vng263/add.php +++ /dev/null @@ -1,238 +0,0 @@ -acc[$host]['accounts'] as $value) - if ($account == $value) return true; - return false; -} -if (empty($_POST["accounts"])==false) { - $obj = new stream_get(); - $type = $_POST['type']; - - $_POST["accounts"] = str_replace(" ","",$_POST["accounts"]); - $account = trim($_POST['accounts']); - $donate = false; - if($type == "rapidshare"){ - if(check_account("rapidshare.com",$account)==true) die("false"); - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $data = $obj->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi","","sub=getaccountdetails&withcookie=1&withpublicid=1&login=".$user."&cbf=RSAPIDispatcher&cbid=2&password=".$pass); - if(strpos($data,'Login failed')) - die("false"); - else { - $cookie = $obj->cut_str($data, "ncookie=","\\n"); - } - } - else $cookie = $account; - if(check_account("rapidshare.com",$cookie)==true) die("false"); - $cookie = preg_replace("/(enc=|Enc=|ENC=)/","",$cookie); - $data = $obj->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi","","sub=getaccountdetails&withcookie=1&withpublicid=1&withsession=1&cookie=".$cookie."&cbf=RSAPIDispatcher&cbid=1"); - if(preg_match('/billeduntil=([0-9]+)/', $data, $matches)) { - if (time() < $matches[1]) { - $obj->acc["rapidshare.com"]['accounts'][] = $account; - $donate = true; - } - } - } -################################## DONATE ACC rapidshare.com ################################################################## - -################################## DONATE ACC bitshare.com #################################################################### - elseif($type == "bitshare"){ - if(check_account("bitshare.com",$account)==true) die("false"); - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $data=$obj->curl("http://bitshare.com/login.html","","user=$user&password=$pass&rememberlogin=&submit=Login"); - if(strpos($data,"Click here to login")) - die("false"); - else { - $cookie = $obj->GetCookies($data); - } - } - else $cookie = $account; - if(check_account("bitshare.com",$cookie)==true) die("false"); - $data = $obj->curl("http://bitshare.com/myaccount.html",$cookie,""); - if(strpos($data,'Premium Extend')) { - $obj->acc["bitshare.com"]['accounts'][] = $account; - $donate = true; - } - } -################################## DONATE ACC bitshare.com #################################################################### - -################################## DONATE ACC hotfile.com ##################################################################### - elseif($type == "hotfile"){ - if(check_account("hotfile.com",$account)==true) die("false"); - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $data = $obj->curl("http://www.hotfile.com/login.php","","user=$user&pass=$pass"); - if(strpos($data,"Bad username/password combination")) - die("false"); - else { - preg_match('/^Set-Cookie: auth=(.*?);/m', $data, $matches); - $cookie = $matches[1]; - } - } - else $cookie = $account; - if(check_account("hotfile.com",$cookie)==true) die("false"); - $cookie = preg_replace("/(auth=|AUTH=|Auth=)/","",$cookie); - $ch = @curl_init(); - curl_setopt($ch, CURLOPT_URL, "http://hotfile.com/myaccount.html"); - curl_setopt($ch, CURLOPT_HEADER, 1); - curl_setopt($ch, CURLOPT_COOKIE, "auth=$cookie"); - curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1'); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($ch, CURLOPT_TIMEOUT, 60); - $data = curl_exec( $ch); - curl_close($ch); - if(preg_match('%

Premium until: (.+) %U', $data, $matches)) { - $obj->acc["hotfile.com"]['accounts'][] = $account; - $donate = true; - } - } -################################## DONATE ACC hotfile.com ##################################################################### - -################################## DONATE ACC depositfiles.com ################################################################ - elseif($type == "depositfiles"){ - if(check_account("depositfiles.com",$account)==true) die("false"); - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $data=$obj->curl("http://depositfiles.com/login.php?return=%2F","lang_current=en","go=1&login=$user&password=$pass"); - if(strpos($data,"Your password or login is incorrect")) - die("false"); - else { - $cookie = $obj->GetCookies($data); - } - } - else $cookie = $account; - if(check_account("depositfiles.com",$cookie)==true) die("false"); - $data = $obj->curl("http://depositfiles.com/gold/payment_history.php",$cookie.';lang_current=en;',""); - if(strpos($data,"You have Gold access until")) { - $obj->acc["depositfiles.com"]['accounts'][] = $account; - $donate = true; - } - } -################################## DONATE ACC depositfiles.com ################################################################ - -################################## DONATE ACC oron.com ######################################################################## - elseif($type == "oron"){ - if(check_account("oron.com",$account)==true) die("false"); - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $page = $obj->curl("http://oron.com/login","lang=english","login=$user&password=$pass&op=login"); - if(strpos($page,"Incorrect Login or Password")) - die("false"); - else { - $cookie = $obj->GetCookies($page); - } - } - else $cookie = $account; - if(check_account("oron.com",$cookie)==true) die("false"); - $data = $obj->curl("http://oron.com/?op=my_account",$cookie,""); - if(strpos($data,'Premium Account expires')) { - $obj->acc["oron.com"]['accounts'][] = $account; - $donate = true; - } - } - -################################## DONATE ACC oron.com ######################################################################## - -################################## DONATE ACC uploading.com ################################################################### - elseif($type == "uploading"){ - if(check_account("uploading.com",$account)==true) die("false"); - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $tid = str_replace(".","12",microtime(true)); - $page = $obj->curl("http://uploading.com/general/login_form/?ajax","","email=$user&password=$pass&remember=on&back_url=http%3A%2F%2Fuploading.com%2F"); - if(strpos($page,"password combination")) - die("false"); - else { - $cookie = $obj->GetCookies($page); - } - } - else $cookie = $account; - if(check_account("uploading.com",$cookie)==true) die("false"); - $data = $obj->curl("http://uploading.com/profile/",$cookie,""); - if(strpos($data,'

Premium
')) { - $obj->acc["uploading.com"]['accounts'][] = $account; - $donate = true; - } - } -################################## DONATE ACC uploading.com ################################################################### - -################################## DONATE ACC uploaded.to ##################################################################### - elseif($type == "uploaded"){ - if(check_account("uploaded.to",$account)==true) die("false"); - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $page = $obj->curl("http://uploaded.net/io/login",'',"id=$user&pw=$pass"); - if(strpos($page,"password combination")) - die("false"); - else { - $cookie = $obj->GetCookies($page); - } - } - else $cookie = $account; - if(check_account("uploaded.to",$cookie)==true) die("false"); - $data = $obj->curl("http://uploaded.net",$cookie,""); - if(strpos($data,'Premium')) { - $obj->acc["uploaded.to"]['accounts'][] = $account; - $donate = true; - } - } -################################## DONATE ACC uploaded.to ##################################################################### - -################################## savve account ############################################################################# - if($donate == true && is_array($obj->acc) && count($obj->acc) > 0) { - $str = "acc = array("; - $str .= "\n"; - $str .= "# Example: 'accounts' => array('user:pass','cookie'),\n"; - $str .= "# Example with letitbit.net: 'accounts' => array('user:pass','cookie','prekey=xxxx'),\n"; - $str .= "\n"; - foreach ($obj->acc as $host => $accounts) { - $str .= "\n '".$host."' => array("; - $str .= "\n 'max_size' => ".($accounts['max_size']?$accounts['max_size']:1024).","; - $str .= "\n 'accounts' => array("; - foreach ($accounts['accounts'] as $acc) { - $str .= "'".$acc."',"; - } - $str .= "),"; - $str .= "\n ),"; - $str .= "\n"; - } - $str .= "\n);"; - $str .= $obj->max_size_other_host ? "\n\$this->max_size_other_host = ".$obj->max_size_other_host.";" : "\n\$this->max_size_other_host = 1024;"; - $str .= "\n"; - $str .= "\n?>"; - $accountPath = "account.php"; - $CF = fopen ($accountPath, "w") - or die('
could not open file! Try to chmod the file "account.php" to 666
'); - fwrite ($CF, $str) - or die('
could not write file! Try to chmod the file "account.php" to 666
'); - fclose ($CF); - @chmod($accountPath, 0666); - - echo "true"; - } - else echo "false"; -################################## savve account ############################################################################# - -} -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Description: - - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. - - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile... - - You can now download files with full resume support from filehosts using download managers like IDM etc - - Vinaget is a Free Open Source, supported by a growing community. -* Code LeechViet by VinhNhaTrang -* Developed by ..:: [H] ::.. - -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/ajax.js b/vinaget/vng263/ajax.js deleted file mode 100644 index 3351efb..0000000 --- a/vinaget/vng263/ajax.js +++ /dev/null @@ -1,377 +0,0 @@ -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Description: - - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. - - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile... - - You can now download files with full resume support from filehosts using download managers like IDM etc - - Vinaget is a Free Open Source, supported by a growing community. -* Code LeechViet by VinhNhaTrang -* Developed by ..:: [H] ::.. - -*/ - -var tong = 0; -var errorlogin = false; -var auto_refresh = setInterval(function(){$("#server_stats").load('index.php?infosv='+ Math.random());}, 60000); -function showOrHide(){ - if ($('#showacc').css('display') == "none"){ - $('#showacc').slideDown(800); - $("#moreacc").html(less_acc); - } - else { - $('#showacc').slideUp(800); - $("#moreacc").html(more_acc); - } -} -function in_array(array, listarray){ - var a=false; - for(var i=0;i 20 && (/http/i.test(links[i]) ===true || /www/.test(links[i]) ===true)) { - links[i] = links[i]+" "; - var patt=/((http|www.).+?) /gi; - var urlget = links[i].match(patt); - for (j=0;j< urlget.length ;j++){ - urlget[j] = urlget[j].replace(" ", ""); - if(urlget[j].substr(0,4) === "www.") urlget[j] = "http\:\/\/"+urlget[j]; - if(in_array(urlget[j], linkdown) == false) { - linkdown[tonglink] = urlget[j]; - tonglink++; - } - } - } - }; - - if(linkdown.length == 0)return; - for (i=0;i< linkdown.length;i++){ - if (i === 10) break; - showlink = showlink+"
"+linkdown[i]+"
"; - ajaxget(i,linkdown[i],'get'); - } - if(document.getElementById("autoreset").checked === true) { - $('#dlhere').show(800); - $("#showresults").show(800); - $('#links').val(""); - $('#bbcode').hide(); - $("#showresults").html(showlink+"
"); - } - else { - $('#dlhere').show(800); - $("#showresults").show(800); - $('#links').val(""); - $('#bbcode').hide(); - $("#showresults").html(showlink+"
"+$('#showresults').html()); - } - - if(linkdown.length >10) { - var lefturl = ""; - for (i=10;i< linkdown.length ;i++){ - lefturl = lefturl+linkdown[i]+"\n"; - } - $('#links').val(lefturl); - } -} - -function ajaxget(id,url,type){ - var param = $("form[name=formlink]").serialize(); - captcha = 'none'; - if (type =='reget'){ - $("#link"+id).html(""+url+" "); - } - else if (type !=='get'){ - $("#link"+id).html("reload captcha... "); - captcha = 'reload'; - } - if(i > 4 && type == 'get') time = (Math.round(i/5)*3000); - else time = 0; - setTimeout(function(){ - $.ajax({ - type: "POST", - url: "index.php?rand="+ Math.random(), - data: "urllist="+encodeURIComponent(url)+'&captcha='+captcha+"&"+param, - success: function(html) { - /* limit ip for mod */ - if (errorlogin === true) return; - if(/errorlogin/.test(html) === true) { - errorlogin = true; - alert(unescape("%50%68%E1%74%20%68%69%u1EC7%6E%20%63%F3%20%73%u1EF1%20%74%68%61%79%20%u0111%u1ED5%69%20%49%50.%20%56%75%69%20%6C%F2%6E%67%20%u0111%u0103%6E%67%20%6E%68%u1EAD%70%20%6C%u1EA1%69%20%21")); - location.href='./login.php?go=logout'; - return; - } - /* limit ip for mod */ - if(/type=\"password\" name=\"secure\"/i.test(html) == true) { - alert('Expired Cookies ! Please login again.'); - location.href='./login.php?go=logout'; - return; - } - else if(/Link Dead/.test(html) ===true || /errorlimit/.test(html) ===true) $("#link"+id).html(html); - else if(/password protected/.test(html) === true) { - $("#link"+id).html(''); - } - else if(/captcha code/.test(html) === true) { - var text = /captcha code \'(.*?)\'/g; - var captcha=text.exec(html); - if(/Authentication/i.test($('#showresults').html()) == false) { - $("#link"+id).html('
'); - } - else { - $('#links').val(url+"\n"+$('#links').val()); - $("#link"+id).html(''); - } - } - else if(/is this link sex/.test(html) === true) { - $("#link"+id).html('is this link sex ??? ==► '+url+'     if not click here to try again'); - } - else if(/please try again/.test(html) === true) { - $("#link"+id).html(''+url+' ==► Can\'t get. click here to try again'); - - } - else $("#link"+id).html(html); - }, - error:function (){ - $('#submit').removeAttr('disabled'); - $("#link"+id).html(''+url+' ==► Can\'t get. click here to try again'); - } - }); - },time); -} - -function reseturl() { - $("#showresults").html(""); - $("#bbcode").html(""); - $('#urllist').val(""); - $("#dlhere").hide(800); - -} - -function checkacc(type){ - if (type.length > 0){ - if(type == "all"){ - $("[id^='unknown']").html(''); - ajaxcheck('RS'); - ajaxcheck('MU'); - ajaxcheck('HF'); - ajaxcheck('FSV'); - ajaxcheck('FSN'); - ajaxcheck('WU'); - ajaxcheck('real'); - ajaxcheck('alld'); - - } - else { - $("table[id='table"+type+"'] td[id^='unknown']").html(''); - ajaxcheck(type); - } - } - -} - -function ajaxcheck(type){ - $.ajax({ - type: "POST", - url: "index.php?id=check&rand="+ Math.random(), - data: "check="+type, - success: function(resp) { - $("#table"+type).html($("#table"+type , resp).html()); - }, - error:function (){ - ajaxcheck(type); - } - }); -} - -function donate(obj){ - if($("#accounts").val().length > 10) { - $("#wait").html(get_loading); - $.ajax({ - type: "POST", - url: "add.php?rand="+ Math.random(), - data: "type="+$("#type").val()+"&accounts="+$("#accounts").val(), - success: function(html) { - if(html == 'true') { - $("#wait").html(''); - $('#accounts').val(""); - $("#wait").fadeOut(1100, 'swing'); - $("#wait").fadeOut(1100, function(){ - $("#wait").html(d_succ1); - $("#wait").html(d_succ2); - }); - $("#wait").html(d_succ1); - $("#wait").fadeIn(800); - } - else $("#wait").html(d_error); - } - }); - } - else $("#wait").html(d_error); -} - -function makelist(data){ - if ($('#showlistlink').css('display') == "none"){ - var showlinkgen = ""; - - if(navigator.appName === "Microsoft Internet Explorer"){ - var linkgens= data.split("
"+showlinkgen+""); - - } - else { - $('#showlistlink').hide(800); - } -} - -function bbcode(type) { - if ($('#bbcode').css('display') !== "none" && type !== "list"){ - $('#bbcode').slideUp(); - return; - } - if(type === "list") { - $("#report").text("make BB Code").show().fadeOut(3000); - $("input[name ='bbcode']").attr('value', 'Make list'); - } - if(type === "list" && /\[b]/i.test($("#listlinks").html()) === true) { - data = $('#showresults').html(); - if(/id=link/i.test(data)) var linkgens= data.split('id=link'); - else var linkgens= data.split('id="link'); - var showlinkgen = ""; - $.each(linkgens, - function(i) { - if(/errorlink/i.test(linkgens[i]) ===false && /please try again/i.test(linkgens[i]) === false && /href=/i.test(linkgens[i]) === true){ - var text = /href=\"(.*?)\"/g; - var linkgen=text.exec(linkgens[i]); - showlinkgen = showlinkgen+linkgen[1]+"\n"; - } - }); - $("#listlinks").html(""); - $("input[name ='bbcode']").attr('value', 'bbcode'); - $("#report").text("Make list").show().fadeOut(3000); - return; - } - var showlinkgen = ""; - if(navigator.appName === "Microsoft Internet Explorer"){ - var linkgens= $('#showresults').html().split("
(.*?)<\/FONT> (.*?)<\/FONT>(.*?)<\/FONT> (.*?)<\/FONT><\/B>/g; - var linkgen=text.exec(linkgens[i]); - showlinkgen = showlinkgen+ "[B][color=blue]"+linkgen[1]+"[/color][color=red] "+linkgen[2]+" [/color][color=green] "+linkgen[3]+" [/color][color=#d71f83] "+linkgen[4]+" [/color][/b][br]"; - } - else if(/is this link sex/.test(linkgens[i]) === true) { - var text = /\/search\?q\=(.*?)\" target/g; - var linkgen=text.exec(linkgens[i]); - showlinkgen = showlinkgen+"[B][url=http://www.google.com/search?q="+linkgen[1]+"][color=red]Link sex ??? ==► [/color][color=blue]"+linkgen[1]+"[/color][/b][/url][br]"; - } - else if(/Link Dead/.test(linkgens[i]) === true) { - var text = /href=\"(.*?)\"/g; - var linkgen=text.exec(linkgens[i]); - showlinkgen = showlinkgen+"[B][url="+linkgen[1]+"][color=blue][s]"+linkgen[1]+"[/s][/color][/url] errorlink [color=red] ==► Link Dead !!![/color][/b][br]"; - } - else if(/click here to download/.test(linkgens[i]) === true){ - var text = /href=\"(.*?)\" (.*?)> (.*?)<\/FONT> (.*?)<\/FONT>/g; - var linkgen=text.exec(linkgens[i]); - if(linkgen[4].length >35) linkgen[4] = linkgen[4].substring(0, 35)+'...'; - showlinkgen = showlinkgen+"[b][URL="+linkgen[1]+"] "+title+" | [color="+colorname+"] "+linkgen[4]+" [/color][color="+colorfile+"]"+linkgen[6]+"[/color][/url][/b][br]"; - } - }); - } - else { - var linkgens= $('#showresults').html().split('
(.*?)<\/font> (.*?)<\/font>(.*?)<\/font> (.*?)<\/font><\/b>/g; - var linkgen=text.exec(linkgens[i]); - showlinkgen = showlinkgen+ "[B][color=blue]"+linkgen[1]+"[/color][color=red] "+linkgen[2]+" [/color][color=green] "+linkgen[3]+" [/color][color=#d71f83] "+linkgen[4]+" [/color][/b][br]"; - } - else if(/is this link sex/.test(linkgens[i]) === true) { - var text = /\/search\?q\=(.*?)\"> (.*?)<\/font> (.*?)<\/font>/g; - var linkgen=text.exec(linkgens[i]); - if(linkgen[4].length >35) linkgen[4] = linkgen[4].substring(0, 35)+'...'; - showlinkgen = showlinkgen+"[b][URL="+linkgen[1]+"] "+title+" | [color="+colorname+"] "+linkgen[4]+" [/color][color="+colorfile+"]"+linkgen[6]+"[/color][/url][/b][br]"; - } - }); - } - - if(showlinkgen.length < 10) return; - if(type === "list") { - $("#listlinks").html(""); - } - else { - if ($('#bbcode').css('display') == "none") $('#bbcode').slideDown(); - $("#bbcode").html("


"); - - } -} - -function selectAllText(textbox){ - textbox.focus(); - textbox.select(); -} -$('#SelectAll').click(function(){ - $('#textarea').show(); - selectAllText($('#textarea')); - $("#report").text("All text was selected").show().fadeOut(3000); -}); - -$('#copytext').click(function(){ - var clip = new ZeroClipboard.Client(); - var lastTd = $(this); - clip.glue(lastTd[0]); - clip.addEventListener('mouseOver', function (client) { - /* update the text on mouse over */ - clip.setText( $('#textarea').val()); - }); - clip.addEventListener('complete', function(client, text) { - $("#report").text("Copied text to clipboard").show().fadeOut(3000); - }); -}); \ No newline at end of file diff --git a/vinaget/vng263/checkaccount.php b/vinaget/vng263/checkaccount.php deleted file mode 100644 index ae79e5d..0000000 --- a/vinaget/vng263/checkaccount.php +++ /dev/null @@ -1,784 +0,0 @@ -acc["rapidshare.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["rapidshare.com"]["accounts"]); $i++){ - $account = $obj->acc["rapidshare.com"]["accounts"][$i]; - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $account = substr($account, 0, 5).'****'; - $type = "account"; - $data = $obj->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi","","sub=getaccountdetails&withcookie=1&withpublicid=1&login=".$user."&cbf=RSAPIDispatcher&cbid=2&password=".$pass); - if(strpos($data,'Login failed')) { - echo ' - - - '; - $delacc[] = $i; - continue; - } - else $cookie = $obj->cut_str($data, "ncookie=","\\n"); - } - else { - $type = "cookie"; - $cookie = $account; - $account = substr($account, 0, 15).'****'; - } - $cookie = preg_replace("/(enc=|Enc=|ENC=)/","",$cookie); - $data = $obj->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi","","sub=getaccountdetails&withcookie=1&withpublicid=1&withsession=1&cookie=".$cookie."&cbf=RSAPIDispatcher&cbid=1"); - if(strpos($data,'Login failed')) { - echo ' - - - '; - $delacc[] = $i; - } - else{ - //Validity - preg_match('/billeduntil=([0-9]+)/', $data, $matches); - if ($matches[1]==0){ - echo ' - - - '; - $delacc[] = $i; - } - else { - if (time() > $matches[1]) { - echo ' - - - '; - $delacc[] = $i; - } - else{ - echo ' - - - '; - } - } - } - } - echo "
accounts rapidshare.comTypeValidityReport
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'FREE ACCRemoved
'.$account.''.$type.''.date('H:i:s Y-m-d',$matches[1]).'Expired
'.$account.''.$type.''.date('H:i:s Y-m-d',$matches[1]).'Working
"; - $obj = new stream_get(); - if(isset($delacc)) { - foreach ($delacc as $i) unset($obj->acc["rapidshare.com"]["accounts"][$i]); - unset($delacc); - $check = true; - } - } - } - #======================= end check acc rapidsahare =======================# - ########################################################################### - #======================= begin check acc hotfile.com =====================# - elseif($_POST["check"]== "HF"){ - if(count($obj->acc["hotfile.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["hotfile.com"]["accounts"]); $i++){ - $account = $obj->acc["hotfile.com"]["accounts"][$i]; - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $account = substr($account, 0, 5).'****'; - $type = "account"; - $data = $obj->curl("http://www.hotfile.com/login.php","","user=$user&pass=$pass"); - if(strpos($data,"Bad username/password combination")) { - echo ' - - - '; - $delacc[] = $i; - continue; - } - else { - preg_match('/^Set-Cookie: auth=(.*?);/m', $data, $matches); - $cookie = $matches[1]; - } - } - else { - $type = "cookie"; - $cookie = $account; - $account = substr($account, 0, 15).'****'; - } - $cookie = preg_replace("/(auth=|AUTH=|Auth=)/","",$cookie); - $ch = @curl_init(); - curl_setopt($ch, CURLOPT_URL, "http://hotfile.com/myaccount.html"); - curl_setopt($ch, CURLOPT_HEADER, 1); - curl_setopt($ch, CURLOPT_COOKIE, "auth=$cookie"); - curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1'); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($ch, CURLOPT_TIMEOUT, 60); - $data = curl_exec( $ch); - curl_close($ch); - if(strpos($data,'Location: http://hotfile.com/')) { - echo ' - - - '; - $delacc[] = $i; - } - else{ - //Validity - if(strpos($data,'

Free')) { - echo '

- - - '; - $delacc[] = $i; - } - elseif(preg_match('%

Premium until: (.+) %U', $data, $matches)) { - echo '

- - - '; - } - else{ - echo ' - - - '; - } - } - } - echo "
accounts hotfile.comTypeValidityReport
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'FREE ACCRemoved
'.$account.''.$type.''.$matches[1].'Working
'.$account.''.$type.'unknownunknown
"; - $obj = new stream_get(); - if(isset($delacc)) { - foreach ($delacc as $i) unset($obj->acc["hotfile.com"]["accounts"][$i]); - unset($delacc); - $check = true; - } - } - } - #======================= end check acc hotfile.com =======================# - ########################################################################### - #======================= begin check acc depositfiles.com ================# - elseif($_POST["check"]== "DF"){ - if(count($obj->acc["depositfiles.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["depositfiles.com"]["accounts"]); $i++){ - $account = $obj->acc["depositfiles.com"]["accounts"][$i]; - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $account = substr($account, 0, 5).'****'; - $type = "account"; - $data=$obj->curl("http://depositfiles.com/login.php?return=%2F","lang_current=en","go=1&login=$user&password=$pass"); - if(strpos($data,"Your password or login is incorrect")) { - echo ' - - - '; - $delacc[] = $i; - continue; - } - else { - $cookie = $obj->GetCookies($data); - } - } - else { - $type = "cookie"; - $cookie = $account; - $account = substr($account, 0, 15).'****'; - } - $data = $obj->curl("http://depositfiles.com/gold/payment_history.php",$cookie.';lang_current=en;',""); - if(strpos($data,'Location: http://depositfiles.com/login.php')) { - echo ' - - - '; - $delacc[] = $i; - } - else{ - //Validity - if(strpos($data,'Your current status: FREE - member')) { - echo ' - - - '; - $delacc[] = $i; - } - elseif(preg_match('%You have Gold access until: (.*)%U', $data, $matches)) { - echo ' - - - '; - } - else{ - echo ' - - - '; - } - } - } - echo "
accounts depositfiles.comTypeValidityReport
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'FREE ACCRemoved
'.$account.''.$type.''.$matches[1].'Working
'.$account.''.$type.'unknownunknown
"; - $obj = new stream_get(); - if(isset($delacc)) { - foreach ($delacc as $i) unset($obj->acc["hotfile.com"]["accounts"][$i]); - unset($delacc); - $check = true; - } - } - } - #======================= end check acc depositfiles.com ==================# - ########################################################################### - #======================= begin check acc bitshare.com ====================# - elseif($_POST["check"]== "BS"){ - if(count($obj->acc["bitshare.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["bitshare.com"]["accounts"]); $i++){ - $account = $obj->acc["bitshare.com"]["accounts"][$i]; - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $account = substr($account, 0, 5).'****'; - $type = "account"; - $data=$obj->curl("http://bitshare.com/login.html","","user=$user&password=$pass&rememberlogin=&submit=Login"); - if(strpos($data,"Click here to login")) { - echo ' - - - '; - $delacc[] = $i; - continue; - } - else { - $cookie = $obj->GetCookies($data); - } - } - else { - $type = "cookie"; - $cookie = $account; - $account = substr($account, 0, 15).'****'; - } - $data = $obj->curl("http://bitshare.com/myaccount.html",$cookie,""); - if(strpos($data,'Location: http://bitshare.com')) { - echo ' - - - '; - $delacc[] = $i; - } - else{ - //Validity - if(strpos($data,'Basic')) { - echo ' - - - '; - $delacc[] = $i; - } - elseif(preg_match('%Valid until: ([0-9].++)%U', $data, $matches)) { - echo ' - - - '; - } - else{ - echo ' - - - '; - } - } - } - echo "
accounts bitshare.comTypeValidityReport
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'FREE ACCRemoved
'.$account.''.$type.''.$matches[1].'Working
'.$account.''.$type.'unknownunknown
"; - $obj = new stream_get(); - if(isset($delacc)) { - foreach ($delacc as $i) unset($obj->acc["bitshare.com"]["accounts"][$i]); - unset($delacc); - $check = true; - } - } - } - #======================= end check acc bitshare.com ======================# - ########################################################################### - #======================= begin check acc oron.com ========================# - elseif($_POST["check"]== "OR"){ - if(count($obj->acc["oron.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["oron.com"]["accounts"]); $i++){ - $account = $obj->acc["oron.com"]["accounts"][$i]; - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $account = substr($account, 0, 5).'****'; - $type = "account"; - $page = $obj->curl("http://oron.com/login","lang=english","login=$user&password=$pass&op=login"); - if(strpos($page,"Incorrect Login or Password")) { - echo ' - - - '; - $delacc[] = $i; - continue; - } - else { - $cookie = $obj->GetCookies($page); - } - } - else { - $type = "cookie"; - $cookie = $account; - $account = substr($account, 0, 15).'****'; - } - $data = $obj->curl("http://oron.com/?op=my_account",$cookie.";lang=english",""); - if(strpos($data,"http://oron.com/login")) { - echo ' - - - '; - $delacc[] = $i; - } - else{ - //Validity - if(strpos($data,'Upgrade to premium')) { - echo ' - - - '; - $delacc[] = $i; - } - elseif(strpos($data,'Premium Account expires')) { - $infoacc = $obj->cut_str($data, "Premium Account expires", "%U", $infoacc, $matches)) { - $Validity = $matches[1]; - $infoacc = $obj->cut_str($data, "Download Traffic Available", ""); - if(preg_match("%%U", $infoacc, $matches)) $bw = " (".$matches[1].")"; - echo ' - - - '; - } - else { - echo ' - - - '; - } - } - else { - echo ' - - - '; - } - } - } - echo "
accounts oron.comTypeValidityReport
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'FREE ACCRemoved
(.*)
(.*)
'.$account.''.$type.''.$Validity.'   '.$bw.'Working
'.$account.''.$type.'unknownunknown
'.$account.''.$type.'unknownunknown
"; - $obj = new stream_get(); - if(isset($delacc)) { - foreach ($delacc as $i) unset($obj->acc["oron.com"]["accounts"][$i]); - unset($delacc); - $check = true; - } - } - } - #======================= end check acc oron.com ==========================# - ########################################################################### - #======================= begin check acc uploading.com ===================# - elseif($_POST["check"]== "ULD"){ - if(count($obj->acc["uploading.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["uploading.com"]["accounts"]); $i++){ - $account = $obj->acc["uploading.com"]["accounts"][$i]; - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $account = substr($account, 0, 5).'****'; - $type = "account"; - $tid = str_replace(".","12",microtime(true)); - $page = $obj->curl("http://uploading.com/general/login_form/?ajax","","email=$user&password=$pass"); - if(strpos($page,"password combination")) { - echo ' - - - '; - $delacc[] = $i; - continue; - } - else { - $cookie = $obj->GetCookies($page); - } - } - else { - $type = "cookie"; - $cookie = $account; - $account = substr($account, 0, 15).'****'; - } - $data = $obj->curl("http://uploading.com/profile/",$cookie,""); - if(strpos($data,"Sign up")) { - echo ' - - - '; - $delacc[] = $i; - } - else{ - //Validity - if(strpos($data,'
Basic')) { - echo '
- - - '; - $delacc[] = $i; - } - elseif(strpos($data,'
Valid Until')) { - $infoacc = $obj->cut_str($data, "
Valid Until", "Renew"); - if(preg_match("%
(.*) \(\<%U", $infoacc, $matches)) { - $Validity = $matches[1]; - echo '
- - - '; - } - else { - echo ' - - - '; - } - } - else { - echo ' - - - '; - } - } - } - echo "
accounts uploading.comTypeValidityReport
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'FREE ACCRemoved
'.$account.''.$type.''.$Validity.'Working
'.$account.''.$type.'unknownunknown
'.$account.''.$type.'unknownunknown
"; - $obj = new stream_get(); - if(isset($delacc)) { - foreach ($delacc as $i) unset($obj->acc["uploading.com"]["accounts"][$i]); - unset($delacc); - $check = true; - } - } - } - #======================= end check acc uploading.com =====================# - ########################################################################### - #======================= begin check acc uploaded.to =====================# - elseif($_POST["check"]== "ULTO"){ - if(count($obj->acc["uploaded.to"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["uploaded.to"]["accounts"]); $i++){ - $account = $obj->acc["uploaded.to"]["accounts"][$i]; - if (stristr($account,':')) { - list($user, $pass) = explode(':', $account); - $account = substr($account, 0, 5).'****'; - $type = "account"; - $page = $obj->curl("http://uploaded.net/io/login",'',"id=$user&pw=$pass"); - if(strpos($page,"User and password do not match")) { - echo ' - - - '; - $delacc[] = $i; - continue; - } - else { - $cookie = $obj->GetCookies($page); - } - } - else { - $type = "cookie"; - $cookie = $account; - $account = substr($account, 0, 15).'****'; - } - $data = $obj->curl("uploaded.net",$cookie,""); - if(strpos($data,"registerfree")) { - echo ' - - - '; - $delacc[] = $i; - } - else{ - //Validity - if(strpos($data,'Free')) { - echo ' - - - '; - $delacc[] = $i; - } - elseif(strpos($data,'Premium')) { - $infoacc = $obj->cut_str($data, "Duration", ""); - if(preg_match("%%U", $infoacc, $matches)) { - $Validity = $matches[1]; - $infoacc = $obj->cut_str($data, "For downloading", "/th>"); - if(preg_match("%(.*)%U", $infoacc, $matches)) $bw = " (".$matches[1].")"; - echo ' - - - '; - } - else { - echo ' - - - '; - } - } - else { - echo ' - - - '; - } - } - } - echo "
accounts uploaded.toTypeValidityReport
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'Login failed !!!Removed
'.$account.''.$type.'FREE ACCRemoved
(.*)
'.$account.''.$type.''.$Validity.'   '.$bw.'Working
'.$account.''.$type.'unknownunknown
'.$account.''.$type.'unknownunknown
"; - $obj = new stream_get(); - if(isset($delacc)) { - foreach ($delacc as $i) unset($obj->acc["uploaded.to"]["accounts"][$i]); - unset($delacc); - $check = true; - } - } - } - #======================= end check acc uploaded.to =======================# - - - - if($check == true && is_array($obj->acc) && count($obj->acc) > 0) { - $str = "acc = array("; - $str .= "\n"; - $str .= "# Example: 'accounts' => array('user:pass','cookie'),\n"; - $str .= "# Example with letitbit.net: 'accounts' => array('user:pass','cookie','prekey=xxxx'),\n"; - $str .= "\n"; - foreach ($obj->acc as $host => $accounts) { - $str .= "\n '".$host."' => array("; - $str .= "\n 'max_size' => ".($accounts['max_size']?$accounts['max_size']:1024).","; - $str .= "\n 'accounts' => array("; - foreach ($accounts['accounts'] as $acc) { - $str .= "'".$acc."',"; - } - $str .= "),"; - $str .= "\n ),"; - $str .= "\n"; - } - $str .= "\n);"; - $str .= $obj->max_size_other_host ? "\n\$this->max_size_other_host = ".$obj->max_size_other_host.";" : "\n\$this->max_size_other_host = 1024;"; - $str .= "\n"; - $str .= "\n?>"; - $accountPath = "account.php"; - $CF = fopen ($accountPath, "w") - or die('
could not open file! Try to chmod the file "account.php" to 666
'); - fwrite ($CF, $str) - or die('
could not write file! Try to chmod the file "account.php" to 666
'); - fclose ($CF); - @chmod($accountPath, 0666); - } -} -else { - - echo '
'; - if(count($obj->acc["bitshare.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["bitshare.com"]["accounts"]); $i++){ - $account = $obj->acc["bitshare.com"]["accounts"][$i]; - if (stristr($account,':')) $type = "account"; - else $type = "cookie"; - $account = substr($account, 0, 5)."****"; - echo ''; - } - echo "
accounts bitshare.comTypeValidityReport
'.$account.''.$type.'unknownunknown
"; - echo "Check accounts bitshare.com >>>

"; - $checkall = true; - } - if(count($obj->acc["rapidshare.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["rapidshare.com"]["accounts"]); $i++){ - $account = $obj->acc["rapidshare.com"]["accounts"][$i]; - if (stristr($account,':')) $type = "account"; - else $type = "cookie"; - $account = substr($account, 0, 5)."****"; - echo ''; - } - echo "
accounts rapidshare.comTypeValidityReport
'.$account.''.$type.'unknownunknown
"; - echo "Check accounts rapidshare.com >>>

"; - $checkall = true; - } - if(count($obj->acc["hotfile.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["hotfile.com"]["accounts"]); $i++){ - $account = $obj->acc["hotfile.com"]["accounts"][$i]; - if (stristr($account,':')) $type = "account"; - else $type = "cookie"; - $account = substr($account, 0, 5)."****"; - echo ''; - } - echo "
accounts hotfile.comTypeValidityReport
'.$account.''.$type.'unknownunknown
"; - echo "Check accounts hotfile.com >>>

"; - $checkall = true; - } - if(count($obj->acc["depositfiles.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["depositfiles.com"]["accounts"]); $i++){ - $account = $obj->acc["depositfiles.com"]["accounts"][$i]; - if (stristr($account,':')) $type = "account"; - else $type = "cookie"; - $account = substr($account, 0, 5)."****"; - echo ''; - } - echo "
accounts depositfiles.comTypeValidityReport
'.$account.''.$type.'unknownunknown
"; - echo "Check accounts depositfiles.com >>>

"; - $checkall = true; - } - if(count($obj->acc["oron.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["oron.com"]["accounts"]); $i++){ - $account = $obj->acc["oron.com"]["accounts"][$i]; - if (stristr($account,':')) $type = "account"; - else $type = "cookie"; - $account = substr($account, 0, 5)."****"; - echo ''; - } - echo "
accounts oron.comTypeValidityReport
'.$account.''.$type.'unknownunknown
"; - echo "Check accounts oron.com >>>

"; - $checkall = true; - } - if(count($obj->acc["uploading.com"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["uploading.com"]["accounts"]); $i++){ - $account = $obj->acc["uploading.com"]["accounts"][$i]; - if (stristr($account,':')) $type = "account"; - else $type = "cookie"; - $account = substr($account, 0, 5)."****"; - echo ''; - } - echo "
accounts uploading.comTypeValidityReport
'.$account.''.$type.'unknownunknown
"; - echo "Check accounts uploading.com >>>

"; - $checkall = true; - } - if(count($obj->acc["uploaded.to"]["accounts"])>0){ - echo ' - - - - - - - '; - for($i = 0; $i < count($obj->acc["uploaded.to"]["accounts"]); $i++){ - $account = $obj->acc["uploaded.to"]["accounts"][$i]; - if (stristr($account,':')) $type = "account"; - else $type = "cookie"; - $account = substr($account, 0, 5)."****"; - echo ''; - } - echo "
accounts uploaded.toTypeValidityReport
'.$account.''.$type.'unknownunknown
"; - echo "Check accounts uploaded.to >>>

"; - $checkall = true; - } - if(isset($checkall)) echo '

'; -} -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Description: - - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. - - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile... - - You can now download files with full resume support from filehosts using download managers like IDM etc - - Vinaget is a Free Open Source, supported by a growing community. -* Code LeechViet by VinhNhaTrang -* Developed by ..:: [H] ::.. - -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/class.php b/vinaget/vng263/class.php deleted file mode 100644 index 085f599..0000000 --- a/vinaget/vng263/class.php +++ /dev/null @@ -1,1108 +0,0 @@ -self = 'http://'.$_SERVER['HTTP_HOST'].preg_replace('/\?.*$/', '', isset($_SERVER['REQUEST_URI'])? $_SERVER['REQUEST_URI'] : $_SERVER['PHP_SELF']); - - if (!file_exists(".htaccess")) { - $clog=fopen(".htaccess","a") - or die('
Can\'t find file .htaccess
'); - fwrite($clog,''); - fclose($clog); - } - if (filesize(".htaccess") < 200) { - - #----------- Begin create file .htaccess -----------# - $slashes = explode('/', $this->self); - $max = count($slashes)-1; - $namefolder = ""; - if($max>3) for($i=3;$i<$max;$i++) $namefolder .= "/".$slashes[$i]; - else $namefolder = "/"; - $strhta =""; - if(function_exists("apache_get_modules") && in_array('mod_rewrite',@apache_get_modules())) { - $strhta .= "RewriteEngine on\n"; - $strhta .= "RewriteBase $namefolder\n"; - $strhta .= "RewriteCond %{REQUEST_FILENAME} !-f\n"; - $strhta .= "RewriteCond %{REQUEST_FILENAME} !-d\n"; - $strhta .= "RewriteRule ^(.*)/(.*)/ index.php?file=$2\n"; - } - $strhta .= "order deny,allow\n"; - $strhta .= ''; - $strhta .= "\n"; - $strhta .= "deny from all\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= "allow from all\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= "allow from all\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= "allow from all\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= "deny from all\n"; - $strhta .= "\n"; - $strhta .= "\n"; - $strhta .= ''; - $strhta .= "\n"; - $strhta .= "deny from all\n"; - $strhta .= ""; - - $htafile = ".htaccess"; - $fhta = fopen ($htafile, "w") - or die('
could not open file! Try to chmod the folder ".htaccess" to 666
'); - fwrite ($fhta, $strhta) - or die('
could not write file! Try to chmod the folder ".htaccess" to 666
'); - fclose ($fhta); - @chmod($htafile, 0666); - - #----------- End create file .htaccess -----------# - } - - if (!file_exists ($fileinfo_dir)) { - mkdir($fileinfo_dir) - or die("
Could not create folder! Try to chmod the folder \"$fileinfo_dir\" to 777
"); - @chmod($fileinfo_dir, 0777); - } - if (!file_exists ($fileinfo_dir."/files" )) { - mkdir($fileinfo_dir."/files") - or die("
Could not create folder! Try to chmod the folder \"$fileinfo_dir/files\" to 777
"); - @chmod($fileinfo_dir."/files", 0777); - } - if(!file_exists($fileinfo_dir."/index.php")) { - $clog=fopen($fileinfo_dir."/index.php","a") - or die("
Could not create folder! Try to chmod the folder \"$fileinfo_dir\" to 777
"); - fwrite($clog,''); - fclose($clog); - @chmod($fileinfo_dir."/index.php", 0666); - } - if(!file_exists($fileinfo_dir."/files/index.php")) { - $clog=fopen($fileinfo_dir."/files/index.php","a") - or die("
Could not create folder! Try to chmod the folder \"$fileinfo_dir/files\" to 777
"); - fwrite($clog,''); - fclose($clog); - @chmod($fileinfo_dir."/files/index.php", 0666); - } - $this->Deny = true; - if ($Secure == false) $this->Deny = false; - foreach ($password as $login_vng) - if(isset($_COOKIE["secureid"]) && $_COOKIE["secureid"] == md5($login_vng)) { - $this->Deny = false; - break; - } - $this->lang = $lang; - $this->Secure = $Secure; - $this->fileinfo_dir = $fileinfo_dir; - $this->fileinfo_ext = $fileinfo_ext; - $this->download_prefix = $download_prefix; - $this->banned = explode(' ', '.htaccess .htpasswd .php .php3 .php4 .php5 .phtml .asp .aspx .cgi .pl'); // banned filetypes - $this->unit = 512; - $this->UserAgent = 'Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0'; - $this->limitMBIP = $limitMBIP; - $this->ttl = $ttl; - $this->limitPERIP = $limitPERIP; - $this->ttl_ip = $ttl_ip; - $this->max_jobs_per_ip = $max_jobs_per_ip; - $this->max_jobs = $max_jobs; - $this->max_load = $max_load; - $this->zlink = $ziplink; - $this->link_zip = $apiadf; - $this->badword = $badword; - $this->act = $action; - $this->listfile = $listfile; - $this->checkacc = $checkacc; - $this->privatef = $privatefile; - $this->privateip = $privateip; - $this->check3x = $checklinksex; - $this->filecookie = "/".$filecookie; - $this->colorfn = $colorfilename; - $this->colorfs = $colorfilesize; - $this->title = $title; - } - - function notice(){ - printf($this->lang['notice'],Tools_get::convert_time($this->ttl*60),$this->limitPERIP,Tools_get::convert_time($this->ttl_ip*60)); - $this->CheckMBIP(); - $MB1IP = Tools_get::convertmb($this->countMBIP*1024*1024); - $thislimitMBIP = Tools_get::convertmb($this->limitMBIP*1024*1024); - $maxsize = Tools_get::convertmb($this->max_size_other_host*1024*1024); - - printf($this->lang['yourjobs'],$_SERVER['REMOTE_ADDR'],$this->lookup_ip($_SERVER['REMOTE_ADDR']),$this->max_jobs_per_ip,$MB1IP,$thislimitMBIP); - - printf($this->lang['status'],$maxsize,count($this->jobs),$this->max_jobs,$this->get_load(),$this->max_load,Tools_get::useronline()); - } - - function showplugin(){ - foreach ($this->acc as $host => $value) { - $xout = array(''); - $xout = $this->acc[$host]['accounts']; - $max_size = $this->acc[$host]['max_size']; - if (empty($xout[0])==false && empty($host)==false){ - $hosts[]= '' .$host . ' '.count($xout).'
'; - } - } - if(isset($hosts)){ - if(count($hosts)>4){ - for ($i=0; $i < 5; $i++) echo "$hosts[$i]"; - echo ""; - } - else for ($i=0; $i < count($hosts); $i++) echo "$hosts[$i]"; - if(count($hosts)>4) echo "
".$this->lang['moreacc']."
"; - } - return false; - } - function load_jobs(){ - if (isset($this->jobs)) return; - $dir = opendir($this->fileinfo_dir."/files/"); - $this->lists = array(); - while ($file = readdir($dir)){ - if (substr($file,-strlen($this->fileinfo_ext)-1) == "." . $this->fileinfo_ext){ - $this->lists[] = $this->fileinfo_dir."/files/" . $file; - } - } - closedir($dir); - $this->jobs = array(); - if (count($this->lists)){ - sort($this->lists); - foreach ($this->lists as $file){ - $contentsfile = @file_get_contents($file); - $jobs_data = @json_decode($contentsfile, true); - if (is_array($jobs_data)){ - $this->jobs = array_merge($this->jobs,$jobs_data); - } - } - - } - } - - function save_jobs(){ - if (!isset($this->jobs) || is_array($this->jobs)==false)return; - ### clean jobs ### - $oldest = time() - $this->ttl*60; - $delete = array(); - foreach ($this->jobs as $key=>$job) { - if ($job['mtime'] < $oldest) { - $delete[] = $key; - } - } - foreach ($delete as $url) { - unset($this->jobs[$url]); - } - ### clean jobs ### - $namedata = $timeload = explode(" ", microtime()); - $namedata = $namedata[1]*1000 + round($namedata[0]*1000); - $this->fileinfo = $this->fileinfo_dir."/files/" .$namedata. "." . $this->fileinfo_ext; - $tmp = @json_encode($this->jobs); - $fh = fopen($this->fileinfo, 'w') or die('
Could not open file ! Try to chmod the folder "'.$this->fileinfo_dir."/files/".'" to 777
'); - fwrite($fh, $tmp); - fclose($fh); - @chmod($this->fileinfo, 0666); - if (count($this->lists)) foreach ($this->lists as $file) if (file_exists($file)) @unlink($file); - return true; - } - - function load_cookies(){ - if (isset($this->cookies)){ - return; - } - $this->cookies_data = @file_get_contents($this->fileinfo_dir.$this->filecookie); - $this->cookies = @json_decode($this->cookies_data, true); - if (! is_array($this->cookies)) - { - $this->cookies = array(); - $this->cookies_data = 'wtf'; - } - } - - function get_cookie($site){ - $cookie=""; - if(isset($this->cookies) && count($this->cookies)>0){ - foreach ($this->cookies as $ckey=>$cookies){ - if ($ckey === $site){ - $cookie = $cookies['cookie']; - break; - } - } - } - return $cookie; - } - - function save_cookies($site,$cookie){ - if (!isset($this->cookies)) return; - if($site){ - $cookies = array( - 'cookie' => $cookie, - 'time' => time(), - ); - $this->cookies[$site] = $cookies; - } - $tmp = json_encode($this->cookies); - if ($tmp !== $this->cookies_data){ - $this->cookies_data = $tmp; - $fh = fopen($this->fileinfo_dir.$this->filecookie, 'w') - or die('
Could not open file ! Try to chmod the folder "'.$this->fileinfo_dir.'" to 777
'); - fwrite($fh, $this->cookies_data) - or die('
Could not write file ! Try to chmod the folder "'.$this->fileinfo_dir.'" to 777
'); - fclose($fh); - @chmod($this->fileinfo_dir.$this->filecookie, 0666); - return true; - } - } - - function get_load($i = 0){ - $load = array('0', '0', '0'); - if (@file_exists('/proc/loadavg')){ - if ($fh = @fopen('/proc/loadavg', 'r')){ - $data = @fread($fh, 15); - @fclose($fh); - $load = explode(' ', $data); - } - } - else{ - if ($serverstats = @exec('uptime')){ - if (preg_match('/(?:averages)?\: ([0-9\.]+),?[\s]+([0-9\.]+),?[\s]+([0-9\.]+)/', $serverstats, $matches)){ - $load = array($matches[1], $matches[2], $matches[3]); - } - } - } - return $i==-1 ? $load : $load[$i]; - } - function lookup_ip($ip){ - $this->load_jobs(); - $cnt = 0; - foreach ($this->jobs as $job) - { - if ($job['ip'] === $ip) $cnt++; - } - return $cnt; - } - function Checkjobs() { - $ip = $_SERVER ['REMOTE_ADDR']; - $heute = 0; - $lasttime = time(); - $altr = $lasttime - $this->ttl_ip*60; - foreach ($this->jobs as $job){ - if ($job['ip'] === $ip && $job['mtime'] > $altr) { - $heute++; - if($job['mtime'] < $lasttime ) $lasttime = $job['mtime']; - } - } - - $lefttime = $this->ttl_ip*60 -time() + $lasttime; - $lefttime = Tools_get::convert_time($lefttime); - return array($heute,$lefttime); - } - function get_account($service){ - $acc = ''; - if (isset($this->acc[$service])){ - $service = $this->acc[$service]; - $this->max_size = $service['max_size']; - if(count($service['accounts'])>0) $acc = $service['accounts'][rand(0, count($service['accounts'])-1)]; - } - return $acc; - } - - function GetCookies($content){ - preg_match_all('/Set-Cookie: (.*);/U',$content,$temp); - $cookie = $temp[1]; - $cookies = implode('; ',$cookie); - return $cookies; - } - function lookup_job($hash){ - $this->load_jobs(); - foreach ($this->jobs as $key=>$job) - { - if ($job['hash'] === $hash) return $job; - } - return false; - } -} -##################################### End class getinfo ####################################### - - -##################################### Begin class stream_get ################################## -class stream_get extends getinfo { - function stream_get(){ - $this->config(); - include("account.php"); - $this->load_jobs(); - $this->load_cookies(); - $this->cookie = ''; - if(preg_match('%^(http.+.index.php)/(.*?)/(.*?)/%U', $this->self, $redir)) $this->download($redir[3]); - elseif (isset($_REQUEST['file'])) $this->download($_REQUEST['file']); - if (isset($_COOKIE['owner'])){ - $this->owner = $_COOKIE['owner']; - } - else{ - $this->owner = intval(rand()*10000); - setcookie('owner', $this->owner, 0); - } - } - function download($hash){ - error_reporting (0); - if (! $job = $this->lookup_job($hash)) { - sleep(15); - header("HTTP/1.1 404 Not Found"); - die($this->lang['errorget']); - } - if (($_SERVER['REMOTE_ADDR'] !== $job['ip']) && $this->privateip==true) { - sleep(15); - die($this->lang['errordl']); - } - if ($this->get_load() > $this->max_load) sleep(15); - - $link = ''; - $filesize = $job['size']; - $filename = $this->download_prefix.Tools_get::convert_name($job['filename']); - $directlink = urldecode($job['directlink']['url']); - $this->cookie = $job['directlink']['cookies']; - - $link = $directlink; - $link = str_replace(" ","%20",$link); - if(!$link) { - sleep(15); - header("HTTP/1.1 404 Not Found"); - die($this->lang['erroracc']); - } - $range = ''; - if (isset($_SERVER['HTTP_RANGE'])) { - $range = substr($_SERVER['HTTP_RANGE'], 6); - list($start, $end) = explode('-', $range); - $new_length = $filesize - $start; - } - $port = 80; - $schema = parse_url(trim($link)); - $host= $schema['host']; - $scheme = "http://"; - $gach = explode("/", $link); - list($path1, $path) = explode($gach[2], $link); - if(isset($schema['port'])) $port = $schema['port']; - elseif ($schema['scheme'] == 'https') { - $scheme = "ssl://"; - $port = 443; - } - if ($scheme != "ssl://") { - $scheme = ""; - } - $hosts = $scheme . $host . ':' . $port; - $fp = @stream_socket_client ($hosts, $errno, $errstr, 20, STREAM_CLIENT_CONNECT ); - if (!$fp) { - sleep(15); - header("HTTP/1.1 404 Not Found"); - die ("HTTP/1.1 404 Not Found"); - } - - $data = "GET {$path} HTTP/1.1\r\n"; - $data .= "User-Agent: ".$this->UserAgent."\r\n"; - $data .= "Host: {$host}\r\n"; - $data .= "Accept: */*\r\n"; - $data .= $this->cookie ? "Cookie: ".$this->cookie."\r\n" : ''; - if (!empty($range)) $data .= "Range: bytes={$range}\r\n"; - $data .= "Connection: Close\r\n\r\n"; - @stream_set_timeout($fp, 2); - fputs($fp, $data); - fflush($fp); - $header = ''; - do { - if(!$header) { - $header .= stream_get_line($fp, $this->unit); - if(!stristr($header,"HTTP/1")) break; - } - else $header .= stream_get_line($fp, $this->unit); - } - while (strpos($header, "\r\n\r\n" ) === false); - // Must be fresh start - if( headers_sent() ) - die('Headers Sent'); - // Required for some browsers - if(ini_get('zlib.output_compression')) - ini_set('zlib.output_compression', 'Off'); - header("Pragma: public"); // required - header("Expires: 0"); - header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); - header("Cache-Control: private",false); // required for certain browsers - header("Content-Transfer-Encoding: binary"); - header("Accept-Ranges: bytes"); - - if(stristr($header,"TTP/1.0 200 OK") || stristr($header,"TTP/1.1 200 OK")) { - if(!is_numeric($filesize)) $filesize = trim ($this->cut_str ($header, "Content-Length:", "\n" )); - if(stristr($header,"filename")) { - $filename = trim ($this->cut_str ( $header, "filename", "\n" ) ); - $filename = preg_replace("/(\"\;\?\=|\"|=|\*|UTF-8|\')/","",$filename); - $filename = $this->download_prefix.$filename; - } - if(is_numeric($filesize)) { - header("HTTP/1.1 200 OK"); - header("Content-Type: application/force-download"); - header("Content-Disposition: attachment; filename=".$filename); - header("Content-Length: {$filesize}"); - } - else { - sleep(5); - header("HTTP/1.1 404 Not Found"); - die ("HTTP/1.1 404 Not Found"); - } - } - elseif(stristr($header,"TTP/1.1 206") || stristr($header,"TTP/1.0 206")) { - sleep(2); - header("HTTP/1.1 206 Partial Content"); - header("Content-Type: application/force-download"); - header("Content-Length: $new_length"); - header("Content-Range: bytes $range/{$filesize}"); - } - else { - sleep(10); - header("HTTP/1.1 404 Not Found"); - die ("HTTP/1.1 404 Not Found"); - } - - $tmp = explode("\r\n\r\n", $header); - $max =count($tmp); - for($i=1;$i < $max;$i++){ - print $tmp[$i]; - if($i != $max-1) echo "\r\n\r\n"; - } - while (!feof($fp) && (connection_status()==0)) { - $recv = @stream_get_line($fp, $this->unit); - @print $recv; - @flush(); - @ob_flush(); - } - fclose($fp); - exit; - } - - function CheckMBIP(){ - $this->countMBIP = 0; - $this->totalMB = 0; - $this->timebw = 0; - $timedata =time(); - foreach ($this->jobs as $job){ - if ($job['ip'] == $_SERVER['REMOTE_ADDR']) { - $this->countMBIP = $this->countMBIP + $job['size']/1024/1024; - if($job['mtime'] < $timedata ) $timedata = $job['mtime']; - $this->timebw = $this->ttl*60 + $timedata -time(); - } - if($this->privatef==false){ - $this->totalMB = $this->totalMB + $job['size']/1024/1024; - $this->totalMB = round($this->totalMB); - } - else { - if ($job['owner'] == $this->owner) { - $this->totalMB = $this->totalMB + $job['size']/1024/1024; - $this->totalMB = round($this->totalMB); - } - } - - } - $this->countMBIP = round($this->countMBIP); - if ($this->countMBIP >= $this->limitMBIP) return false; - return true; - } - function curl($url,$cookies,$post,$header=1){ - $ch = @curl_init(); - curl_setopt($ch, CURLOPT_URL, $url); - curl_setopt($ch, CURLOPT_HEADER, $header); - if ($cookies) curl_setopt($ch, CURLOPT_COOKIE, $cookies); - curl_setopt($ch, CURLOPT_USERAGENT, $this->UserAgent); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($ch, CURLOPT_REFERER,$url); - if ($post){ - curl_setopt($ch, CURLOPT_POST, 1); - curl_setopt($ch, CURLOPT_POSTFIELDS, $post); - } - curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); - curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE); - curl_setopt($ch, CURLOPT_TIMEOUT, 30); - curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 20); - $page = curl_exec( $ch); - curl_close($ch); - return $page; - } - function cut_str($str, $left, $right) { - $str = substr ( stristr ( $str, $left ), strlen ( $left ) ); - $leftLen = strlen ( stristr ( $str, $right ) ); - $leftLen = $leftLen ? - ($leftLen) : strlen ( $str ); - $str = substr ( $str, 0, $leftLen ); - return $str; - } - - function GetCookies($content){ - preg_match_all('/Set-Cookie: (.*);/U',$content,$temp); - $cookie = $temp[1]; - $cookies = implode('; ',$cookie); - return $cookies; - } - function GetAllCookies($page) { - $lines = explode("\n", $page); - $retCookie = ""; - foreach ($lines as $val) - { - preg_match('/Set-Cookie: (.*)/',$val,$temp); - if (isset($temp[1])) - { - if ($cook = substr($temp[1], 0, stripos($temp[1], ';'))) - $retCookie .= $cook . ";"; - } - } - return $retCookie; - } - function mf_str_conv($str_or) - { - $str_or = stripslashes($str_or); - if (!preg_match("/unescape\(\W([0-9a-f]+)\W\);\w+=([0-9]+);[^\^]+\)([0-9\^]+)?\)\);eval/", $str_or, $match)) return $str_or; - $match[3] = $match[3] ? $match[3] : ""; - $str_re = ""; - for ($i = 0; $i < $match[2]; $i++){ - $c = HexDec(substr($match[1], $i*2, 2)); - eval ("\$c = \$c".$match[3].";"); - $str_re .= chr($c); - } - $str_re = str_replace($match[0], stripslashes($str_re), $str_or); - if (preg_match("/unescape\(\W([0-9a-f]+)\W\);\w+=([0-9]+);[^\^]+\)([0-9\^]+)?\)\);eval/", $str_re, $dummy)) - $str_re = $this->mf_str_conv($str_re); - return $str_re; - } - - function main(){ - if ($this->get_load() > $this->max_load){ - echo '
'.$this->lang['svload'].'
'; - return; - } - if (isset($_POST['urllist'])) { - $url = $_POST['urllist']; - $url = str_replace("\r", "", $url); - $url = str_replace("\n", "", $url); - $url = str_replace("<", "", $url); - $url = str_replace(">", "", $url); - $url = str_replace(" ", "", $url); - } - if (isset($url)&& strlen($url) > 10){ - if(substr($url,0,4)=='www.')$url = "http://".$url; - if(!$this->check3x) $dlhtml = $this->get($url); - else{ - ################### CHECK 3X ######################### - $check3x = false; - if(strpos($url,"|not3x")) $url = str_replace("|not3x","",$url) ; - else{ - $data = $this->curl("http://www.google.com/search?q=$url", "", ""); - $totalbadword = count ($this->badword); - for($i = 0; $i < $totalbadword; $i++){ - if (stristr($data,$this->badword[$i])) { - $check3x = true; - break; - } - } - } - if($check3x == false) $dlhtml = $this->get($url); - else { - $dlhtml = printf($this->lang['issex'],$url,$url,$url); - unset($check3x); - } - ################### CHECK 3X ######################### - } - } - else $dlhtml = "".$url." errorlink ".$this->lang['errorlink']."
"; - echo $dlhtml; - } - function get($url){ - $this->CheckMBIP(); - $dlhtml = ''; - if (count($this->jobs) >= $this->max_jobs){ - $dlhtml = '
'.$this->lang['manyjob'].'
'; - return $dlhtml; - } - if ($this->countMBIP >= $this->limitMBIP){ - printf($this->lang['countMBIP'],Tools_get::convertmb($this->limitMBIP*1024*1024),Tools_get::convert_time($this->ttl*60),Tools_get::convert_time($this->timebw)); - return $dlhtml; - } - /* check 1 */ - $checkjobs = $this->Checkjobs(); - $heute = $checkjobs[0]; - $lefttime = $checkjobs[1]; - if ($heute >= $this->limitPERIP){ - printf($this->lang['limitPERIP'],$this->limitPERIP,Tools_get::convert_time($this->ttl_ip*60),$lefttime); - return $dlhtml; - } - /* /check 1 */ - if ($this->lookup_ip($_SERVER['REMOTE_ADDR']) >= $this->max_jobs_per_ip){ - $dlhtml = '
'.$this->lang['limitip'].'
'; - return $dlhtml; - } - $url = trim($url); - if (empty($url)) return; - $Original = $url; - $link = ""; - $user = ''; $pass = ''; $cookie = ''; - $report = false; - include ("hosts/hosts.php"); - ksort($host); - foreach ($host as $file => $site){ - $site = substr($site,0,-4); - $site = str_replace("_",".",$site) ; - if (preg_match('%'.$site.'%U', $Original)){ - include ('hosts/'.$host[$file]); - break; - } - } - - if($report) { - return $report; - } - if(!$link){ - $size_name = Tools_get::size_name($Original, ""); - $filesize = $size_name[0]; - $filename = $size_name[1]; - $this->max_size = $this->max_size_other_host; - if($size_name[0]>1024*100) $link=$url; - else { - printf($this->lang['notsupport'],$Original,$Original); - return $dlhtml; - } - } - $hosting = Tools_get::site_hash($Original); - - if(!isset($filesize)) { - printf($this->lang['notdl'],$Original,$Original); - return $dlhtml; - } - if(!isset($this->max_size)) $this->max_size = $this->max_size_other_host; - $msize = Tools_get::convertmb($filesize); - $hash = md5($_SERVER['REMOTE_ADDR'].$Original); - if ($hash === false) { - return $this->lang['cantjob']; - } - if ($filesize > $this->max_size*1024*1024) { - printf($this->lang['filebig'],$Original,$msize,Tools_get::convertmb($this->max_size*1024*1024)); - return $dlhtml; - } - if (($this->countMBIP+$filesize/(1024*1024)) >= $this->limitMBIP){ - printf($this->lang['countMBIP'],Tools_get::convertmb($this->limitMBIP*1024*1024),Tools_get::convert_time($this->ttl*60),Tools_get::convert_time($this->timebw)); - return $dlhtml; - } - /* check 2 */ - $checkjobs = $this->Checkjobs(); - $heute = $checkjobs[0]; - $lefttime = $checkjobs[1]; - if ($heute >= $this->limitPERIP){ - printf($this->lang['limitPERIP'],$this->limitPERIP,Tools_get::convert_time($this->ttl_ip*60),$lefttime); - return $dlhtml; - } - /* /check 2 */ - $job = array( - 'hash' => substr(md5($hash), 0, 10), - 'path' => substr(md5(rand()), 0, 5), - 'filename' => urlencode($filename), - 'size' => $filesize, - 'msize' => $msize, - 'mtime' => time(), - 'speed' => 0, - 'url' => urlencode($Original), - 'owner' => $this->owner, - 'ip' => $_SERVER['REMOTE_ADDR'], - 'type' => 'direct', - 'directlink' => array( - 'url' => urlencode($link), - 'cookies'=> $this->cookie, - ), - ); - $this->jobs[$hash] = $job; - $this->save_jobs(); - $tiam = time().rand(0,999); - - $gach = explode('/', $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']); - $sv_name = ""; - for ($i=0;$i zlink)==false && empty($this->link_zip)==false && empty($link)==false ){ - $datalink = $this->curl($this->link_zip.$linkdown,'','',0); - if (preg_match('%(http:\/\/.++)%U', $datalink, $shortlink)) $lik = trim($shortlink[1]); - else $lik = $linkdown; - } - ############ End short link ########## - else $lik = $linkdown; - - $dlhtml = " ".$filename." ($msize)"; - return $dlhtml; - } - function datecmp($a, $b){ - return ($a[1] < $b[1]) ? 1 : 0; - } - function fulllist() { - $act=""; - if($this->act['delete']==true) { $act.=''; } - if($this->act['rename']==true) { $act.='';} - if ($act != ""){ - if ((isset($_POST['checkbox'][0]) && $_POST['checkbox'][0] != null) || isset($_POST['renn']) || isset($_POST['remove'])){ - echo '
'; - switch ($_POST['option']){ - case 'del': $this->deljob(); break; - case 'ren': $this->renamejob(); break; - } - if (isset($_POST['renn'])) $this->renamejob(); - if (isset($_POST['remove'])) $this->deljob(); - echo "

"; - } - } - else echo ''; - $files = array(); - foreach ($this->jobs as $job) { - if ($job['owner']!=$this->owner && $this->privatef==true) continue; - $files[] = array(urldecode($job['url']), $job['mtime'], $job['hash'], urldecode($job['filename']),$job['size'],$job['ip'],$job['msize']); - } - if (count($files)==0) { echo "
".$this->lang['notfile']."
[".$this->lang['main']."]
"; return;} - echo ""; - echo "
Check All | Un-Check All | Invert Selection

"; - echo "
'; - - echo '
- '; - - usort($files, array($this, 'datecmp')); - $data = ""; - foreach ($files as $file){ - $timeago = Tools_get::convert_time(time() - $file[1]). " ".$this->lang['ago']; - if (strlen($file[3]) > 80) $file[3]= substr($file[3],0,70); - $hosting = substr(Tools_get::site_hash($file[0]),0,15); - if(function_exists("apache_get_modules") && in_array('mod_rewrite',@apache_get_modules())) $linkdown = Tools_get::site_hash($file[0])."/$file[2]/$file[3]"; - else $linkdown = 'index.php/'.Tools_get::site_hash($file[0])."/$file[2]/$file[3]"; - $data .= ""; - - } - $this->CheckMBIP(); - echo $data; - $totalall = Tools_get::convertmb($this->totalMB*1024*1024); - $MB1IP = Tools_get::convertmb($this->countMBIP*1024*1024); - $thislimitMBIP = Tools_get::convertmb($this->limitMBIP*1024*1024); - $timereset = Tools_get::convert_time($this->ttl*60); - - echo "
 '.$this->lang['name'].''.$this->lang['original'].''.$this->lang['size'].''.$this->lang['date'].'
$file[3]".$hosting."".$file[6]."$timeago
 ".$this->lang['total'].":$totalall 
-
".$this->lang['used']." $MB1IP/$thislimitMBIP - ".$this->lang['reset']." $timereset.

"; - - } - function deljob(){ - if($this->act['delete']==false) return; - if (isset($_POST['checkbox'])){ - echo "
"; - for ($i=0; $i < count($_POST['checkbox']); $i++){ - $temp = explode("+++",$_POST['checkbox'][$i]); - $ftd = $temp[0]; - $name = $temp[1]; - echo "
$name "; - echo ''; - echo ''; - } - echo "

 

"; - } - if (isset($_POST['remove'])){ - echo "
"; - for ($i=0; $i < count($_POST['ftd']); $i++){ - $ftd = $_POST['ftd'][$i]; - $name = $_POST['name'][$i]; - $key = ""; - foreach ($this->jobs as $url=>$job){ - if ($job['hash'] == $ftd){ - $key = $url; - break; - } - } - if($key){ - unset($this->jobs[$key]); - echo "
File: $name ".$this->lang['deld']; - } - else echo "
File: $name ".$this->lang['notfound']; - echo "
"; - } - echo "
"; - $this->save_jobs(); - } - if (isset($_POST['Cancel'])){ - $this->fulllist(); - } - } - - function renamejob(){ - if($this->act['rename']==false) return; - if (isset($_POST['checkbox'])){ - echo ""; - for ($i=0; $i < count($_POST['checkbox']); $i++){ - $temp = explode("+++",$_POST['checkbox'][$i]); - $name = $temp[1]; - echo "
$name "; - echo ''; - echo ''; - echo '
'.$this->lang['nname'].':
'; - } - echo "
 

"; - } - if (isset($_POST['renn'])){ - for ($i=0; $i < count($_POST['name']); $i++) - { - $orname = $_POST['name'][$i]; - $hash = $_POST['hash'][$i]; - $nname = $_POST['nname'][$i]; - $nname =Tools_get::convert_name($nname); - $nname = str_replace($this->banned,'',$nname); - if ($nname == "") { echo "
".$this->lang['bname']."

"; return; } - else { - echo "
"; - $key = ""; - foreach ($this->jobs as $url=>$job){ - if ($job['hash'] == $hash){ - $key = $url; - //$hash = $this->create_hash($key,$nname); - $jobn = array( - 'hash' => $job['hash'], - 'path' => $job['path'], - 'filename' => urlencode($nname), - 'size' => $job['size'], - 'msize' => $job['msize'], - 'mtime' => $job['mtime'], - 'speed' => 0, - 'url' => $job['url'], - 'owner' => $job['owner'], - 'ip' => $job['ip'], - 'type' => 'direct', - 'directlink' => array( - 'url' => $job['directlink']['url'], - 'cookies'=> $job['directlink']['cookies'], - ), - ); - } - } - if($key){ - $this->jobs[$key] = $jobn; - $this->save_jobs(); - echo "File $orname ".$this->lang['rnameto']." $nname"; - } - else echo "File $orname ".$this->lang['notfound']; - echo "

"; - } - } - } - if (isset($_POST['Cancel'])){ - $this->fulllist(); - } - } - -} -##################################### End class stream_get ################################### - - -##################################### Begin class Tools_get ################################### -class Tools_get extends getinfo { - function useronline() { - $data = @file_get_contents($this->fileinfo_dir."/online.dat"); - $online = @json_decode($data, true); - if (!is_array($online)){ - $online = array(); - $data = 'vng'; - } - $online[$_SERVER['REMOTE_ADDR']] = time(); - - ### clean jobs ### - $oldest = time() - 45; - foreach ($online as $ip=>$time) { - if ($time < $oldest) unset($online[$ip]); - } - ### clean jobs ### - /*-------------- save --------------*/ - $tmp = json_encode($online); - if ($tmp !== $data){ - $data = $tmp; - $fh = fopen($this->fileinfo_dir."/online.dat", 'w') - or die('
Could not open file ! Try to chmod the folder "'.$this->fileinfo_dir.'" to 777
'); - fwrite($fh, $data) - or die('
Could not write file ! Try to chmod the folder "'.$this->fileinfo_dir.'" to 777
'); - fclose($fh); - @chmod($this->fileinfo_dir."/online.dat", 0666); - } - /*-------------- /save --------------*/ - return count($online); - } - function size_name($link,$cookie){ - if(!$link || !stristr($link,'http')) return; - $link = str_replace(" ","%20",$link); - $port = 80; - $schema = parse_url(trim($link)); - $host= $schema['host']; - $scheme = "http://"; - if(empty($schema['path'])) return; - $gach = explode("/", $link); - list($path1, $path) = explode($gach[2], $link); - if(isset($schema['port'])) $port = $schema['port']; - elseif ($schema['scheme'] == 'https') { - $scheme = "ssl://"; - $port = 443; - } - if ($scheme != "ssl://") { - $scheme = ""; - } - $data = "GET {$path} HTTP/1.1\r\n"; - $data .= "User-Agent: ".$this->UserAgent."\r\n"; - $data .= "Host: {$host}\r\n"; - $data .= $cookie ? "Cookie: $cookie\r\n" : ''; - $data .= "Connection: Close\r\n\r\n"; - $errno = 0; - $errstr = ""; - - $hosts = $scheme . $host . ':' . $port; - $fp = @stream_socket_client ($hosts, $errno, $errstr, 20, STREAM_CLIENT_CONNECT ); - if (! $fp) return -1; - - fputs ( $fp, $data ); - fflush ( $fp ); - $header = ""; - do { - if(!$header) { - $header .= fgets ( $fp, 8192 ); - if(!stristr($header,"HTTP/1")) break; - } - else $header .= fgets ( $fp, 8192 ); - } while ( strpos ( $header, "\r\n\r\n" ) === false ); - - if(stristr($header,"TTP/1.0 200 OK") || stristr($header,"TTP/1.1 200 OK") || stristr($header,"TTP/1.1 206")) - $filesize = trim ($this->cut_str ( $header, "Content-Length:", "\n" ) ); - else $filesize = -1; - if(!is_numeric($filesize)) $filesize = -1; - $filename = ""; - if(stristr($header,"filename")) { - $filename = trim ($this->cut_str ( $header, "filename", "\n" ) ); - } - else $filename = substr(strrchr($link, '/'), 1); - $filename = self::convert_name($filename); - return array($filesize,$filename); - } - - function site_hash($url){ - if(strpos($url,"rapidshare.com")) $site = "RS"; //rename_prefix - else if(strpos($url,"filefactory.com")) $site = "FF"; - else if(strpos($url,"netload.in")) $site = "NL"; - else if(strpos($url,"depositfiles.com"))$site = "DF"; - else if(strpos($url,"uploading.com"))$site = "ULD"; - else if(strpos($url,"mediafire.com")) $site = "MF"; - else { - $schema = parse_url($url); - $site = preg_replace("/(www\.|\.com|\.net|\.biz|\.info|\.org|\.us|\.vn|\.jp|\.fr|\.in|\.to)/","",$schema['host']); - } - return $site; - } - function convert($filesize){ - $filesize = str_replace(",",".",$filesize); - if(preg_match('/^([0-9]{1,4}+(\.[0-9]{1,2})?)/', $filesize,$value)){ - if(stristr($filesize,"TB")) $value = $value[1]*1024*1024*1024*1024; - elseif(stristr($filesize,"GB")) $value = $value[1]*1024*1024*1024; - elseif(stristr($filesize,"MB")) $value = $value[1]*1024*1024; - elseif(stristr($filesize,"KB")) $value = $value[1]*1024; - else $value = $value[1]; - } - else $value = 0; - return $value; - } - function convertmb($filesize){ - if (!is_numeric($filesize)) return $filesize; - $soam = false; - if($filesize<0){ - $filesize = abs($filesize); - $soam = true; - } - if($filesize >= 1024*1024*1024*1024) $value = ($soam ? "-" : "").round($filesize/(1024*1024*1024*1024), 2)." TB"; - elseif($filesize >= 1024*1024*1024) $value = ($soam ? "-" : "").round($filesize/(1024*1024*1024), 2)." GB"; - elseif($filesize >= 1024*1024) $value = ($soam ? "-" : "").round($filesize/(1024*1024), 2)." MB"; - elseif($filesize >= 1024) $value = ($soam ? "-" : "").round($filesize/(1024), 2)." KB"; - else $value = ($soam ? "-" : "").$filesize." Bytes"; - return $value; - } - function uft8html2utf8( $s ) { - if ( !function_exists('uft8html2utf8_callback') ) { - function uft8html2utf8_callback($t) { - $dec = $t[1]; - if ($dec < 128) { - $utf = chr($dec); - } else if ($dec < 2048) { - $utf = chr(192 + (($dec - ($dec % 64)) / 64)); - $utf .= chr(128 + ($dec % 64)); - } else { - $utf = chr(224 + (($dec - ($dec % 4096)) / 4096)); - $utf .= chr(128 + ((($dec % 4096) - ($dec % 64)) / 64)); - $utf .= chr(128 + ($dec % 64)); - } - return $utf; - } - } - return preg_replace_callback('|&#([0-9]{1,});|', 'uft8html2utf8_callback', $s ); - } - - function convert_name($filename){ - $filename =urldecode($filename); - $filename =Tools_get::uft8html2utf8($filename); - $filename = preg_replace("/(\]|\[|\@|\"\;\?\=|\"|=|\*|UTF-8|\')/","",$filename); - $filename = preg_replace("/(HTTP|http|WWW|www|\.html|\.htm)/i","",$filename); - $filename = str_replace($this->banned, '.xxx', $filename); - if (empty($filename)==true) $filename = substr(md5(time().$url), 0, 10); - return $filename; - } - - function convert_time($time){ - if($time >= 86400) $time = round($time/(60*24*60), 1)." ".$this->lang['days']; - elseif(86400 > $time && $time >= 3600) $time = round($time/(60*60), 1)." ".$this->lang['hours']; - elseif(3600 > $time && $time >= 60) $time = round($time/60, 1)." ".$this->lang['mins']; - else $time = $time." ".$this->lang['sec']; - - return $time; - } - function report($url,$reason){ - if($reason == "dead"){ - $report =''.$url.' errorlink '.$this->lang['dead'].'
'; - return $report; - } - elseif($reason == "erroracc"){ - $report = '
'.$link.' gооd_lіnk | '.$matches[1].' '.$this->lang['notwork'].'
'; - - return $report; - } - elseif($reason == "svload"){ - $report = ''.$url.' errorlink '.$this->lang['again'].''; - return $report; - } - elseif($reason == "Unavailable") $reason = $this->lang['navailable']; - elseif($reason == "disabletrial") $reason = $this->lang['disabletrial']; - elseif($reason == "Adult") $reason = $this->lang['adult']; - elseif($reason == "youtube_captcha") $reason = $this->lang['ytb_captcha']; - elseif($reason == "ErrorLocating") $reason = $this->lang['ytb_Error']; - $report =''.$url.' errorlink '.$reason.'
'; - return $report; - } -} -##################################### End class Tools_get ##################################### - -?> \ No newline at end of file diff --git a/vinaget/vng263/config.php b/vinaget/vng263/config.php deleted file mode 100644 index 2aa4b8d..0000000 --- a/vinaget/vng263/config.php +++ /dev/null @@ -1,49 +0,0 @@ - http://adf.ly/?id=343503 -$apiadf = "http://api.adf.ly/api.php?key=94793cf6c45d36ed3d008d098fcfb964&uid=343503&advert_type=int&domain=adf.ly&url="; -$listfile = true; # enable/disable all user can see list files. -$privatefile = false; # enable/disable other people can see your file in the list files -$privateip = false; # enable/disable other people can download your file. -$checkacc = true; # enable/disable all user can use check account. -$checklinksex = true; # enable/disable check link 3x,porn... - -$action = array( # action with file in server files, set to true to enable, set to false to disable -'rename' => true, -'delete' => true, -); - -# List of Bad Words, you can add more -$badword = array("porn","jav ", "Uncensored","xxx japan", "tora.tora", "tora-tora", "SkyAngle", "Sky_Angel", "Sky.Angel", "Incest","fuck", "Virgin", "PLAYBOY", "Adult", "tokyo hot", "Gangbang", "BDSM", "Hentai", "lauxanh", "homosexual", "bitch" , "Torture", "Nurse", "dâm đãng", "cực dâm", "phim cấp 3", "phim 18+", " Hentai", "Sex Videos", "Adult", "Adult XXX", "XXX movies", "Free Sex", "hardcore", "rape", "jav4u", "javbox", "jav4you", "akiba-online.com","JAVbest.ORG","X-JAV","cnnwe.com","J4v.Us","J4v.Us","teendaythi.com","entnt.com","khikhicuoi","sex-scandal.us","hotavxxx.com"); - - -require_once ('languages.php'); -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/.htaccess b/vinaget/vng263/hosts/.htaccess deleted file mode 100644 index ee94ea5..0000000 --- a/vinaget/vng263/hosts/.htaccess +++ /dev/null @@ -1,12 +0,0 @@ -order deny,allow - - -deny from all - - -allow from all - - - -deny from all - \ No newline at end of file diff --git a/vinaget/vng263/hosts/4shared_com.php b/vinaget/vng263/hosts/4shared_com.php deleted file mode 100644 index 271f89d..0000000 --- a/vinaget/vng263/hosts/4shared_com.php +++ /dev/null @@ -1,64 +0,0 @@ -get_account('4shared.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - $password = ""; - if(strpos($url,"|")) { - $linkpass = explode('|', $url); - $url = $linkpass[0]; $password = $linkpass[1]; - } - if (isset($_POST['password'])) $password = $_POST['password']; - if($password) $post = "userPass2=".$password; - else $post = ""; - - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("4shared.com"); - if(!$cookie){ - $url = str_replace("4shared.com/get", "4shared.com/file", $url); - $data = $this->curl("http://www.4shared.com/index.jsp","4langcookie=en","login=$user&password=$pass&remember=true&doNotRedirect=true"); - $cookie = $this->GetCookies($data); - $this->save_cookies("4shared.com",$cookie); - } - $data = $this->curl($url,$cookie.';4langcookie=en;',$post); - //echo "";exit; - $cookie = $cookie.";".$this->GetCookies($data); - $this->cookie = $cookie; - if (stristr($data,'The file link that you requested is not valid')) die(Tools_get::report($Original,"dead")); - elseif(strpos($data,'TYPE="PASSWORD"')) { - die($this->lang['reportpass']); - } - elseif(preg_match ( '/href="(.*)" class="dbtn gaClick"/i', $data, $linkpre)){ - $link = trim ($linkpre[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - $filename=str_replace("/(;?=|;?)/","",$filename); - break; - } - elseif(preg_match ( '/ocation: (.*)/', $data, $linkpre)){ - $link = trim ($linkpre[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - $filename=str_replace("/(;?=|;?)/","",$filename); - break; - } - else { - $cookie = ""; - $this->save_cookies("4shared.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/bayfiles_com.php b/vinaget/vng263/hosts/bayfiles_com.php deleted file mode 100644 index 29b69bc..0000000 --- a/vinaget/vng263/hosts/bayfiles_com.php +++ /dev/null @@ -1,41 +0,0 @@ -get_account('bayfiles.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("bayfiles.com"); - if(!$cookie){ - $data = $this->curl("http://bayfiles.com/ajax_login",'',"action=login&username=$user&password=$pass&next=%252F&="); - $cookie = $this->GetCookies($data); - $this->save_cookies("bayfiles.com",$cookie); - } - $data = $this->curl($url,$cookie,""); - $cookie = $this->GetCookies($data); - $this->cookie = $cookie; - if (stristr($data,'file could not be found')) die(Tools_get::report($Original,"dead")); - elseif(preg_match('/class="highlighted-btn" href="(.*)"/i', $data, $redir)){ - $link = trim($redir[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ''; - $this->save_cookies("bayfiles.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/bitshare_com.php b/vinaget/vng263/hosts/bitshare_com.php deleted file mode 100644 index 0c5b721..0000000 --- a/vinaget/vng263/hosts/bitshare_com.php +++ /dev/null @@ -1,40 +0,0 @@ -get_account('bitshare.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("bitshare.com"); - if(!$cookie){ - $data = $this->curl("http://bitshare.com/login.html","","user=$user&password=$pass&rememberlogin=&submit=Login"); - $cookie = $this->GetCookies($data); - $this->save_cookies("bitshare.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (stristr($data,'

Error - File not available

')) die(Tools_get::report($Original,"dead")); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $link = trim($redir[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("bitshare.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/cloudnator_com.php b/vinaget/vng263/hosts/cloudnator_com.php deleted file mode 100644 index e09580b..0000000 --- a/vinaget/vng263/hosts/cloudnator_com.php +++ /dev/null @@ -1,59 +0,0 @@ -get_account('cloudnator.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("cloudnator.com"); - if(!$cookie){ - $data = $this->curl("http://www.cloudnator.com/login","","username=$user&password=$pass&cookie=on&submit=Login+to+cloudnator"); - $cookie = $this->GetCookies($data); - $this->save_cookies("cloudnator.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if(preg_match('/ocation: *(.*)/i', $data, $redir)) $link = trim($redir[1]); - elseif(preg_match('%(http:\/\/.+cloudnator\.com/download.php)"%U', $data, $value)) { - $loginurl = trim($value[1]); - if(preg_match_all('/input type="hidden" name="(.*?)" value="(.*?)"/i', $data, $value)) { - $max =count($value[1]); - $post = ""; - for ($k=0; $k < $max; $k++){ - $post .= $value[1][$k].'='.$value[2][$k].'&'; - } - $data = $this->curl($loginurl,$cookie,$post); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $link = trim($redir[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - if($size_name[0] < 200 ){ - $data = $this->curl($link,$cookie,''); - if(preg_match('/ocation: *(.*)/i', $data, $redir)) $link = trim($redir[1]); - } - } - } - } - else if (stristr($data,'Selected file not found')) die(Tools_get::report($Original,"dead")); - if($link) { - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("cloudnator.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/crocko_com.php b/vinaget/vng263/hosts/crocko_com.php deleted file mode 100644 index d006403..0000000 --- a/vinaget/vng263/hosts/crocko_com.php +++ /dev/null @@ -1,43 +0,0 @@ -get_account('crocko.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - //==== Fix link ==== - $gach = explode('/', $url); - if (count($gach)> 4) $url = 'http://www.crocko.com/' . $gach[3]; - //==== Fix link ==== - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("crocko.com"); - if(!$cookie){ - $post["login"]=$user; - $post["password"]=$pass; - $page = $this->curl('http://www.crocko.com/accounts/login',"",$post); - $cookie = $this->GetAllCookies($page); - $this->save_cookies("crocko.com",$cookie); - } - $this->cookie = $cookie; - $page=$this->curl($url,$cookie,""); - if(preg_match('/ocation: (.*)/', $page, $match)){ - $link = trim($match[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - elseif (stristr($page,'Requested file is deleted')) die(Tools_get::report($Original,"dead")); - else $this->save_cookies("crocko.com",""); - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/depfile_com.php b/vinaget/vng263/hosts/depfile_com.php deleted file mode 100644 index 075e4dd..0000000 --- a/vinaget/vng263/hosts/depfile_com.php +++ /dev/null @@ -1,44 +0,0 @@ -get_account('depfile.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("depfile.com"); - if(!$cookie){ - $data = $this->curl($url,"sdlanguageid=2","login=login&loginemail=$user&loginpassword=$pass&submit=login&rememberme=on"); - $cookie = $this->GetCookies($data); - $this->save_cookies("depfile.com",$cookie); - } - $data = $this->curl($url,$cookie,""); - $cookie = $this->GetCookies($data); - $this->cookie = $cookie; - if (stristr($data,'A link for 24 hours')) { - $data = $this->cut_str($data, "A link for 24 hours","Download:"); - if(preg_match('/value="(.*)"><\/td>/i', $data, $redir)){ - $link = trim($redir[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - } - else if (stristr($data,'File was not found')) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("depfile.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/depositfiles_com.php b/vinaget/vng263/hosts/depositfiles_com.php deleted file mode 100644 index aafc135..0000000 --- a/vinaget/vng263/hosts/depositfiles_com.php +++ /dev/null @@ -1,67 +0,0 @@ -acc['depositfiles.com']['accounts']); - if($maxacc > 0){ - $password = ""; - if(strpos($url,"|")) { - $linkpass = explode('|', $url); - $url = $linkpass[0]; $password = $linkpass[1]; - } - if (isset($_POST['password'])) $password = $_POST['password']; - if($password) $post = "file_password=".$password; - else $post = ""; - for ($k=0; $k < $maxacc; $k++){ - $account = $this->acc['depositfiles.com']['accounts'][$k]; - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - $url=str_replace("depositfiles.com/files","depositfiles.com/en/files",$url); - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("depositfiles.com"); - if(!$cookie){ - $page=$this->curl("http://depositfiles.com/login.php?return=%2F","lang_current=en","go=1&login=$user&password=$pass"); - $cookie = $this->GetCookies($page); - $this->save_cookies("depositfiles.com",$cookie); - } - $page=$this->curl($url,$cookie.';lang_current=en;',$post); - $cookies = $this->GetCookies($page); - $this->cookie = $cookies; - if(stristr($page, "You have exceeded the")){ - if($k <$maxacc-1) { - $cookie = ''; - $this->save_cookies("depositfiles.com",""); - continue; - } - else die("Account out of bandwidth"); - } - elseif(strpos($page,'Please, enter the password for this file')) die($this->lang['reportpass']); - elseif (preg_match('/ocation: *(.*)/i', $page, $redir))$link = trim($redir[1]); - elseif (preg_match('%"(http:\/\/.+depositfiles\.com/auth.+)" onClick="%U', $page, $redir2)) - $link = trim($redir2[1]); - elseif(stristr($page, "Such file does not exist")) die(Tools_get::report($Original,"dead")); - if($link){ - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("depositfiles.com",""); - } - } - if($link) break; - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/easy-share_com.php b/vinaget/vng263/hosts/easy-share_com.php deleted file mode 100644 index 41d07fb..0000000 --- a/vinaget/vng263/hosts/easy-share_com.php +++ /dev/null @@ -1,18 +0,0 @@ -curl($url,"",""); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $url = trim($redir[1]); - include("crocko_com.php"); - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/enterupload_com.php b/vinaget/vng263/hosts/enterupload_com.php deleted file mode 100644 index dbf6182..0000000 --- a/vinaget/vng263/hosts/enterupload_com.php +++ /dev/null @@ -1,48 +0,0 @@ -get_account('enterupload.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - #==== Fix link ====# - $gach = explode('/', $url); - if (count($gach) > 3) $url = 'http://www.enterupload.com/' . $gach[3]; - #==== Fix link ====# - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("enterupload.com"); - if(!$cookie){ - $post['op'] = "login"; - $post['login'] = $user; - $post['password'] = $pass; - $post['x'] = rand(0,50); - $post['y'] = rand(0,15); - $data = $this->curl("http://www.enterupload.com/login.html","",$post); - $cookie = $this->GetCookies($data); - $this->save_cookies("enterupload.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (preg_match('/ocation: (.*)/',$data,$match)) { - $link = trim($match[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("enterupload.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/extabit_com.php b/vinaget/vng263/hosts/extabit_com.php deleted file mode 100644 index 46d4832..0000000 --- a/vinaget/vng263/hosts/extabit_com.php +++ /dev/null @@ -1,57 +0,0 @@ -get_account('extabit.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("extabit.com"); - if(!$cookie){ - $post = array(); - $post['email'] = $user; - $post['pass'] = $pass; - $post['auth_submit_login.x'] = rand(5,70); - $post['auth_submit_login.y'] = rand(3,20); - $post['remember'] = "1"; - $data = $this->curl("http://extabit.com/login.jsp","language=en",$post); - $cookie = $this->GetCookies($data); - $this->save_cookies("extabit.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (stristr($data,'File is temporary unavailable')) die(Tools_get::report($Original,"dead")); - else if (preg_match('/ocation: (.*)/',$data,$match)) { - $link = trim($match[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - if($size_name[0] <= 0) { - $data = $this->curl($link,$cookie,""); - if (stristr($data,'File is temporary unavailable')) die(Tools_get::report($Original,"dead")); - elseif (preg_match('/ocation: (.*)/',$data,$match)) $link = trim($match[1]); - elseif (preg_match('%id="download-file-btn" href="(.*)" onClick%U', $data, $redir2)) $link = trim($redir2[1]); - } - } - elseif (preg_match('%id="download-file-btn" href="(.*)" onClick%U', $data, $redir2)) $link = trim($redir2[1]); - if(stristr($link,'http')){ - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $link = ''; - $cookie = ""; - $this->save_cookies("extabit.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/fileape_com.php b/vinaget/vng263/hosts/fileape_com.php deleted file mode 100644 index f8bc228..0000000 --- a/vinaget/vng263/hosts/fileape_com.php +++ /dev/null @@ -1,39 +0,0 @@ -get_account('fileape.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("fileape.com"); - if(!$cookie){ - $data = $this->curl("http://fileape.com/?act=login","","username=$user&password=$pass"); - $cookie = $this->GetCookies($data); - $this->save_cookies("fileape.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if(preg_match('/ocation: *(.*)/i', $data, $match)){ - $link = trim($match[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - elseif (stristr($data,"This file is either temporarily unavailable or does not exist")) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("fileape.com",""); - } - } - } -} - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/filefactory_com.php b/vinaget/vng263/hosts/filefactory_com.php deleted file mode 100644 index 0531ed0..0000000 --- a/vinaget/vng263/hosts/filefactory_com.php +++ /dev/null @@ -1,44 +0,0 @@ -get_account('filefactory.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("filefactory.com"); - if(!$cookie){ - $post["email"] = $user; - $post["password"] = $pass; - $post['redirect'] = $url; - $page=$this->curl($url,"",$post); - $cookie = $this->GetCookies($page); - $this->save_cookies("filefactory.com",$cookie); - } - $this->cookie = $cookie; - $page=$this->curl($url,$cookie,""); - if (preg_match('/location: *(.*)/i', $page, $redir))$link = trim($redir[1]); - elseif(preg_match('%(http:\/\/.+filefactory\.com/dlp/.+)">Download with FileFactory Premium%U', $page, $redir2)) $link = trim($redir2[1]); - if($link){ - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - elseif (stristr($page,"This error is usually caused by requesting a file that does not exist")) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("filefactory.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/fileflyer_com.php b/vinaget/vng263/hosts/fileflyer_com.php deleted file mode 100644 index 7467c4b..0000000 --- a/vinaget/vng263/hosts/fileflyer_com.php +++ /dev/null @@ -1,60 +0,0 @@ -get_account('fileflyer.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if (stristr($cookie,'prekey')) { - $cookie = preg_replace("/(;|prekey=)/","",$cookie); - $data = $this->curl($url,'lang=en',''); - $cookies = $this->GetCookies($data); - if(preg_match('%action="(.*)"%U', $data, $value)) { - $loginurl = trim($value[1]); - if(preg_match_all('/input type="hidden" name="(.*?)" id="(.*?)" value="(.*?)"/i', $data, $value)) { - $max =count($value[1]); - $post = ""; - for ($k=0; $k < $max; $k++){ - $value[3][$k] = str_replace("/","%2F",$value[3][$k]) ; - $value[3][$k] = str_replace("+","%2B",$value[3][$k]) ; - - $post .= $value[1][$k].'='.$value[3][$k].'&'; - } - $post .='SMSButton=Go&Password='.$cookie.'&CheckBoxPass=on&TextBox1='; - $data = $this->curl($loginurl,$cookies.';lang=en;',$post); - $cookie = $this->GetCookies($data); - $this->save_cookies("fileflyer.com",$cookie); - } - } - } - else { - $cookie = $this->get_cookie("fileflyer.com"); - $data = $this->curl($url,$cookie.';lang=en;',''); - } - $this->cookie = $cookie; - if (stristr($data,'Access enabled, download freely')) { - if (preg_match('%class="dwlbtn" href="(.*)">Download%U', $data, $value)) { - $link = trim($value[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - } - else { - $cookie = ""; - $this->save_cookies("cloudnator.com",""); - - } - } - } -} - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/filepost_com.php b/vinaget/vng263/hosts/filepost_com.php deleted file mode 100644 index deedee2..0000000 --- a/vinaget/vng263/hosts/filepost_com.php +++ /dev/null @@ -1,43 +0,0 @@ -get_account('filepost.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - #==== Fix link ====# - $gach = explode('/', $url); - if (count($gach) > 5) $url = 'http://filepost.com/files/' . $gach[4]; - #==== Fix link ====# - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("filepost.com"); - if(!$cookie){ - $data = $this->curl("http://filepost.com/general/login_form/","","email=$user&password=$pass"); - $cookie = $this->GetCookies($data); - $this->save_cookies("filepost.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (preg_match("%download_file\('(http:\/\/.+filepost.com/get_file/.+)'\)%U", $data, $match)){ - $link = trim($match[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - elseif (stristr($data,'File not found')) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("filepost.com",""); - } - } - } -} - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/filesmonster_com.php b/vinaget/vng263/hosts/filesmonster_com.php deleted file mode 100644 index 72ffed0..0000000 --- a/vinaget/vng263/hosts/filesmonster_com.php +++ /dev/null @@ -1,48 +0,0 @@ -get_account('filesmonster.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("filesmonster.com"); - if(!$cookie){ - $data = $this->curl("http://filesmonster.com/login.php","","act=login&user=".$user."&pass=".$pass."&login=Login");; - $cookie = $this->GetCookies($data); - if (stristr($cookie,'yab_logined=1')){ - $cookie = "yab_logined=1;".$this->cut_str($cookie, "yab_logined=1;", "; yab_last_click"); - $this->save_cookies("filesmonster.com",$cookie); - } - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if(preg_match('%%U', $data, $linkget)){ - $data = $this->curl($linkget[1],$cookie,""); - if(preg_match('%get_link\("(.*)"\)%U', $data, $linkget)) { - $data = $this->curl("http://filesmonster.com".$linkget[1],$cookie,""); - $link = $this->cut_str($data, '"url":"', '"}'); - $link= str_replace("\\","",$link); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - } - elseif (stristr($data,"File not found")) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("filesmonster.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/fp_io.php b/vinaget/vng263/hosts/fp_io.php deleted file mode 100644 index 65fbbd2..0000000 --- a/vinaget/vng263/hosts/fp_io.php +++ /dev/null @@ -1,9 +0,0 @@ -curl($url,"",""); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $url = trim($redir[1]); - include("filepost_com.php"); - } -} -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/freakshare_com.php b/vinaget/vng263/hosts/freakshare_com.php deleted file mode 100644 index 15f6998..0000000 --- a/vinaget/vng263/hosts/freakshare_com.php +++ /dev/null @@ -1,40 +0,0 @@ -get_account('freakshare.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("freakshare.com"); - if(!$cookie) { - $data = $this->curl("http://freakshare.com/login.html","","user=$user&pass=$pass&submit=Login"); - $cookie = $this->GetCookies($data); - $this->save_cookies("freakshare.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (preg_match('/ocation: (.*)/',$data,$match)) { - $link = trim($match[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - elseif (stristr($data,"This file does not exist")) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("freakshare.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/gigasize_com.php b/vinaget/vng263/hosts/gigasize_com.php deleted file mode 100644 index a0904fe..0000000 --- a/vinaget/vng263/hosts/gigasize_com.php +++ /dev/null @@ -1,51 +0,0 @@ -get_account('gigasize.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("gigasize.com"); - if(!$cookie){ - $data = $this->curl("http://www.gigasize.com/signin","","email=$user&password=$pass"); - $cookie = $this->GetCookies($data); - $this->save_cookies("gigasize.com",$cookie); - } - $this->cookie = $cookie; - $gach = explode('/', $url); - $fileId = $gach[4]; - $token = $this->curl("http://www.gigasize.com/formtoken",$cookie,""); - $data = $this->curl("http://www.gigasize.com/getoken",$cookie,"fileId=$fileId&token=".$token); - if(preg_match('%getcgi(.*)"%U', $data, $redir2)){ - $pre = "http://www.gigasize.com/getcgi/".substr($redir2[1], 2, -13)."/".$fileId; - $data = $this->curl($pre,$cookie,""); - if(preg_match ('/ocation: (.*)/', $data, $linkpre)){ - $link =trim($linkpre[1]); - $link = str_replace("https","http",$link) ; - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - } - elseif (stristr($data,"Download error")|| stristr($data,"has been removed because we have received a legitimate complaint")) { - die(Tools_get::report($Original,"dead")); - } - else { - $cookie = ""; - $this->save_cookies("gigasize.com",""); - } - } - } - -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/hipfile_com.php b/vinaget/vng263/hosts/hipfile_com.php deleted file mode 100644 index a177a48..0000000 --- a/vinaget/vng263/hosts/hipfile_com.php +++ /dev/null @@ -1,45 +0,0 @@ -get_account('hipfile.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("hipfile.com"); - if(!$cookie){ - $post = array(); - $post['login'] = $user; - $post['password'] = $pass; - $x = rand(0,30); - $y = rand(0,20); - $data = $this->curl("http://hipfile.com/","",'op=login&redirect=http%3A%2F%2Fhipfile.com%2F&login='.$user.'&password='.$pass.'&x='.$x.'&y='.$y); - $cookie = $this->GetCookies($data); - $this->save_cookies("hipfile.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (stristr($data,'File Not Found')) die(Tools_get::report($Original,"dead")); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $link = trim($redir[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("hipfile.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/hosts.php b/vinaget/vng263/hosts/hosts.php deleted file mode 100644 index 8541b4e..0000000 --- a/vinaget/vng263/hosts/hosts.php +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/vinaget/vng263/hosts/hotfile_com.php b/vinaget/vng263/hosts/hotfile_com.php deleted file mode 100644 index a69c614..0000000 --- a/vinaget/vng263/hosts/hotfile_com.php +++ /dev/null @@ -1,52 +0,0 @@ -get_account('hotfile.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("hotfile.com"); - if(!$cookie){ - $data = $this->curl("http://www.hotfile.com/login.php","","user=$user&pass=$pass"); - if(preg_match('/^Set-Cookie: auth=(.*?);/m', $data, $matches)) { - $cookie = $matches[1]; - $this->save_cookies("hotfile.com",$cookie); - } - } - $cookie = preg_replace("/(auth=|AUTH=|Auth=)/","",$cookie); - $cookie = "auth=".$cookie; - $this->cookie = $cookie; - $page = $this->curl( $url,$cookie,""); - if (preg_match('/ocation: *(.*)/i', $page, $redir))$link = trim($redir[1]); - - elseif(preg_match('%"(http\:\/\/hotfile\.com\/get\/.+)"%U', $page, $redir2)){ - $link = trim($redir2[1]); - $page=$this->curl($link,$cookie,""); - if(preg_match('/ocation: (.*)/', $page, $match)) $link=trim($match[1]); - elseif (stristr($page,'This link has expired')) die(Tools_get::report($Original,"dead")); - } - if($link){ - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - elseif (stristr($page,"removed due to copyright claim")) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("hotfile.com",""); - } - } - - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/i-filez_com.php b/vinaget/vng263/hosts/i-filez_com.php deleted file mode 100644 index 6d87b92..0000000 --- a/vinaget/vng263/hosts/i-filez_com.php +++ /dev/null @@ -1,18 +0,0 @@ -curl($url,"",""); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $url = trim($redir[1]); - include("depfile_com.php"); - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/index.html b/vinaget/vng263/hosts/index.html deleted file mode 100644 index e69de29..0000000 diff --git a/vinaget/vng263/hosts/jumbofiles_com.php b/vinaget/vng263/hosts/jumbofiles_com.php deleted file mode 100644 index 075d7d8..0000000 --- a/vinaget/vng263/hosts/jumbofiles_com.php +++ /dev/null @@ -1,62 +0,0 @@ -get_account('jumbofiles.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - $password = ""; - if(strpos($url,"|")) { - $linkpass = explode('|', $url); - $url = $linkpass[0]; $password = $linkpass[1]; - } - if (isset($_POST['password'])) $password = $_POST['password']; - if($password) $post['password'] = $password; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("jumbofiles.com"); - if(!$cookie){ - $data = $this->curl("http://jumbofiles.com/","","op=login&redirect=&login=$user&password=$pass&x=".rand(1,35)."&y=".rand(1,20)); - $cookie = $this->GetCookies($data); - $this->save_cookies("jumbofiles.com",$cookie); - } - $data = $this->curl($url,$cookie,""); - $cookie = $cookie."; ".$this->GetCookies($data); - $this->cookie = $cookie; - if (stristr($data,'Error happened when generating')) die("Your link error happened when generating Download Link"); - elseif(strpos($data,'
Password:') && empty($password) == true) die($this->lang['reportpass']); - elseif (stristr($data,'No such user exist ')) die(Tools_get::report($Original,"dead")); - elseif (preg_match('/ocation: (.*)/',$data,$match)) $link = trim($match[1]); - elseif (preg_match('%input type="hidden" name="op" value="(.*)">%U', $data, $redir2)) { - $post["op"] = $redir2[1]; - if (preg_match('%%U', $data, $redir2)) $post["id"] = $redir2[1]; - if (preg_match('%%U', $data, $redir2)) $post["rand"] = $redir2[1]; - if (preg_match('%%U', $data, $redir2)) $post["referer"] = $redir2[1]; - if (preg_match('%%U', $data, $redir2)) $post["method_free"] = $redir2[1]; - if (preg_match('%%U', $data, $redir2)) $post["method_premium"] = $redir2[1]; - $post["x"] = rand(1,45); - $post["y"] = rand(1,10); - $data = $this->curl($url,$cookie,$post); - if (preg_match('%"(http:\/\/.+jumbofiles\.com/files/.+)"%U',$data, $redir2)) $link = trim($redir2[1]); - } - if($link){ - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("jumbofiles.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/letitbit_net.php b/vinaget/vng263/hosts/letitbit_net.php deleted file mode 100644 index b8d7b33..0000000 --- a/vinaget/vng263/hosts/letitbit_net.php +++ /dev/null @@ -1,119 +0,0 @@ -get_account('letitbit.net')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("letitbit.net"); - if(!$cookie) { - $data = $this->curl("http://letitbit.net/","lang=en","act=login&login=".urlencode($user)."&password=$pass"); - $cookie = $this->GetCookies($data); - $this->save_cookies("letitbit.net",$cookie); - } - if (stristr($cookie,'prekey')) { - $cookie = preg_replace("/(;|prekey=)/","",$cookie); - $data = $this->curl($url,"lang=en",""); - if (preg_match('%curl("http://letitbit.net/sms/check2.php","",$post); - $cookies = $this->GetCookies($data); - $this->cookie = $cookies; - if (stristr($data,'direct_link_2')) { - $data2 = trim ($this->cut_str ($data, "direct_link_1", "direct_link_2" )); - if (preg_match('%(http:\/\/.+)" :%U', $data2, $value)) $link2 = trim($value[1]); - } - $data1 = trim ($this->cut_str ($data, "var direct_links", "direct_link_1" )); - if (preg_match('%(http:\/\/.+)" :%U', $data1, $value)) { - $link = trim($value[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - if($size_name[0] > 200) { - $filesize = $size_name[0]; - $filename = $size_name[1]; - } - elseif(isset($link2)) { - $link = $link2; - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - } - break; - } - elseif (stristr($data,'The file is temporarily unavailable for download')) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - } - } - else { - $data = $this->curl($url,$cookie,""); - if (stristr($data,'Registration
')) { - $cookie = ""; - $this->save_cookies("letitbit.net",""); - continue; - } - $this->cookie = $cookie.$this->GetCookies($data); - if(preg_match ( '/ocation: (\/download.+)/', $data, $linkpre)) $check2 = trim($linkpre[1]); - else $check2 = "http://letitbit.net/sms/check2.php"; - $data = $this->curl($check2,$this->cookie,""); - - if (stristr($data,'direct_link_2')) { - $data2 = trim ($this->cut_str ($data, "direct_link_1", "direct_link_2" )); - if (preg_match('%(http:\/\/.+)" :%U', $data2, $value)) $link2 = trim($value[1]); - } - $data1 = trim ($this->cut_str ($data, "var direct_links", "direct_link_1" )); - if (preg_match('%(http:\/\/.+)" :%U', $data1, $value)) { - $link = trim($value[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - if($size_name[0] > 200) { - $filesize = $size_name[0]; - $filename = $size_name[1]; - } - elseif(isset($link2)) { - $link = $link2; - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - } - break; - } - elseif (stristr($data,'The file is temporarily unavailable for download')) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("letitbit.net",""); - } - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/lumfile_com.php b/vinaget/vng263/hosts/lumfile_com.php deleted file mode 100644 index a3c4bdf..0000000 --- a/vinaget/vng263/hosts/lumfile_com.php +++ /dev/null @@ -1,39 +0,0 @@ -get_account('lumfile.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("lumfile.com"); - if(!$cookie) { - $data = $this->curl('http://lumfile.com/', 'lang=english', 'op=login&login='.urlencode($user).'&password='.$pass); - $cookie = $this->GetCookies($data); - $this->save_cookies("lumfile.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (preg_match('@Location: (http(s)?:\/\/[^\r\n]+)@i', $data, $dl)){ - $link = trim($dl[1]); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else{ - die ("Cannot Get Link"); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/mediafire_com.php b/vinaget/vng263/hosts/mediafire_com.php deleted file mode 100644 index afaa1b5..0000000 --- a/vinaget/vng263/hosts/mediafire_com.php +++ /dev/null @@ -1,102 +0,0 @@ -get_account('mediafire.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - $password = ""; - if(strpos($url,"|")) { - $linkpass = explode('|', $url); - $url = $linkpass[0]; $password = $linkpass[1]; - } - if (isset($_POST['password'])) $password = $_POST['password']; - #==== Fix link MF ====# - $url = str_replace("download.php", "", $url); - if(strpos($url,"www")==false) $url = str_replace("http://", "http://www.", $url); - #==== Fix link MF ====# - if (isset($_POST['captcha']) && $_POST['captcha'] == 'reload') { - $page = $this->curl("http://api.recaptcha.net/challenge?k=6LextQUAAAAAALlQv0DSHOYxqF3DftRZxA5yebEe","",""); - if(preg_match("%challenge : '(.*)'%U", $page, $matches)) - echo 'captcha code \''.trim($matches[1]).'\' rand \''.$rand.'\''; - else - echo ''.$url.' ==► Authentication Required, pls contact admin@vinaget.us'; - exit; - } - elseif(empty($_POST['recaptcha_challenge_field'])==FALSE && empty($_POST['recaptcha_response_field'])==FALSE){ - $key = $_POST['recaptcha_challenge_field']; - $value = $_POST['recaptcha_response_field']; - $data = $this->curl($url,"","recaptcha_challenge_field=$key&&recaptcha_response_field=$value"); - } - elseif($password) $data = $this->curl($url,'',"downloadp=".$password); - else $data = $this->curl($url,"",""); - if(stristr($data,"error.php")) die(Tools_get::report($Original,"dead")); - elseif(preg_match ( '/ocation: (.*)/', $data, $linkpre)) $link = trim ($linkpre[1]); - else if(stristr($data,"dh('');")) die($this->lang['reportpass']); - elseif(stristr($data,"Copy file link to clipboard")) { - $page = $this->cut_str($data, 'class="download_link"', "Follow MediaFire"); - if (preg_match('/(http.+)"/i', $page, $value)) $link = trim($value[1]); - } - if((empty($cookie)==false || ($user && $pass)) && empty($link)==true){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("mediafire.com"); - if(!$cookie){ - $page = $this->curl($url,"",""); - $cookie = $this->GetCookies($page); - $post = array(); - $post['login_email'] = $user; - $post['login_pass'] = $pass; - $post['submit_login.x'] = rand(0,100); - $post['submit_login.y'] = rand(0,20); - $page = $this->curl("http://www.mediafire.com/dynamic/login.php",$cookie,$post); - $cookie = $cookie . "; " . $this->GetCookies($page); - $this->save_cookies("mediafire.com",$cookie); - } - $this->cookie = $cookie; - if(empty($_POST['recaptcha_challenge_field'])==FALSE && empty($_POST['recaptcha_response_field'])==FALSE){ - $key = $_POST['recaptcha_challenge_field']; - $value = $_POST['recaptcha_response_field']; - $page = $this->curl($url,$cookie,"recaptcha_challenge_field=$key&&recaptcha_response_field=$value"); - } - else { - if($password) $post = "downloadp=".$password; - else $post = ""; - $page = $this->curl($url,$cookie,$post); - } - if(preg_match ( '/ocation: (.*)/', $page, $linkpre)) $link = trim ( $linkpre[1] ); - elseif(stristr($page,"dh('');")) die($this->lang['reportpass']); - if($link) break; - else { - $cookie = ""; - $this->save_cookies("mediafire.com",""); - } - } - } - if($link) { - $size_name = Tools_get::size_name($link, $cookie); - if($size_name[0] > 0 ){ - $filesize = $size_name[0]; - $filename = $size_name[1]; - } - } - else { - if(stristr($data,"6LextQUAAAAAALlQv0DSHOYxqF3DftRZxA5yebEe")) { - $page = $this->curl("http://api.recaptcha.net/challenge?k=6LextQUAAAAAALlQv0DSHOYxqF3DftRZxA5yebEe","",""); - if(preg_match("%challenge : '(.*)'%U", $page, $matches)) - echo 'captcha code \''.trim($matches[1]).'\''; - else echo ''.$url.' ==► Authentication Required, pls contact admin@vinaget.us'; - exit; - } - elseif(stristr($data,"This file is temporarily unavailable because")) { - die('
'.$url.' ==► File too big ! when allowed only 200 MB
'); - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/megashares_com.php b/vinaget/vng263/hosts/megashares_com.php deleted file mode 100644 index ee8aa52..0000000 --- a/vinaget/vng263/hosts/megashares_com.php +++ /dev/null @@ -1,44 +0,0 @@ -get_account('megashares.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("megashares.com"); - if(!$cookie){ - $data = $this->curl("http://d01.megashares.com/myms_login.php",'',"httpref=&mymslogin_name=$user&mymspassword=$pass&myms_login=Login"); - $cookie = $this->GetCookies($data); - $this->save_cookies("megashares.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (preg_match('/ocation: (.*)/',$data,$match)) $link = trim($match[1]); - else { - preg_match('%(http:\/\/.+megashares\.com/.+)">save_cookies("megashares.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/netload_in.php b/vinaget/vng263/hosts/netload_in.php deleted file mode 100644 index 5717b66..0000000 --- a/vinaget/vng263/hosts/netload_in.php +++ /dev/null @@ -1,62 +0,0 @@ -get_account('netload.in')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - //==== Fix link NL ==== - $data = $this->curl('http://api.netload.in/index.php?id=2',"",'links='.urlencode($url).'&send=Absenden'); - $data = $this->cut_str($data, ''); - $data = $this->cut_str($data, 'name="links">', ''); - if (stristr($data,'online')) { - $gach = explode(';', $data); - $url = 'http://www.netload.in/datei' . $gach[0].'.htm'; - } - else die(Tools_get::report($Original,"dead")); - //==== Fix link NL ==== - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("netload.in"); - if(!$cookie){ - $post["txtuser"]= $user; - $post["txtpass"]= $pass; - $post["txtcheck"] = "login"; - $post["txtlogin"] = ""; - $page=$this->curl("http://netload.in/","",$post); - $cookie = $this->GetCookies($page); - $this->save_cookies("netload.in",$cookie); - } - $this->cookie = $cookie; - $page=$this->curl($url,$cookie,""); - if(preg_match('/ocation: *(.+)/i', $page, $redir)){ - if(preg_match('/^http:/', $redir[1])) $link = trim($redir[1]); - else { - $url = 'http://netload.in'.trim($redir[1]); - $page=$this->curl($url,$cookie,""); - if(preg_match('/Click here for the download/Ui', $page, $redir)) $link = trim($redir[1]); - elseif (preg_match('%ocation: (.+)\r\n%U', $page, $flink)) $link = trim($flink[1]); - } - } - if (stristr($page,"The file was deleted")) die(Tools_get::report($Original,"dead")); - if($link){ - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("netload.in",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/oron_com.php b/vinaget/vng263/hosts/oron_com.php deleted file mode 100644 index 9369b1c..0000000 --- a/vinaget/vng263/hosts/oron_com.php +++ /dev/null @@ -1,64 +0,0 @@ -acc['oron.com']['accounts']); - if($maxacc > 0){ - for ($k=0; $k < $maxacc; $k++){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("oron.com"); - if(!$cookie){ - $account = trim($this->acc['oron.com']['accounts'][$k]); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - $data = $this->curl("http://oron.com/login","lang=english","login=$user&password=$pass&op=login"); - $cookie = $this->GetCookies($data); - $this->save_cookies("oron.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if(stristr($data, "have reached the download limit")){ - if($k <$maxacc-1) { - $cookie = ''; - $this->save_cookies("oron.com",""); - continue; - } - else die("Account out of bandwidth"); - } - elseif (stristr($data,'

File Not Found

')) die(Tools_get::report($Original,"dead")); - elseif (stristr($data,'Create Download Link')) { - $post["op"] = "download2"; - $post["method_premium"] = "1"; - $post["down_direct"] = "1"; - if (preg_match('%%U', $data, $redir2)) $post["id"] = $redir2[1]; - if (preg_match('%%U', $data, $redir2)) $post["rand"] = $redir2[1]; - $data = $this->curl($url,$cookie,$post); - $data = $this->cut_str($data, '',"Download File"); - if (preg_match('%href="(.*)"%U', $data, $redir2)) { - $link = trim($redir2[1]); - $link = str_replace(substr(strrchr($link, '/'), 1),urlencode(substr(strrchr($link, '/'), 1)),$link); - $size_name = Tools_get::size_name($link, $this->cookie); - if($size_name[0] > 200 ){ - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else $link = ''; - } - } - if(!$link) { - $cookie = ""; - $this->save_cookies("oron.com",""); - } - } - if($link) break; - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/rapidgator_net.php b/vinaget/vng263/hosts/rapidgator_net.php deleted file mode 100644 index bfb50ef..0000000 --- a/vinaget/vng263/hosts/rapidgator_net.php +++ /dev/null @@ -1,70 +0,0 @@ -get_account('rapidgator.net')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - $maxacc = count($this->acc['rapidgator.net']['accounts']); - if($maxacc > 0){ - for ($k=0; $k < $maxacc; $k++){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("rapidgator.net"); - if(!$cookie){ - $account = trim($this->acc['rapidgator.net']['accounts'][$k]); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - $data = $this->curl("http://rapidgator.net/auth/login","","LoginForm[email]=$user&LoginForm[password]=$pass&LoginForm[rememberMe]=1"); - $cookie = $this->GetCookies($data); - $this->save_cookies("rapidgator.net",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie.';lang=en',""); - if(preg_match ( '/ocation: (\/file\/.++)/', $data, $linkpre)) { - $url1 = 'http://rapidgator.net'.trim ($linkpre[1]); - $data = $this->curl($url1,$cookie.';lang=en',""); - $data = $this->curl($url,$cookie.';lang=en',""); - - } - if(stristr($data, "You have reached daily quota of downloaded")){ - if($k <$maxacc-1) { - $cookie = ''; - $this->save_cookies("rapidgator.net",""); - break; - } - else die("Account out of bandwidth"); - } - - if (stristr($data,'Account: 
Free')) die('Not support with Account Free'); - elseif (stristr($data,'File not found')) die(Tools_get::report($Original,"dead")); - elseif(preg_match("%var premium_download_link = '(.*)';%U", $data, $matches)) $link = trim ($matches[1]); - elseif(preg_match ( '/ocation: (.*)/', $data, $linkpre)) $link = trim ($linkpre[1]); - if(isset($link) && stristr($link, 'http')) { - $size_name = Tools_get::size_name($link, $this->cookie); - if($size_name[0] > 200 ){ - $filesize = round($size_name[0]/(1024*1024),2)." MB"; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("rapidgator.net",""); - } - } - else { - $link = ''; - $cookie = ""; - $this->save_cookies("rapidgator.net",""); - } - } - if($link) break; - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/rapidshare_com.php b/vinaget/vng263/hosts/rapidshare_com.php deleted file mode 100644 index 3176a52..0000000 --- a/vinaget/vng263/hosts/rapidshare_com.php +++ /dev/null @@ -1,67 +0,0 @@ -get_account('rapidshare.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - //==== Fix link RS ==== - if (stristr($url, 'rapidshare') == true && stristr($url, 'download|') == true){ - $url=str_replace("%21","!",$url); - $url=str_replace("%7C","|",$url); - $arrRSL = explode('|', $url); - if (isset($arrRSL)){ - $idfiles = $arrRSL[2]; - $idnames = $arrRSL[3]; - $url = 'http://rapidshare.com/files/' . $arrRSL[2] . '/' . $arrRSL[3]; - } - } - else{ - $arrRSL = explode('/', $url); - if (isset($arrRSL)){ - $url = 'http://rapidshare.com/files/' . $arrRSL[4] . '/' . $arrRSL[5]; - $idfiles = $arrRSL[4]; - $idnames = $arrRSL[5]; - } - } - //==== Fix link RS ==== - $data = file_get_contents("http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles&files=".$idfiles."&filenames=".$idnames); - $infolink = explode(',', $data); - if ($infolink[4]!= 1) die(Tools_get::report($Original,"dead")); - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("rapidshare.com"); - if(!$cookie) { - $data = $this->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi","","sub=getaccountdetails&withcookie=1&withpublicid=1&login=".$user."&cbf=RSAPIDispatcher&cbid=2&password=".$pass); - if(strpos($data,"Login failed")) die($this->lang['erroracc']); - $cookie = $this->cut_str($data, "ncookie=","\\n"); - $this->save_cookies("rapidshare.com",$cookie); - } - $cookie = preg_replace("/(enc=|ENC=|Enc=)/","",$cookie); - //$cookie = "enc=".$cookie; - $this->cookie = $cookie; - $data = $this->curl("https://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download&cookie=$cookie&fileid=$idfiles&filename=$idnames",'',"",0); - - if(preg_match('/DL\:(.+rapidshare.com),/i', $data, $linkpre)) { - $svrs = trim($linkpre[1]); - $link = "https://$svrs/cgi-bin/rsapi.cgi?sub=download&cookie=$cookie&fileid=$idfiles&filename=$idnames"; - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("rapidshare.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/ryushare_com.php b/vinaget/vng263/hosts/ryushare_com.php deleted file mode 100644 index 0e7a448..0000000 --- a/vinaget/vng263/hosts/ryushare_com.php +++ /dev/null @@ -1,40 +0,0 @@ -get_account('ryushare.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("ryushare.com"); - if(!$cookie){ - $data = $this->curl("http://ryushare.com/","lang=english","op=login&redirect=http%3A%2F%2Fryushare.com%2F&login=$user&password=$pass&loginFormSubmit=Login"); - $cookie = $this->GetCookies($data); - $this->save_cookies("ryushare.com",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie.';lang=english;',""); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $link = str_replace(" ","%20",trim($redir[1])); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - elseif (stristr($data,'File Not Found')) die(Tools_get::report($Original,"dead")); - else { - $cookie = ""; - $this->save_cookies("ryushare.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/sendspace_com.php b/vinaget/vng263/hosts/sendspace_com.php deleted file mode 100644 index 8a4a1a8..0000000 --- a/vinaget/vng263/hosts/sendspace_com.php +++ /dev/null @@ -1,43 +0,0 @@ -get_account('sendspace.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("sendspace.com"); - if(!$cookie){ - $data = - $data = $this->curl("http://www.sendspace.com/login.html","","remember=on&action=login&submit=login&username=$user&password=$pass"); - $cookie = $this->GetCookies($data); - $this->save_cookies("sendspace.com",$cookie); - } - $data = $this->curl($url,$cookie,""); - $cookie = $this->GetCookies($data); - $this->cookie = $cookie; - if (preg_match('/location: *(.*)/i', $data, $redir))$link = trim($redir[1]); - elseif(preg_match('%cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("sendspace.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/share-online_biz.php b/vinaget/vng263/hosts/share-online_biz.php deleted file mode 100644 index 761a627..0000000 --- a/vinaget/vng263/hosts/share-online_biz.php +++ /dev/null @@ -1,49 +0,0 @@ -get_account('share-online.biz')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("share-online.biz"); - if(!$cookie){ - $data = $this->curl("https://www.share-online.biz/user/login","","user=$user&pass=$pass&l_rememberme=1"); - $cookie = $this->GetCookies($data); - $this->save_cookies("share-online.biz",$cookie); - } - $data = $this->curl($url,$cookie,""); - $cookie = $this->GetCookies($data); - $this->cookie = $cookie; - $enlink = base64_decode($this->cut_str($data,'var dl="','";var file')); - if (stristr($data,'The requested file is not available')) die(Tools_get::report($Original,"dead")); - if (stristr($enlink,'share-online.biz')) $link = trim($enlink); - $size_name = Tools_get::size_name($link, $cookie); - if($size_name[0] <= 0) { - $data = $this->curl($link,$cookie,""); - if (preg_match('/ocation: (.*)/',$data,$match)) $link = trim($match[1]); - else $link =""; - } - if($link){ - $link = str_replace(":80", "",$link); - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("share-online.biz",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/shragle_com.php b/vinaget/vng263/hosts/shragle_com.php deleted file mode 100644 index d441ede..0000000 --- a/vinaget/vng263/hosts/shragle_com.php +++ /dev/null @@ -1,18 +0,0 @@ -curl($url,"",""); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $url = trim($redir[1]); - include("cloudnator_com.php"); - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/turbobit_net.php b/vinaget/vng263/hosts/turbobit_net.php deleted file mode 100644 index bf0756e..0000000 --- a/vinaget/vng263/hosts/turbobit_net.php +++ /dev/null @@ -1,54 +0,0 @@ -get_account('turbobit.net')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("turbobit.net"); - if(!$cookie){ - $data = $this->curl("http://turbobit.net/user/login","user_lang=en","user[login]=$user&user[pass]=$pass&user[memory]=on&user[submit]=Login"); - $cookie = $this->GetCookies($data); - $this->save_cookies("turbobit.net",$cookie); - } - $this->cookie = $cookie; - $data = $this->curl($url,$cookie,""); - if (preg_match('/ocation: (.*)/',$data,$match)) $link = trim($match[1]); - elseif (stristr($data,'site is temporarily unavailable')) die(Tools_get::report($Original,"dead")); - elseif (preg_match("%h1>Download%U", $data, $redir2)) $link = trim($redir2[1]); - $size_name = Tools_get::size_name($link, $cookie); - if($size_name[0] <= 0) { - $data = $this->curl($link,$cookie,""); - if (preg_match('/ocation: (.*)/',$data,$match)) { - $link = trim($match[1]); - $size_name = Tools_get::size_name($link, $cookie); - if($size_name[0] <= 0) { - $data = $this->curl($link,$cookie,""); - if (preg_match('/ocation: (.*)/',$data,$match)) $link = trim($match[1]); - } - } - } - if($link){ - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - $filename = preg_replace("/;/","",$filename); - break; - } - else { - $cookie = ""; - $this->save_cookies("turbobit.net",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/ul_to.php b/vinaget/vng263/hosts/ul_to.php deleted file mode 100644 index 4b1c8c6..0000000 --- a/vinaget/vng263/hosts/ul_to.php +++ /dev/null @@ -1,18 +0,0 @@ -curl($url,"",""); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $url = trim($redir[1]); - include("uploaded_net.php"); - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/uploaded_net.php b/vinaget/vng263/hosts/uploaded_net.php deleted file mode 100644 index c3aa7a4..0000000 --- a/vinaget/vng263/hosts/uploaded_net.php +++ /dev/null @@ -1,68 +0,0 @@ -acc['uploaded.to']['accounts']); - if($maxacc > 0){ - for ($k=0; $k < $maxacc; $k++){ - $account = trim($this->acc['uploaded.to']['accounts'][$k]); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - if(!$cookie) $cookie = $this->get_cookie("uploaded.net"); - if(!$cookie){ - $data = $this->curl("http://uploaded.net/io/login",'',"id=$user&pw=$pass"); - $cookie = $this->GetCookies($data); - $this->save_cookies("uploaded.net",$cookie); - } - $this->cookie = $cookie; - - $data = $this->curl($url,$cookie,""); - //check bw - if (stristr($data,"

Extend traffic

")) { - if($k <$maxacc-1) { - $cookie = ''; - $this->save_cookies("uploaded.net",""); - break; - } - else die("Your account out of bandwidth."); - } - elseif(preg_match('/ocation: *(.*)/i', $data, $redir)) $link = trim($redir[1]); - elseif(preg_match('%(http:\/\/stor.+uploaded\.net/dl/.+)"%U', $data, $redir2)) $link = trim($redir2[1]); - elseif (stristr($data,"Our service is currently unavailable in your country")) { - echo "Our service is currently unavailable in your country."; - exit; - } - elseif (stristr($data,"Download Blocked (ip)")) { - echo "Download Blocked (ip)."; - exit; - } - else { - $cookie = ""; - $this->save_cookies("uploaded.net",""); - } - if($link) { - if (stristr($link,'uploaded.net/404')) die(Tools_get::report($Original,"dead")); - $size_name = Tools_get::size_name($link, $this->cookie); - if($size_name[0] > 200 ){ - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else $link=''; - } - } - if($link) break; - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/uploaded_to.php b/vinaget/vng263/hosts/uploaded_to.php deleted file mode 100644 index 8d296b2..0000000 --- a/vinaget/vng263/hosts/uploaded_to.php +++ /dev/null @@ -1,18 +0,0 @@ -curl($url,"",""); - if(preg_match('/ocation: *(.*)/i', $data, $redir)){ - $url = trim($redir[1]); - include("uploaded_net.php"); - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/uploading_com.php b/vinaget/vng263/hosts/uploading_com.php deleted file mode 100644 index cb7d768..0000000 --- a/vinaget/vng263/hosts/uploading_com.php +++ /dev/null @@ -1,47 +0,0 @@ -get_account('uploading.com')); - if (stristr($account,':')) list($user, $pass) = explode(':',$account); - else $cookie = $account; - if(empty($cookie)==false || ($user && $pass)){ - for ($j=0; $j < 2; $j++){ - //$tid = str_replace(".","12",microtime(true)); - if(!$cookie) $cookie = $this->get_cookie("uploading.com"); - if(!$cookie){ - $page=$this->curl("http://uploading.com/general/login_form/?ajax","","email=$user&password=$pass"); - $cookie = $this->GetCookies($page); - $this->save_cookies("uploading.com",$cookie); - } - $this->cookie = $cookie; - $page=$this->curl($url,$cookie,""); - if (stristr($page,'file not found')) die(Tools_get::report($Original,"dead")); - if(preg_match('#ocation: (.+)?\r\n#U', $page, $match)) $link = trim($match[1]); - elseif(strpos($page,"Your account premium traffic has been limited")) die($this->lang['outofbw']); - else { - $code = trim( $this->cut_str( $page, 'code: "', '",' ) ); - $page=$this->curl("http://uploading.com/files/get/?ajax",$cookie,"code=$code&action=get_link"); - $link =str_replace("\\","",$this->cut_str($page,'answer":{"link":"','"')); - } - if($link){ - $size_name = Tools_get::size_name($link, $this->cookie); - $filesize = $size_name[0]; - $filename = $size_name[1]; - break; - } - else { - $cookie = ""; - $this->save_cookies("uploading.com",""); - } - } - } -} - - -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: ..:: [H] ::.. -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/hosts/youtube_com.php b/vinaget/vng263/hosts/youtube_com.php deleted file mode 100644 index 5b18ebb..0000000 --- a/vinaget/vng263/hosts/youtube_com.php +++ /dev/null @@ -1,93 +0,0 @@ -curl($url,"",""); - if(strstr($data,'verify-age-thumb')) $report = Tools_get::report($url,"Adult"); - elseif(strstr($data,'das_captcha')) $report = Tools_get::report($url,"youtube_captcha"); - elseif(!preg_match('/stream_map=(.[^&]*?)&/i',$data,$match)) $report = Tools_get::report($url,"ErrorLocating"); - elseif(preg_match('/stream_map=(.[^&]*?)&/i',$data,$match)) { - $this->max_size = $this->max_size_other_host; - $fmt_url = urldecode($match[1]); - if(preg_match('/^(.*?)\\\\u0026/',$fmt_url,$match)) $fmt_url = $match[1]; - $urls = explode(',',$fmt_url); - $foundArray = array(); - $signature = array(); - - foreach($urls as $urldl){ - if(preg_match('/itag=([0-9]*)&url=(.*?)&/si',$urldl,$um)){ - $u = urldecode($um[2]); - $foundArray[$um[1]] = trim($u); - preg_match('/sig=(.*?)&/si',$urldl,$sig); - $signature[$um[1]] = $sig[1]; - } - } - - if(preg_match('', $data, $matches)) $title = $matches[1]; - else $title = "unknown"; - - $sig = ""; - if (isset($foundArray[36])) { - $URL=$foundArray[36]; - $sig=$signature[36]; - $URL .= "&signature=".$sig; - $this->youtube = $title . ".3gp"; - echo ''; - } - if (isset($foundArray[35])) { - $URL=$foundArray[35]; - $sig=$signature[35]; - $URL .= "&signature=".$sig; - $this->youtube = $title . ".flv"; - echo ''; - } - if (isset($foundArray[18])) { - $URL=$foundArray[18]; - $sig=$signature[18]; - $URL .= "&signature=".$sig; - $this->youtube= $title . ".mp4"; - echo ''; - } - if (isset($foundArray[22])) { - $URL=$foundArray[22]; - $sig=$signature[22]; - $URL .= "&signature=".$sig; - $this->youtube = $title . ".mp4"; - echo ''; - } - if (isset($foundArray[37])) { - $URL=$foundArray[37]; - $sig=$signature[37]; - $URL .= "&signature=".$sig; - $this->youtube = $title . ".mp4"; - echo ''; - } - } - exit; -} -elseif(isset($this->youtube)) { - $URL = $url; - $size_name = Tools_get::size_name(trim($URL), ""); - if($size_name[0] > 200 ){ - $filename = $this->youtube; - $filename = str_replace("/","",$filename); - $filesize = $size_name[0]; - $link = $URL; - } - else exit; -} -/* -* Home page: http://vinaget.us -* Blog: http://blog.vinaget.us -* Script Name: Vinaget -* Version: 2.6.3 -* Created: afterburnerleech.com (7 Sep 2011) -* Updated: - - By H (Wednesday, November 16, 2011) - - By H (Thursday, February 02, 2012) - - By _rchaves_ (Saturday, September 29, 2012) - - By H (Sunday, September 30, 2012) - -*/ -?> \ No newline at end of file diff --git a/vinaget/vng263/images/loading2.gif b/vinaget/vng263/images/loading2.gif deleted file mode 100644 index 1e50548..0000000 Binary files a/vinaget/vng263/images/loading2.gif and /dev/null differ diff --git a/vinaget/vng263/images/unknownload.gif b/vinaget/vng263/images/unknownload.gif deleted file mode 100644 index e2760d9..0000000 Binary files a/vinaget/vng263/images/unknownload.gif and /dev/null differ diff --git a/vinaget/vng263/index.php b/vinaget/vng263/index.php deleted file mode 100644 index 14ea4e8..0000000 --- a/vinaget/vng263/index.php +++ /dev/null @@ -1,321 +0,0 @@ -Deny == false && isset($_POST['urllist'])) $obj->main(); -elseif(isset($_GET['infosv'])) $obj->notice(); -############################################### Begin Secure ############################################### -elseif($obj->Deny == false) { - if (!isset($_POST['urllist'])) { - include ("hosts/hosts.php"); - asort($host); -?> - - - - - <?php printf($obj->lang['title'],$obj->lang['version']); ?> - - - - - - - - - - - - - - - - - - -
- - -
- - - - -
lang['plugins']); ?>
lang['plugins']); ?>
-
- $site){ - $site = substr($site,0,-4); - $site = str_replace("_",".",$site) ; - echo "" .$site."
"; - } - ?> -

-
lang['premium']); ?>
- - -
-
- showplugin(); ?> -
-

-
-
-
- - - - - - - Secure == true) - echo ''; ?> - -
lang['main']); ?>lang['donate']); ?>lang['listfile']); ?>lang['check']); ?> '.$obj->lang['log'].'
- - - -
-listfile==true)$obj->fulllist(); - else echo "

".$obj->lang['notaccess'].""; - } - #---------------------------- end list file ----------------------------# - - #---------------------------- begin donate ----------------------------# - else if (isset($_GET['id']) && $_GET['id']=='donate') { -?> -
-
lang['donations']); ?>

- - - - - - - -
- lang['acctype']); ?> - - -      
-
      -
- -
user:pass or cookie
-
-checkacc==true) include("checkaccount.php"); - else echo "

".$obj->lang['notaccess'].""; - } - #---------------------------- end check ------------------------------# - - #---------------------------- begin get ------------------------------# - else { -?> -
- lang['welcome'],$obj->lang['homepage']); ?>
lang['maxline']); ?>
-
- lang['example']); ?>
- '/>    -     -  Auto reset    -


- - -
- -
-
- - - -
-
- -
-
- notice();?> -
- -
- - - - Code LeechViet. Developed by ..:: [H] ::..
Powered by lang['version']); ?>

- Copyright 2009- by http://vinaget.us. All rights reserved.
- -
-
- - - - - - - - - - - <?php printf($obj->lang['title'],$obj->lang['version']); ?> - - - -


- - ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::HHHHHH::::::HHHHHH::HHHHHH::::HHHH::::::::::HHHH::::::HHHHHHHHHH::::::::::::HHHHHHHHHHHH::::::HHHHHHHHHHHHHH::HHHHHHHHHHHHHHHHHH::
- ::HHHHHH::::::HHHHHH::HHHHHH::::HHHHHH::::::::HHHH::::::HHHHHHHHHH::::::::::HHHHHHHHHHHHHHHH::::HHHHHHHHHHHHHH::HHHHHHHHHHHHHHHHHH::
- ::::HHHHHH::HHHHHH::::HHHHHH::::HHHHHHHH::::::HHHH::::HHHHHHHHHHHHHH::::::HHHHHHHH::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
- ::::HHHHHH::HHHHHH::::HHHHHH::::HHHHHHHHHH::::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::::::::::::::HHHHHH::::::::::::::::HHHHHH::::::::
- ::::HHHHHH::HHHHHH::::HHHHHH::::HHHH::HHHHHH::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::HHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
- ::::::HHHH::HHHH::::::HHHHHH::::HHHH::HHHHHH::HHHH::::HHHHHH::HHHHHH::::::HHHHHH::::HHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
- ::::::HHHH::HHHH::::::HHHHHH::::HHHH::::HHHHHHHHHH::::HHHHHHHHHHHHHH::::::HHHHHH::::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
- ::::::HHHHHHHHHH::::::HHHHHH::::HHHH::::::HHHHHHHH::HHHHHHHHHHHHHHHHHH::::HHHHHHHH::::HHHHHH::::HHHHHH::::::::::::::::HHHHHH::::::::
- ::::::::HHHHHH::::::::HHHHHH::::HHHH::::::::HHHHHH::HHHHHH::::::HHHHHH::::::HHHHHHHHHHHHHHHH::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
- ::::::::HHHHHH::::::::HHHHHH::::HHHH::::::::::HHHH::HHHHHH::::::HHHHHH::::::::HHHHHHHHHH::::::::HHHHHHHHHHHHHH::::::::HHHHHH::::::::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-

-
-

-
- - - - - - - -
lang['password']); ?>
-
-
- - Code LeechViet. Developed by ..:: [H] ::..
Powered by lang['version']); ?>

- Copyright 2009- by http://vinaget.us. All rights reserved.
- -
- - - \ No newline at end of file diff --git a/vinaget/vng263/languages.php b/vinaget/vng263/languages.php deleted file mode 100644 index 23b9b89..0000000 --- a/vinaget/vng263/languages.php +++ /dev/null @@ -1,116 +0,0 @@ - 'VinaGet v2.6.3 Final', -'homepage' => 'vinaget.us', -'title' => '%s - Premium link generator', -'login' => 'Please enter password to login.', -'password' => 'Password', -'plugins' => 'Plugins', -'premium' => 'Premium Accounts :', -'moreacc' => 'More accounts >>>', -'lessacc' => '<<< Less accounts', -'main' => 'Main Window', -'donate' => 'Donate Acc', -'listfile' => 'Server Files', -'check' => 'Check Acc', -'log' => 'Log Out', -'welcome' => '%s - Fast and unlimited premium link generator', -'maxline' => '(max 10 link for one times)', -'example' => 'Example: http://www.megaupload.com/?d=ABCDEXYZ|password', -'sbdown' => 'Download', -'dlhere' => 'Download here:', - -// donate -'donations' => 'We are also in need of donations! If you can we would appreciate your offerings.
Donate your Account !
', -'acctype' => 'Account Type:', -'sbdonate' => 'Donate Account', -'invalid' => ' Invalid account. Please re-check your data!', -'success' => 'Thanks for donating your account. Your account has been created successfully our database.', -'dsuccess' => '
Donate Success!', -'getloading' => '
checking...', -'notaccess' => 'You do not have permission to access this page !', - -//check - -//notice -'notice' => 'Auto del file after %s. Limit %s file per %s for 1 IP
', -'yourjobs' => 'Your IP: %s. Your jobs: %s (max: %s).You used %s (max: %s).
', -'status' => 'File size limit: %s. Total jobs: %s (max: %s). Server load: %s (max allowed: %s). Users online: %s', - -//time - -'ago' => 'ago', -'days' => 'days', -'hours' => 'hours', -'mins' => 'mins', -'sec' => 'sec', - - -//down -'errorget' => 'Failed to generate the link. Please try again !', -'errordl' => 'Your link has been generated by another ip address !', -'erroracc' => 'Account/Cookie Error !!!', -'svload' => 'Server load is too high.', -'issex' => 'is this link sex ??? ==► %s
if not ==► Repost: %s|not3x

', -'errorlink' => '==► Invalid link !', -'manyjob' => 'Too many download jobs.', -'countMBIP' => '
You only can download %s per %s ! Please wait %s
', -'limitPERIP' => '
You only can download %s file per %s ! Please wait %s
', -'limitip' => 'Too many download jobs for this ip.', -'notsupport' => '%s ==► Sorry. We do not support your link !
', -'notdl' => '%s ==► Can not get file size.
', -'cantjob' => '
Can not create new job
', -'filebig' => '
%s %s ==► File too big ! when allowed only %s
', - -//Server Files -'notfound' => 'Not Found!', -'del' => 'Delete', -'rname' => 'Rename', -'notfile' => 'No Files Found', -'acdis' => 'Action Disabled', -'ac' => 'Action', -'name' => 'Name', -'size' => 'Size', -'date' => 'Date', -'original' => 'Original Link', -'clickcheck' => 'Click here to check link', -'total' => 'Total', -'used' => 'You used', -'reset' => 'Reset per', -'canl' => 'Cancel', -'deld' => 'Deleted!', -'nname' => 'New Name', -'bname' => 'You can\'t rename file to blank name!', -'rnameto' => 'renamed to', - -//report -'dead' => '==► Link Dead !!!', -'again' => '==► please try again', -'notwork' => '==► Acc not work', -'unavailable' => 'Service Unavailable', -'disabletrial' => 'your link is temporary disable for trial account.', -'adult' => 'Adult Video Detected', -'ytb_captcha' => 'Captcha Found. Please run on different server', -'ytb_Error' => 'Error Locating Downlod URL', -'reportpass' => '
The file you are trying to download is password protected. Please enter the password below.
', -'outofbw' => 'Account out of bandwidth !!!', - -); -?> \ No newline at end of file diff --git a/vinaget/vng263/login.php b/vinaget/vng263/login.php deleted file mode 100644 index 208a64b..0000000 --- a/vinaget/vng263/login.php +++ /dev/null @@ -1,39 +0,0 @@ -could not open file! Try to chmod the file "'.$file.'" to 666
'); - fwrite($handle, $entry) - or die('
could not write file! Try to chmod the file "'.$file.'" to 666
'); - fclose($handle); - #----------------------------------------------- - setcookie("secureid",md5($login_vng),time()+3600*24*7); - $login = true; - } - if($login == false) die(""); -} - -header("location:index.php"); -ob_end_flush(); -?> - diff --git a/vinaget/vng263/readme.txt b/vinaget/vng263/readme.txt deleted file mode 100644 index 1248666..0000000 --- a/vinaget/vng263/readme.txt +++ /dev/null @@ -1,44 +0,0 @@ -###################################### -- How to use: - - CHMOD the folder "data" to 777 - - CHMOD file ".htaccess" to 666. - - CHMOD file "account.php" to 666. - - Password default: demo - - Custom functions in the file "config.php" - - Add your account in file "account.php" -###################################### - -Description: -* Home page: http://vinaget.us -* Version: VinaGet v2.6.3 Final -* Description: - - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. - - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, bitshare.com , hotfile... - - You can now download files with full resume support from filehosts using download managers like IDM etc - - Vinaget is a Free Open Source, supported by a growing community. -* Code LeechViet by VinhNhaTrang -* Developed by ..:: [H] ::.. - -- Easy to get multi link and make list in one go. -- Fast download speed with vinaget script. -- Support downloads from more than 30 filehost -- Use Rewrite URL -- Make plugin independent of release (easy fix and update plugin) -- enable/disable all user can see list files. -- enable/disable other people can see your file in the list files -- enable/disable other people can download your file. -- enable/disable all user can use check account. -- enable/disable show link for cbox -- enable/disable check link 3x,porn... -- Multi password login -- Limit file size -- link checker -- 3x,porn checker -- Account checker -- Donate Account -- Limit load file for 1 IP -- Limit file per mins -- Limit load file per time -- Auto del file per time -- Max total jobs in this host -- Max server load (linux) \ No newline at end of file diff --git a/vinaget/vng263/rl_style_pm.css b/vinaget/vng263/rl_style_pm.css deleted file mode 100644 index 946a20b..0000000 --- a/vinaget/vng263/rl_style_pm.css +++ /dev/null @@ -1,277 +0,0 @@ -hr { - height: 1px; - border-top-width: 0px; - border-right-width: 0px; - border-left-width: 0px; - padding: 0px; - margin-top: 1px; - margin-right: 0px; - margin-bottom: 2px; - margin-left: 0px; - border-bottom-width: 0px; - background-color: #4A4A4A; - color: #4A4A4A; -} - -img { border: 0; } - -body { - font-family: "Segoe UI", Tahoma, sans-serif; - font-size: 11px; - color: #FFFFFF; - background-color: #000000; - margin: 0px; - padding: 0px; -} -.showlistlink { - background:url(images/bglist.png); - height:100%; - width:100%; - color:#FFFFFF; - font-size:16px; - position:fixed; - margin-left:0px; - margin-right:0px; - margin-top:0px; - margin-bottom:0px; - display: none; -} - -tr { font-family: "Segoe UI", Tahoma; font-size: 11px; line-height: 14.5px; color: #FFFFFF; } -input { font-family: "Segoe UI", Tahoma; font-size: 11px; } -select { font-family: "Segoe UI", Tahoma; font-size: 11px; } -textarea { font-family: "Segoe UI", Tahoma; font-size: 11.5px; } -a { color: #55aaff; } -color { color: #FFFFFF; } - -/*.show-table {display: block;}*/ - -.hide-table {display: none;} - -.filelist a { - text-decoration:none; -} -.filelist a:hover { - text-decoration:underline; -} -.title { - font-size: 18px; - font-weight: bold; -} -.g { - text-align:center; - color:#00FF00; -} -.y { - text-align:center; - color:#FFFF00; -} -.r { - text-align:center; - color:#FF0000; -} -.n { - text-align:center; - color:blue; -} -.style1 { - font-size: 12px; - font-weight: bold; -} -.style2 {font-weight: bold} - -.linkchecker-load{filter:alpha(opacity=20);-moz-opacity:0.2;opacity:0.2;} - -.font-black { - color:#000; -} - -.font-blue { - color:#05F; -} - -.caption { - font-family: Tahoma; - font-size: 11px; -} - -th { - border-left: 1px solid white; -} - -/* -** All previous inline-style classes ** -*/ - - -/*the file checkbox menu */ -.chkmenu -{ - color: #99C9E6; -} - -/* the files list table header */ -.flisttblhdr -{ - background-color: #4B433B; - text-align: center; - color: white; -} - -.flisttblftr -{ - background-color: #4B433B; - color: white; - text-align: center; -} - -.ftpprogress -{ - background-color:#FFFFFF; - margin:1px; - width:0%; - height:8px; -} - - - -/* main.php */ -.plugincolhd -{ - background-color:#657B87; - color:#eee; - padding:1px; - width:102px; - margin:1px auto 2px 1px; -} - -.plugincollst -{ - color: #ccc; -} -.ServerFiles -{ - text-decoration: none; - color: #FFC500; -} -.flistmouseon -{ - background-color: #F5A249; - color: black; -} - -.flistmouseoff -{ - background-color: #D49659; - color: black; -} - -.workswith -{ - text-align:center; - padding:3px; - color:#dedede; - margin:0 auto; - width:450px; - font-size:9px; - height:50px; - overflow:auto; - border:1px solid #666; -} - -.autodel -{ - color:#FFCC00; -} - -.cell-plugin -{ - height: 27px; - width: 109px; - font-family: "Tahoma"; - font-size: 10px; - color: #FFC500; - text-align: center; - line-height: 27px; - background: url(images/button_bg2.gif); - background-position: center; - background-repeat: no-repeat; -} - -.button-auto -{ - height: 23px; - width: 105px; - margin-bottom: 1px; - margin-top: 1px; - font-family: "Tahoma"; - font-size: 10px; - color: #FFAD00; - text-align: center; - border: 0px solid; - background: #17668C url(images/button_bg3.gif); - background-position: center; - background-repeat: no-repeat; - cursor: pointer; -} - -/* The progressbar for upload and download, including the outer div holder */ -.progressouter -{ - border:1px solid #FFFFFF; width:300px; height:10px; -} - -.progressdown -{ - background-color:#FFFFFF; - width:0%; - height:8px; - margin: 1px; -} - -.progressup -{ - background-color:#FFFFFF; - width:0%; - height:8px; - margin: 1px; -} - -/* The "new-and-improved" tabs xD */ - -.selected -{ - background-color: #85cbeb !important; -} - -.cell-nav -{ - height: 31px; - width: 119px; - font-family: "Tahoma"; - font-size: 10px; - color: #FFC500; - text-align: center; - background: #17668C url(images/button_bg1.gif); - background-position: center; - background-repeat: no-repeat; - cursor: pointer; -} -.powered { - font-family: Arial; - color: #FF8700; - font-size: 10px; - line-height: 14px; - font-weight:bold; -} -.copyright { - font-family: Arial; - line-height: 14px; - color: #CCCCCC; - font-size: 10px; - font-weight:bold; -} -.copyright a { - color: red; - TEXT-DECORATION: none; -} \ No newline at end of file diff --git a/vinaget/vng270/images/Thumbs.db b/vinaget/vng270/images/Thumbs.db deleted file mode 100644 index 1acff07..0000000 Binary files a/vinaget/vng270/images/Thumbs.db and /dev/null differ diff --git a/vinaget/vng270/images/ZeroClipboard.js b/vinaget/vng270/images/ZeroClipboard.js deleted file mode 100644 index 1c6bfd5..0000000 --- a/vinaget/vng270/images/ZeroClipboard.js +++ /dev/null @@ -1,311 +0,0 @@ -// Simple Set Clipboard System -// Author: Joseph Huckaby - -var ZeroClipboard = { - - version: "1.0.7", - clients: {}, // registered upload clients on page, indexed by id - moviePath: 'images/ZeroClipboard.swf', // URL to movie - nextId: 1, // ID of next movie - - $: function(thingy) { - // simple DOM lookup utility function - if (typeof(thingy) == 'string') thingy = document.getElementById(thingy); - if (!thingy.addClass) { - // extend element with a few useful methods - thingy.hide = function() { this.style.display = 'none'; }; - thingy.show = function() { this.style.display = ''; }; - thingy.addClass = function(name) { this.removeClass(name); this.className += ' ' + name; }; - thingy.removeClass = function(name) { - var classes = this.className.split(/\s+/); - var idx = -1; - for (var k = 0; k < classes.length; k++) { - if (classes[k] == name) { idx = k; k = classes.length; } - } - if (idx > -1) { - classes.splice( idx, 1 ); - this.className = classes.join(' '); - } - return this; - }; - thingy.hasClass = function(name) { - return !!this.className.match( new RegExp("\\s*" + name + "\\s*") ); - }; - } - return thingy; - }, - - setMoviePath: function(path) { - // set path to ZeroClipboard.swf - this.moviePath = path; - }, - - dispatch: function(id, eventName, args) { - // receive event from flash movie, send to client - var client = this.clients[id]; - if (client) { - client.receiveEvent(eventName, args); - } - }, - - register: function(id, client) { - // register new client to receive events - this.clients[id] = client; - }, - - getDOMObjectPosition: function(obj, stopObj) { - // get absolute coordinates for dom element - var info = { - left: 0, - top: 0, - width: obj.width ? obj.width : obj.offsetWidth, - height: obj.height ? obj.height : obj.offsetHeight - }; - - while (obj && (obj != stopObj)) { - info.left += obj.offsetLeft; - info.top += obj.offsetTop; - obj = obj.offsetParent; - } - - return info; - }, - - Client: function(elem) { - // constructor for new simple upload client - this.handlers = {}; - - // unique ID - this.id = ZeroClipboard.nextId++; - this.movieId = 'ZeroClipboardMovie_' + this.id; - - // register client with singleton to receive flash events - ZeroClipboard.register(this.id, this); - - // create movie - if (elem) this.glue(elem); - } -}; - -ZeroClipboard.Client.prototype = { - - id: 0, // unique ID for us - ready: false, // whether movie is ready to receive events or not - movie: null, // reference to movie object - clipText: '', // text to copy to clipboard - handCursorEnabled: true, // whether to show hand cursor, or default pointer cursor - cssEffects: true, // enable CSS mouse effects on dom container - handlers: null, // user event handlers - - glue: function(elem, appendElem, stylesToAdd) { - // glue to DOM element - // elem can be ID or actual DOM element object - this.domElement = ZeroClipboard.$(elem); - - // float just above object, or zIndex 99 if dom element isn't set - var zIndex = 99; - if (this.domElement.style.zIndex) { - zIndex = parseInt(this.domElement.style.zIndex, 10) + 1; - } - - if (typeof(appendElem) == 'string') { - appendElem = ZeroClipboard.$(appendElem); - } - else if (typeof(appendElem) == 'undefined') { - appendElem = document.getElementsByTagName('body')[0]; - } - - // find X/Y position of domElement - var box = ZeroClipboard.getDOMObjectPosition(this.domElement, appendElem); - - // create floating DIV above element - this.div = document.createElement('div'); - var style = this.div.style; - style.position = 'absolute'; - style.left = '' + box.left + 'px'; - style.top = '' + box.top + 'px'; - style.width = '' + box.width + 'px'; - style.height = '' + box.height + 'px'; - style.zIndex = zIndex; - - if (typeof(stylesToAdd) == 'object') { - for (addedStyle in stylesToAdd) { - style[addedStyle] = stylesToAdd[addedStyle]; - } - } - - // style.backgroundColor = '#f00'; // debug - - appendElem.appendChild(this.div); - - this.div.innerHTML = this.getHTML( box.width, box.height ); - }, - - getHTML: function(width, height) { - // return HTML for movie - var html = ''; - var flashvars = 'id=' + this.id + - '&width=' + width + - '&height=' + height; - - if (navigator.userAgent.match(/MSIE/)) { - // IE gets an OBJECT tag - var protocol = location.href.match(/^https/i) ? 'https://' : 'http://'; - html += ''; - } - else { - // all other browsers get an EMBED tag - html += ''; - } - return html; - }, - - hide: function() { - // temporarily hide floater offscreen - if (this.div) { - this.div.style.left = '-2000px'; - } - }, - - show: function() { - // show ourselves after a call to hide() - this.reposition(); - }, - - destroy: function() { - // destroy control and floater - if (this.domElement && this.div) { - this.hide(); - this.div.innerHTML = ''; - - var body = document.getElementsByTagName('body')[0]; - try { body.removeChild( this.div ); } catch(e) {;} - - this.domElement = null; - this.div = null; - } - }, - - reposition: function(elem) { - // reposition our floating div, optionally to new container - // warning: container CANNOT change size, only position - if (elem) { - this.domElement = ZeroClipboard.$(elem); - if (!this.domElement) this.hide(); - } - - if (this.domElement && this.div) { - var box = ZeroClipboard.getDOMObjectPosition(this.domElement); - var style = this.div.style; - style.left = '' + box.left + 'px'; - style.top = '' + box.top + 'px'; - } - }, - - setText: function(newText) { - // set text to be copied to clipboard - this.clipText = newText; - if (this.ready) this.movie.setText(newText); - }, - - addEventListener: function(eventName, func) { - // add user event listener for event - // event types: load, queueStart, fileStart, fileComplete, queueComplete, progress, error, cancel - eventName = eventName.toString().toLowerCase().replace(/^on/, ''); - if (!this.handlers[eventName]) this.handlers[eventName] = []; - this.handlers[eventName].push(func); - }, - - setHandCursor: function(enabled) { - // enable hand cursor (true), or default arrow cursor (false) - this.handCursorEnabled = enabled; - if (this.ready) this.movie.setHandCursor(enabled); - }, - - setCSSEffects: function(enabled) { - // enable or disable CSS effects on DOM container - this.cssEffects = !!enabled; - }, - - receiveEvent: function(eventName, args) { - // receive event from flash - eventName = eventName.toString().toLowerCase().replace(/^on/, ''); - - // special behavior for certain events - switch (eventName) { - case 'load': - // movie claims it is ready, but in IE this isn't always the case... - // bug fix: Cannot extend EMBED DOM elements in Firefox, must use traditional function - this.movie = document.getElementById(this.movieId); - if (!this.movie) { - var self = this; - setTimeout( function() { self.receiveEvent('load', null); }, 1 ); - return; - } - - // firefox on pc needs a "kick" in order to set these in certain cases - if (!this.ready && navigator.userAgent.match(/Firefox/) && navigator.userAgent.match(/Windows/)) { - var self = this; - setTimeout( function() { self.receiveEvent('load', null); }, 100 ); - this.ready = true; - return; - } - - this.ready = true; - this.movie.setText( this.clipText ); - this.movie.setHandCursor( this.handCursorEnabled ); - break; - - case 'mouseover': - if (this.domElement && this.cssEffects) { - this.domElement.addClass('hover'); - if (this.recoverActive) this.domElement.addClass('active'); - } - break; - - case 'mouseout': - if (this.domElement && this.cssEffects) { - this.recoverActive = false; - if (this.domElement.hasClass('active')) { - this.domElement.removeClass('active'); - this.recoverActive = true; - } - this.domElement.removeClass('hover'); - } - break; - - case 'mousedown': - if (this.domElement && this.cssEffects) { - this.domElement.addClass('active'); - } - break; - - case 'mouseup': - if (this.domElement && this.cssEffects) { - this.domElement.removeClass('active'); - this.recoverActive = false; - } - break; - } // switch eventName - - if (this.handlers[eventName]) { - for (var idx = 0, len = this.handlers[eventName].length; idx < len; idx++) { - var func = this.handlers[eventName][idx]; - - if (typeof(func) == 'function') { - // actual function reference - func(this, args); - } - else if ((typeof(func) == 'object') && (func.length == 2)) { - // PHP style object + method, i.e. [myObject, 'myMethod'] - func[0][ func[1] ](this, args); - } - else if (typeof(func) == 'string') { - // name of function - window[func](this, args); - } - } // foreach event handler defined - } // user defined handler for event - } - -}; diff --git a/vinaget/vng270/images/ZeroClipboard.swf b/vinaget/vng270/images/ZeroClipboard.swf deleted file mode 100644 index 13bf8e3..0000000 Binary files a/vinaget/vng270/images/ZeroClipboard.swf and /dev/null differ diff --git a/vinaget/vng270/images/bglist.png b/vinaget/vng270/images/bglist.png deleted file mode 100644 index c6d4255..0000000 Binary files a/vinaget/vng270/images/bglist.png and /dev/null differ diff --git a/vinaget/vng270/images/button_bg1.gif b/vinaget/vng270/images/button_bg1.gif deleted file mode 100644 index a2f8067..0000000 Binary files a/vinaget/vng270/images/button_bg1.gif and /dev/null differ diff --git a/vinaget/vng270/images/button_bg2.gif b/vinaget/vng270/images/button_bg2.gif deleted file mode 100644 index f659b27..0000000 Binary files a/vinaget/vng270/images/button_bg2.gif and /dev/null differ diff --git a/vinaget/vng270/images/button_bg3.gif b/vinaget/vng270/images/button_bg3.gif deleted file mode 100644 index f0c26ba..0000000 Binary files a/vinaget/vng270/images/button_bg3.gif and /dev/null differ diff --git a/vinaget/vng270/images/chk_error.png b/vinaget/vng270/images/chk_error.png deleted file mode 100644 index b771a9b..0000000 Binary files a/vinaget/vng270/images/chk_error.png and /dev/null differ diff --git a/vinaget/vng270/images/chk_good.png b/vinaget/vng270/images/chk_good.png deleted file mode 100644 index a16ed73..0000000 Binary files a/vinaget/vng270/images/chk_good.png and /dev/null differ diff --git a/vinaget/vng270/images/error.png b/vinaget/vng270/images/error.png deleted file mode 100644 index c7fcc25..0000000 Binary files a/vinaget/vng270/images/error.png and /dev/null differ diff --git a/vinaget/vng270/images/jquery-1.7.1.min.js b/vinaget/vng270/images/jquery-1.7.1.min.js deleted file mode 100644 index 979ed08..0000000 --- a/vinaget/vng270/images/jquery-1.7.1.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/vinaget/vng270/images/loading.gif b/vinaget/vng270/images/loading.gif deleted file mode 100644 index d84f653..0000000 Binary files a/vinaget/vng270/images/loading.gif and /dev/null differ diff --git a/vinaget/vng270/images/success.png b/vinaget/vng270/images/success.png deleted file mode 100644 index 39535da..0000000 Binary files a/vinaget/vng270/images/success.png and /dev/null differ diff --git a/vinaget/vng270/images/vngicon.png b/vinaget/vng270/images/vngicon.png deleted file mode 100644 index d2a9c8d..0000000 Binary files a/vinaget/vng270/images/vngicon.png and /dev/null differ