├── data ├── log.txt ├── account.dat ├── config.dat ├── cookie.dat ├── index.php ├── online.dat ├── files │ └── index.php └── datafile_descrypt.html ├── version.txt ├── .gitignore ├── images ├── index.php ├── bglist.png ├── error.png ├── loading.gif ├── success.png ├── vngicon.png ├── chk_error.png ├── chk_good.png ├── button_bg1.gif ├── button_bg2.gif ├── button_bg3.gif ├── ZeroClipboard.swf ├── loading_black.gif └── loading_white.gif ├── skin ├── index.php └── default │ └── function.php ├── hosts ├── .htaccess ├── d-h.st.php ├── dropbox_com.php ├── datafilehost_com.php ├── mega_nz.php ├── me_zing_vn.php ├── tune_pk.php ├── metacafe_com.php ├── nitrobit_net.php ├── gamefront_com.php ├── adrive_com.php ├── solidfiles_com.php ├── mp3_zing_vn.php ├── longfiles_com.php ├── uppit_com.php ├── filecloud_io.php ├── upfile_mobi.php ├── furk_net.php ├── filesflash_com.php ├── plunder_com.php ├── filefox_cc.php ├── fastshare_cz.php ├── upfile_vn.php ├── alfafile_net.php ├── hotlink_cc.php ├── extmatrix_com.php ├── 1fichier_com.php ├── florenfile_com.php ├── rghost_net.php ├── share-online_biz.php ├── filebox_com.php ├── secretfile_net.php ├── fileshark_pl.php ├── depfile_us.php ├── sendspace_com.php ├── 4share_vn.php ├── hitfile_net.php ├── yunfile_com.php ├── filer_net.php ├── novafile_com.php ├── filespace_com.php ├── nitroflare_com.php ├── filesmonster_com.php ├── icerbox_com.php ├── filestoragepro_net.php ├── uploadgig_com.php ├── chomikuj_pl.php ├── filenext_com.php ├── spicyfile_com.php ├── wipfiles_net.php ├── rapidgator_net.php ├── tenlua_vn.php ├── rarefile_net.php ├── lumfile_com.php ├── file_al.php ├── katfile_com.php ├── katfile_cloud.php ├── subyshare_com.php ├── rapidfileshare_net.php ├── k2s_cc.php ├── uptobox_com.php ├── mixshared_com.php ├── wupfile_com.php ├── depositfiles_com.php ├── 4shared_com.php ├── easybytez_com.php ├── prefiles_com.php ├── worldbytez_com.php ├── datafile_com.php ├── filejoker_net.php ├── fireget_com.php ├── isra_cloud.php ├── uploaded_net.php ├── ryushare_com.php ├── turbobit_net.php ├── filextras_com.php ├── tusfiles_net.php ├── mediafire_com.php ├── fboom_me.php ├── filefactory_com.php └── uploadboy_com.php ├── userscloud_com.php ├── debug.php ├── LICENSE ├── .htaccess ├── index.php ├── config.php ├── hosts.php ├── add.php ├── login.php ├── README.md └── changelog.txt /data/log.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | 47 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.vng -------------------------------------------------------------------------------- /data/account.dat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/config.dat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/cookie.dat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/online.dat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skin/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/files/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/datafile_descrypt.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bglist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/bglist.png -------------------------------------------------------------------------------- /images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/error.png -------------------------------------------------------------------------------- /images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/loading.gif -------------------------------------------------------------------------------- /images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/success.png -------------------------------------------------------------------------------- /images/vngicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/vngicon.png -------------------------------------------------------------------------------- /images/chk_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/chk_error.png -------------------------------------------------------------------------------- /images/chk_good.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/chk_good.png -------------------------------------------------------------------------------- /images/button_bg1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/button_bg1.gif -------------------------------------------------------------------------------- /images/button_bg2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/button_bg2.gif -------------------------------------------------------------------------------- /images/button_bg3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/button_bg3.gif -------------------------------------------------------------------------------- /images/ZeroClipboard.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/ZeroClipboard.swf -------------------------------------------------------------------------------- /images/loading_black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/loading_black.gif -------------------------------------------------------------------------------- /images/loading_white.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ltt2801/new-vinaget-script/HEAD/images/loading_white.gif -------------------------------------------------------------------------------- /hosts/.htaccess: -------------------------------------------------------------------------------- 1 | order deny,allow 2 | 3 | 4 | deny from all 5 | 6 | 7 | 8 | deny from all 9 | -------------------------------------------------------------------------------- /hosts/d-h.st.php: -------------------------------------------------------------------------------- 1 | lib->curl($url, "", ""); 8 | $this->save($this->lib->GetCookies($data)); 9 | 10 | if (preg_match('@https?:\/\/fs(\d+\.)?d\-h\.st\/download\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) { 11 | return trim($giay[0]); 12 | } 13 | 14 | return false; 15 | } 16 | } 17 | 18 | /* 19 | * Open Source Project 20 | * New Vinaget by LTT 21 | * Version: 3.3 LTS 22 | * Prefiles.com Download Plugin 23 | * Date: 25.07.2013 24 | */ 25 | -------------------------------------------------------------------------------- /hosts/dropbox_com.php: -------------------------------------------------------------------------------- 1 | lib->curl($url, "", ""); 9 | $this->save($this->lib->GetCookies($data)); 10 | 11 | if (preg_match('@https?:\/\/dl\.dropboxusercontent\.com\/[^"\'><\r\n\t]+@i', $data, $giay)) { 12 | return trim($giay[0]); 13 | } 14 | 15 | return false; 16 | } 17 | 18 | } 19 | 20 | /* 21 | * Open Source Project 22 | * New Vinaget by LTT 23 | * Version: 3.3 LTS 24 | * Dropbox.com Download Plugin 25 | * Date: 01.09.2018 26 | */ 27 | -------------------------------------------------------------------------------- /hosts/datafilehost_com.php: -------------------------------------------------------------------------------- 1 | lib->curl($url, "", ""); 8 | $this->save($this->lib->GetCookies($data)); 9 | 10 | if (preg_match('/a href=\'(http:\/\/www\.datafilehost\.com\/get\.php\?file\=[^\']+)/i', $data, $dl)) { 11 | return trim($dl[1]); 12 | } 13 | 14 | return false; 15 | } 16 | 17 | } 18 | 19 | /* 20 | * Open Source Project 21 | * New Vinaget by LTT 22 | * Version: 3.3 LTS 23 | * Datafilehost.com Download Plugin 24 | * Date: 01.09.2018 25 | */ 26 | -------------------------------------------------------------------------------- /hosts/mega_nz.php: -------------------------------------------------------------------------------- 1 | error("Mcrypt module isn't installed or it doesn't have support for the needed encryption.", true, false); 10 | } 11 | 12 | } 13 | 14 | public function FreeLeech($url) 15 | { 16 | return trim($url); 17 | return false; 18 | } 19 | 20 | } 21 | 22 | /* 23 | * Open Source Project 24 | * New Vinaget by LTT 25 | * Version: 3.3 LTS 26 | * Mega.nz Download Plugin 27 | * Date: 06.09.2017 28 | */ 29 | -------------------------------------------------------------------------------- /hosts/me_zing_vn.php: -------------------------------------------------------------------------------- 1 | lib->cut_str(file_get_contents($url), 'width="100%" src="', '"')); 9 | if (stristr($thuytinh, 'File không tồn tại')) { 10 | $this->error("dead", true, false, 2); 11 | } elseif (preg_match('/a href="(https?:\/\/.+zing.vn.+)" target/i', $thuytinh, $giay)) { 12 | return trim($giay[1]); 13 | } 14 | 15 | return false; 16 | } 17 | 18 | } 19 | 20 | /* 21 | * Open Source Project 22 | * New Vinaget by LTT 23 | * Version: 3.3 LTS 24 | * Me.zing.vn Download Plugin 25 | * Date: 01.09.2018 26 | */ 27 | -------------------------------------------------------------------------------- /hosts/tune_pk.php: -------------------------------------------------------------------------------- 1 | lib->curl($url, "", ""); 9 | $this->save($this->lib->GetCookies($data)); 10 | if (stristr($data, '
  • Video does not exist
  • ')) { 11 | $this->error("dead", true, false, 2); 12 | } 13 | 14 | if (stristr($data, 'var hq_video_file =')) { 15 | return trim($this->lib->cut_str($data, "var hq_video_file = '", "'")); 16 | } 17 | 18 | return false; 19 | } 20 | 21 | } 22 | 23 | /* 24 | * Open Source Project 25 | * New Vinaget by LTT 26 | * Version: 3.3 LTS 27 | * Tune.pk Download Plugin 28 | * Date: 01.09.2018 29 | */ 30 | -------------------------------------------------------------------------------- /hosts/metacafe_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://www.metacafe.com/fplayer/{$urx[4]}/download.swf", "", ""); 10 | if (stristr($data, 'mediaURL')) { 11 | $link = urldecode(urldecode($data)); 12 | $link = $this->lib->cut_str($link, '"mediaURL":"', '",'); 13 | $link = str_replace("\/", "/", $link); 14 | return trim($link); 15 | } else { 16 | $this->error("dead", true, false, 2); 17 | } 18 | 19 | return false; 20 | } 21 | 22 | } 23 | 24 | /* 25 | * Open Source Project 26 | * New Vinaget by LTT 27 | * Version: 3.3 LTS 28 | * Metacafe.com Download Plugin 29 | * Date: 01.09.2018 30 | */ 31 | -------------------------------------------------------------------------------- /hosts/nitrobit_net.php: -------------------------------------------------------------------------------- 1 | lib->cookie))); 9 | if (preg_match('@^https?:\/\/www.nitrobit\.net\/view\/(.*)@i', $url, $fileID)) ; 10 | $data = $this->lib->curl("http://www.nitrobit.net/ajax/unlock.php", "", "file={$fileID[1]}&password=N{$pwdkey}&keep=true"); 11 | 12 | if ($link = $this->lib->cut_str($data, 'id="download" href="', '">')) { 13 | return trim($link); 14 | } 15 | 16 | return false; 17 | } 18 | 19 | } 20 | 21 | /* 22 | * Open Source Project 23 | * New Vinaget by LTT 24 | * Version: 3.3 LTS 25 | * Nitrobit.net Download Plugin 26 | * Date: 01.09.2018 27 | */ 28 | -------------------------------------------------------------------------------- /hosts/gamefront_com.php: -------------------------------------------------------------------------------- 1 | lib->curl($url, "", ""); 9 | $this->save($this->lib->GetCookies($data)); 10 | $lik1 = $this->lib->cut_str($this->lib->cut_str($data, '
    ', 'id="downloadLink">'), 'lib->cut_str($lik2, '

    Your download will begin in a few seconds.
    If it does not,
    click here.

    ')) { 14 | return trim($giay); 15 | } 16 | 17 | return false; 18 | } 19 | 20 | } 21 | 22 | /* 23 | * Open Source Project 24 | * New Vinaget by LTT 25 | * Version: 3.3 LTS 26 | * Gamefront.com Download Plugin 27 | * Date: 01.09.2018 28 | */ 29 | -------------------------------------------------------------------------------- /userscloud_com.php: -------------------------------------------------------------------------------- 1 | lib->curl($url, "", ""); 7 | if (strpos($data, "Download") === false) $this->error("dead", true, false, 2); 8 | else { 9 | $post1 = explode("/", $url)[3]; 10 | preg_match('/name="fname" value="(.*)">/', $data, $post2); 11 | $post = "op=download2&usr_login=&id=".$post1."&fname=".$post2[1]."&referer=&method_free=Free+Download"; 12 | $data2 = $this->lib->curl($url, "", $post); 13 | if (preg_match('@https?:\/\/.+?\.usercdn\.com:443\/d\/[^\'\"\t<>\r\n]+@i', $data2, $link)) { 14 | return $link[0]; 15 | } 16 | } 17 | return false; 18 | } 19 | 20 | } 21 | 22 | /* 23 | * Open Source Project 24 | * Vinaget by ..::[H]::.. 25 | * Version: 2.7.0 26 | * Userscloud.com Download Plugin 27 | * Downloader Class By Jetleech 28 | * Date 13.5.2020 29 | */ 30 | ?> -------------------------------------------------------------------------------- /debug.php: -------------------------------------------------------------------------------- 1 | <?php 2 | ob_start(); 3 | ob_implicit_flush(true); 4 | ignore_user_abort(0); 5 | if (!ini_get('safe_mode')) { 6 | set_time_limit(30); 7 | } 8 | 9 | define('vinaget', 'yes'); 10 | date_default_timezone_set('Asia/Jakarta'); 11 | 12 | require_once 'class.php'; 13 | $obj = new stream_get(); 14 | 15 | // This debug code should be available only to admins. 16 | if ($obj->Deny || !$obj->isAdmin()) { 17 | setcookie('msg', 'debug.php :: Access Violation'); 18 | header('Location: index.php'); 19 | ob_end_flush(); 20 | exit; 21 | } elseif (!empty($_REQUEST['link'])) { 22 | if (!empty($_REQUEST['proxy'])) { 23 | $obj->proxy = $_REQUEST['proxy']; 24 | } 25 | 26 | echo '<pre>' . htmlspecialchars($obj->curl($_REQUEST['link'], (!empty($_REQUEST['cookie']) ? $_REQUEST['cookie'] : 0), (!empty($_REQUEST['post']) ? $_REQUEST['post'] : 0))) . '</pre>'; 27 | } else { 28 | echo '<center><br /><br /><br /><br /><br /><h2>DEBUG RESULT</h2></center>'; 29 | } 30 | 31 | ob_end_flush(); 32 | -------------------------------------------------------------------------------- /hosts/adrive_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_adrive_com extends Download 4 | { 5 | public function FreeLeech($url) 6 | { 7 | $url = preg_replace("@https?:\/\/(www\.)?adrive\.com@", "http://www.adrive.com", $url); 8 | $data = $this->lib->curl($url, "", ""); 9 | $this->save($this->lib->GetCookies($data)); 10 | 11 | if (stristr($data, 'The file is password protected')) { 12 | $this->error("notsupportpass", true, false); 13 | } elseif (stristr($data, 'Not Found') || stristr($data, 'The file you are trying to access is no longer available publicly') || stristr($data, 'Public File Busy')) { 14 | $this->error("dead", true, false, 2); 15 | } elseif (preg_match('%click <a href="(http:.+adrive.com.+)">here%U', $data, $match)) { 16 | return trim($match[1]); 17 | } 18 | 19 | return false; 20 | } 21 | } 22 | 23 | /* 24 | * Open Source Project 25 | * New Vinaget by LTT 26 | * Version: 3.3 LTS 27 | * Adrive.com Download Plugin 28 | * Date: 10.09.2017 29 | */ 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Thanh Tuấn 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /hosts/solidfiles_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_solidfiles_com extends Download { 4 | 5 | public function FreeLeech($url){ 6 | 7 | $data = $this->lib->curl($url, "", ""); 8 | $ck = $this->lib->GetCookies($data); 9 | 10 | if (stristr($data, 'btn btn-primary btn-sm')) { 11 | preg_match('/csrfmiddlewaretoken\' value=\'(.*)\'/', $data, $match); 12 | preg_match('/<form action="(.*?)"/', $data, $match2); 13 | 14 | $data2 = $this->lib->curl('http://www.solidfiles.com'.$match2[1], $ck, 'csrfmiddlewaretoken='.$match[1]); 15 | 16 | preg_match('/seconds\, <a href="(.*)">click/', $data2, $match3); 17 | return $match3[1]; 18 | } 19 | elseif (stristr($data, '301 Moved Permanently') || stristr($data, 'This file/folder could not be found')) { 20 | $this->error("dead", true, false, 2); 21 | } 22 | else { 23 | return trim($this->redirect); 24 | } 25 | return false; 26 | 27 | } 28 | } 29 | 30 | /* 31 | * Open Source Project 32 | * Vinaget by ..::[H]::.. 33 | * Version: 2.7.0 34 | * Created By Enigma [Jetleech.net] 35 | * Date: 06.05.2020 36 | */ 37 | ?> 38 | -------------------------------------------------------------------------------- /hosts/mp3_zing_vn.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_mp3_zing_vn extends Download 4 | { 5 | 6 | public function FreeLeech($url) 7 | { 8 | if (stristr($url, "http://mp3.zing.vn")) { 9 | $url = str_replace("http://mp3.zing.vn", "http://m.mp3.zing.vn", $url); 10 | } 11 | 12 | $data = $this->lib->curl($url, "", ""); 13 | $this->save($this->lib->GetCookies($data)); 14 | if (!preg_match('@https?:\/\/m\.mp3\.zing\.vn\/xml\/song\/[^"\'><\r\n\t]+@i', $data, $giay)) { 15 | $this->error("Cannot get XML", true, false, 2); 16 | } else { 17 | $data = $this->lib->curl($giay[0], $this->lib->cookie, "", 0); 18 | 19 | $js = json_decode($data, true); 20 | 21 | $link = $js['data'][0]['source']; 22 | 23 | $link = str_replace("I=", "Y=", $link); 24 | 25 | $this->lib->reserved['filename'] = $js['data'][0]['title'] . ".mp3"; 26 | 27 | return trim($link); 28 | } 29 | return false; 30 | } 31 | 32 | } 33 | 34 | /* 35 | * Open Source Project 36 | * New Vinaget by LTT 37 | * Version: 3.3 LTS 38 | * Mp3.zing.vn Download Plugin 39 | * Date: 01.09.2018 40 | */ 41 | -------------------------------------------------------------------------------- /hosts/longfiles_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_longfiles_com extends Download 4 | { 5 | 6 | public function FreeLeech($url) 7 | { 8 | $data = $this->lib->curl($url, "", ""); 9 | $this->lib->cookie = $this->lib->GetCookies($data); 10 | if (preg_match('@You have to wait (?:\d+ \w+,\s)?\d+ \w+ till next download@i', $data, $count)) { 11 | $this->error($count[0], true, false); 12 | } 13 | 14 | if (preg_match('@Wait <span id="\w+">(\d+)<\/span>@i', $data, $count) && $count[1] > 0) { 15 | sleep($count[1]); 16 | } 17 | 18 | if (!stristr($data, "<h3>Download File</h3>")) { 19 | $this->error("Cannot get Download File", true, false, 2); 20 | } else { 21 | $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); 22 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 23 | if ($this->isRedirect($data)) { 24 | return trim($this->redirect); 25 | } 26 | 27 | } 28 | return false; 29 | } 30 | 31 | } 32 | 33 | /* 34 | * Open Source Project 35 | * New Vinaget by LTT 36 | * Version: 3.3 LTS 37 | * Longfiles.com Download Plugin 38 | * Date: 01.09.2018 39 | */ 40 | -------------------------------------------------------------------------------- /hosts/uppit_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_uppit_com extends Download 4 | { 5 | 6 | public function FreeLeech($url) 7 | { 8 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 9 | $this->save($this->lib->GetCookies($data)); 10 | if (stristr($data, 'The file was deleted by its owner')) { 11 | $this->error("dead", true, false, 2); 12 | } else { 13 | $post = array( 14 | 'op' => 'download1', 15 | 'usr_login' => 'admin', 16 | 'id' => $this->lib->cut_str($data, 'id" value="', '">'), 17 | 'fname' => $this->lib->cut_str($data, 'fname" value="', '">'), 18 | 'referer' => 'http://uppit.com', 19 | 'method_free' => ' Generate Link ', 20 | ); 21 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 22 | if (preg_match('/a href="(http:\/\/srv\d+\.uppcdn\.com\/dl\/.+)" onClick/i', $data, $redir)) { 23 | return trim($redir[1]); 24 | } 25 | 26 | } 27 | return false; 28 | } 29 | 30 | } 31 | 32 | /* 33 | * Open Source Project 34 | * New Vinaget by LTT 35 | * Version: 3.3 LTS 36 | * Uppit.com Download Plugin 37 | * Date: 01.09.2018 38 | */ 39 | -------------------------------------------------------------------------------- /hosts/filecloud_io.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filecloud_io extends Download 4 | { 5 | 6 | public function Login($user, $pass) 7 | { 8 | $data = $this->lib->curl("https://secure.filecloud.io/user-login_p.html", "lang=en", "username={$user}&password={$pass}"); 9 | $cookie = "lang=en; {$this->lib->GetCookies($data)}"; 10 | 11 | return array(true, $cookie); 12 | } 13 | 14 | public function Leech($url) 15 | { 16 | $data = $this->lib->curl('http://urlchecker.net/', "", 'links=' . urlencode($url) . '&submit=Check Links'); 17 | $data = $this->lib->cut_str($data, '<td class="working">', 'class="live'); 18 | if (stristr($data, 'Working</td>')) { 19 | $url = $this->lib->cut_str($data, 'href="', '" target'); 20 | } else { 21 | $this->error("dead", true, false, 2); 22 | } 23 | 24 | $url = str_relace("ifile.it", "filecloud.io", $url); 25 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 26 | if ($this->isRedirect($data)) { 27 | return trim($this->redirect); 28 | } elseif (empty($data) == true) { 29 | $this->error("dead", true, false, 2); 30 | } 31 | 32 | return false; 33 | } 34 | 35 | } 36 | 37 | /* 38 | * Open Source Project 39 | * New Vinaget by LTT 40 | * Version: 3.3 LTS 41 | * Filecloud.io Download Plugin 42 | * Date: 01.09.2018 43 | */ 44 | -------------------------------------------------------------------------------- /hosts/upfile_mobi.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_upfile_mobi extends Download 4 | { 5 | 6 | public function FreeLeech($url) 7 | { 8 | list($url, $pass) = $this->linkpassword($url); 9 | $data = $this->lib->curl($url, "lang=en", ""); 10 | $this->save($this->lib->GetCookies($data)); 11 | if ($pass) { 12 | $url = str_replace("http://upfile.mobi/", "http://upfile.mobi/view.php?f=", $url); 13 | $post["key"] = $pass; 14 | $data = $this->lib->curl($url, "lang=en;" . $this->lib->cookie, $post); 15 | if (stristr($data, 'Enter password:')) { 16 | $this->error("wrongpass", true, false, 2); 17 | } elseif (preg_match('@https?:\/\/upfile\.mobi\/download\.php[^"\'><\r\n\t]+@i', "http://upfile.mobi/{$this->lib->cut_str($data, 'title="download" href="', '">')}", $giay)) { 18 | return trim($giay[0]); 19 | } 20 | 21 | } 22 | if (stristr($data, 'type="password" name="key')) { 23 | $this->error("reportpass", true, false); 24 | } elseif (preg_match('@https?:\/\/upfile\.mobi\/download\.php[^"\'><\r\n\t]+@i', "http://upfile.mobi/{$this->lib->cut_str($data, 'title="download" href="', '">')}", $giay)) { 25 | return trim($giay[0]); 26 | } 27 | 28 | return false; 29 | } 30 | 31 | } 32 | 33 | /* 34 | * Open Source Project 35 | * New Vinaget by LTT 36 | * Version: 3.3 LTS 37 | * Upfile.mobi Download Plugin 38 | * Date: 01.09.2018 39 | */ 40 | -------------------------------------------------------------------------------- /hosts/furk_net.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_furk_net extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://www.furk.net/users/account", $cookie, ""); 9 | if (stristr($data, '<dt>Account type:</dt>') && stristr($data, '<dd>premium</dd>')) { 10 | return array(true, "accpremium"); 11 | } elseif (stristr($data, '<dt>Account type:</dt>') && stristr($data, '<dd>free</dd>')) { 12 | return array(true, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("https://www.furk.net/api/login/login", "", "login={$user}&pwd={$pass}"); 22 | $cookie = $this->lib->GetCookies($data); 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 30 | $data = $this->lib->cut_str($data, "<a class=\"dl_link button-large\" href=\"", "\" onClick=\"_gaq.push"); 31 | if (preg_match('@http:\/\/\w+\.gcdn\.bi[^"\'><\r\n\t]+@i', $this->lib->cut_str($data, 'class="dl_link button-large', 'onClick'), $giay)) { 32 | return trim($giay[0]); 33 | } 34 | 35 | return false; 36 | } 37 | 38 | } 39 | 40 | /* 41 | * Open Source Project 42 | * New Vinaget by LTT 43 | * Version: 3.3 LTS 44 | * Furk.net Download Plugin 45 | * Date: 01.09.2018 46 | */ 47 | -------------------------------------------------------------------------------- /hosts/filesflash_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filesflash_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://filesflash.com/myaccount.php", "googtrans=/en/en;" . $cookie, ""); 9 | if (stristr($data, '<tr><td>Premium Status:</td><td>') && !stristr($data, 'Not Premium')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, '<tr><td>Premium Status:</td><td>', ' (<a href="premium.php">Buy Premium</a>')); 11 | } elseif (stristr($data, 'Not Premium')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://filesflash.com/login.php", "googtrans=/en/en", "email={$user}&password={$pass}&submit=Submit"); 22 | $cookie = "googtrans=/en/en;" . $this->lib->GetCookies($data); 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 30 | if ($this->isRedirect($data)) { 31 | return trim($this->redirect); 32 | } elseif (stristr($data, "That file has been deleted.")) { 33 | $this->error("dead", true, false, 2); 34 | } 35 | 36 | return false; 37 | } 38 | 39 | } 40 | 41 | /* 42 | * Open Source Project 43 | * New Vinaget by LTT 44 | * Version: 3.3 LTS 45 | * Filesflash.com Download Plugin 46 | * Date: 01.09.2018 47 | */ 48 | -------------------------------------------------------------------------------- /hosts/plunder_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_plunder_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://www.plunder.com/", $cookie, ""); 9 | if (stristr($data, 'href="/logout/">Logout</a>')) { 10 | return array(true, "accfree"); 11 | } else { 12 | return array(false, "accinvalid"); 13 | } 14 | 15 | } 16 | 17 | public function Login($user, $pass) 18 | { // use cookie loginx= if not work. 19 | $data = $this->lib->curl("http://www.plunder.com/login/", "", ""); 20 | $post["Username"] = $user; 21 | $post["Password"] = $pass; 22 | $post["__VIEWSTATE"] = $this->lib->cut_str($data, "__VIEWSTATE\" value=\"", "\""); 23 | $post["__EVENTVALIDATION"] = $this->lib->cut_str($data, "__EVENTVALIDATION\" value=\"", "\""); 24 | $post["return"] = ""; 25 | $post["handshake"] = ""; 26 | $post["submit"] = "Submit"; 27 | $data = $this->lib->curl("http://www.plunder.com/login/", "", $post); 28 | $cookie = $this->lib->GetCookies($data); 29 | 30 | return array(true, $cookie); 31 | } 32 | 33 | public function Leech($url) 34 | { 35 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 36 | if (preg_match('@https?:\/\/[a-z]+\.plunder\.com\/[a-z]+\/[^"\'><\r\n\t]+@i', $data, $giay)) { 37 | return trim($giay[0]); 38 | } 39 | 40 | return false; 41 | } 42 | 43 | } 44 | 45 | /* 46 | * Open Source Project 47 | * New Vinaget by LTT 48 | * Version: 3.3 LTS 49 | * Plunder.com Download Plugin 50 | * Date: 01.09.2018 51 | */ 52 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | Options -Indexes 2 | DirectoryIndex index.php index.html index.htm 3 | <IfModule mod_rewrite.c> 4 | RewriteEngine on 5 | #RewriteBase /; 6 | ## Begin - Rewrite rules to block out some common exploits. 7 | # Block out any script trying to base64_encode data within the URL. 8 | RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] 9 | # Block out any script that includes a <script> tag in URL. 10 | RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] 11 | # Block out any script trying to set a PHP GLOBALS variable via URL. 12 | RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] 13 | # Block out any script trying to modify a _REQUEST variable via URL. 14 | RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) 15 | # Return 403 Forbidden header and show the content of the root homepage 16 | RewriteRule .* index.php [F] 17 | # 18 | ## End - Rewrite rules to block out some common exploits. 19 | 20 | ## Begin 21 | # 22 | RewriteCond %{REQUEST_URI} !^/index\.php 23 | RewriteCond %{REQUEST_FILENAME} !-f 24 | RewriteCond %{REQUEST_FILENAME} !-d 25 | RewriteRule ^(.*)/(.*)/ index.php?file=$2 [L] 26 | # 27 | ## End 28 | </IfModule> 29 | 30 | <files ~ "\.(php|php.*|sphp|php3|php4|php5|phtml|cgi|pl|shtml|dhtml|html|htm|txt|dat)$"> 31 | deny from all 32 | </files> 33 | 34 | <files add.php> 35 | allow from all 36 | </files> 37 | 38 | <files index.php> 39 | allow from all 40 | </files> 41 | 42 | <files login.php> 43 | allow from all 44 | </files> 45 | 46 | <files debug.php> 47 | allow from all 48 | </files> 49 | 50 | <files proccess.php> 51 | allow from all 52 | </files> 53 | 54 | <files log.txt> 55 | deny from all 56 | </files> 57 | 58 | <files ~ "^\."> 59 | deny from all 60 | </files> 61 | -------------------------------------------------------------------------------- /hosts/filefox_cc.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filefox_cc extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://filefox.cc/profile", $cookie, ""); 9 | if (stristr($data, 'Premium account expires')) { 10 | return array(true, "Until " . $this->lib->cut_str($this->lib->cut_str($data, 'Premium account expires', '</div>'), '<a href="/premium">', '</a>')); 11 | } else if (stristr($data, 'Username / Email') && !stristr($data, 'Premium account expires')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("https://filefox.cc/login", "", "email={$user}&password={$pass}&op=login"); 21 | $cookie = $this->lib->GetCookies($data); 22 | return array(true, $cookie); 23 | } 24 | 25 | public function Leech($url) 26 | { 27 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 28 | if (!stristr($data, 'file-name') && !stristr($data, 'Download File')) { 29 | $this->error("dead", true, false, 2); 30 | } else { 31 | $post = $this->parseForm($this->lib->cut_str($data, 'name="F1">', '</form>')); 32 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 33 | if (preg_match('/<a class="btn btn-default" href="(.*?)">/', $data, $match)) { 34 | return trim($match[1]); 35 | } 36 | } 37 | 38 | return false; 39 | } 40 | } 41 | 42 | /* 43 | * Open Source Project 44 | * New Vinaget by LTT 45 | * Version: 3.3 LTS 46 | * Filefox.cc Download Plugin 47 | * Date: 30.05.2020 48 | */ 49 | -------------------------------------------------------------------------------- /hosts/fastshare_cz.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_fastshare_cz extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://fastshare.cz/user", "lang=en;{$cookie}", ""); 9 | preg_match('/<td class="data_cell">(\d+\.\d+) GB    /i', $data, $credit); 10 | if ($credit[1] == 0) { 11 | return array(false, "accfree"); 12 | } else if ($credit[1] > 0) { 13 | return array(true, "Credit " . $this->lib->cut_str($this->lib->cut_str($data, '>Credit', '>Direct download'), '<td class="data_cell">', '   ')); 14 | } else { 15 | return array(false, "accinvalid"); 16 | } 17 | 18 | } 19 | 20 | public function Login($user, $pass) 21 | { 22 | $data = $this->lib->curl("http://fastshare.cz/sql.php", "lang=en", "login={$user}&heslo={$pass}"); 23 | $cookie = "lang=en;{$this->lib->GetCookies($data)}"; 24 | 25 | return array(true, $cookie); 26 | } 27 | 28 | public function Leech($url) 29 | { 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if (stristr($data, '>The file has been deleted at request of its copyright owner.')) { 32 | $this->error("dead", true, false, 2); 33 | } elseif (!$this->isRedirect($data)) { 34 | if (preg_match('/href="(http:\/\/data\d+\.fastshare\.cz\/download\.php.+)">/i', $data, $giay)) { 35 | return trim($giay[1]); 36 | } 37 | 38 | } else { 39 | return trim($this->redirect); 40 | } 41 | 42 | return false; 43 | } 44 | 45 | } 46 | 47 | /* 48 | * Open Source Project 49 | * New Vinaget by LTT 50 | * Version: 3.3 LTS 51 | * Fastshare.cz Download Plugin 52 | * Date: 01.09.2018 53 | */ 54 | -------------------------------------------------------------------------------- /hosts/upfile_vn.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_upfile_vn extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://upfile.vn/user/", $cookie, ""); 9 | if (stristr($data, 'Quản lý tài khoản')) { 10 | return array(true, "accfree"); 11 | } else { 12 | return array(false, "accinvalid"); 13 | } 14 | 15 | } 16 | 17 | public function Login($user, $pass) 18 | { 19 | $data = $this->lib->curl("http://upfile.vn/", "", "Act=Login&Email=" . rawurlencode($user) . "&Password=" . strtoupper(hash('sha256', hash('sha256', 'UpFile.VN') . rawurlencode($pass)))); 20 | $cookie = $this->lib->GetCookies($data); 21 | 22 | return array(true, $cookie); 23 | } 24 | 25 | public function Leech($url) 26 | { 27 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 28 | 29 | if (stristr($data, 'RẤT TIẾC, FILE BẠN CẦN HIỆN KHÔNG')) { 30 | $this->error("dead", true, false, 2); 31 | } 32 | 33 | if (preg_match('/https?:\/\/upfile.vn\/(.*?)\/(.*)/', $url, $match)) { 34 | $idhash = strtoupper(hash('sha256', trim($match[1]) . '7891')); 35 | $data = $this->lib->curl($url, $this->lib->cookie, "Token={$idhash}", 0); 36 | 37 | if (empty($data)) { 38 | $this->error("dead", true, false, 2); 39 | } else { 40 | $json = json_decode(preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $data), true); 41 | return trim($json["Link"]); 42 | } 43 | } 44 | 45 | return false; 46 | } 47 | 48 | } 49 | 50 | /* 51 | * Open Source Project 52 | * New Vinaget by LTT 53 | * Version: 3.3 LTS 54 | * Upfile.vn Download Plugin 55 | * Date: 02.01.2019 56 | */ 57 | -------------------------------------------------------------------------------- /hosts/alfafile_net.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_alfafile_net extends Download 4 | { 5 | public function CheckAcc($cookie) 6 | { 7 | $data = $this->lib->curl("https://alfafile.net/user", "lang=en;{$cookie}", ""); 8 | 9 | if (stristr($data, "Premium, till")) { 10 | return array(true, "Premium Until: " . $this->lib->cut_str($data, "Premium, till", "</span>") . "<br/>Bandwidth available: " . $this->lib->cut_str($data, 'sp_bandwidth_used">', '</span')); 11 | } elseif (stristr($data, 'Free')) { 12 | return array(false, "accfree"); 13 | } 14 | 15 | return array(false, "accinvalid"); 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("https://alfafile.net/user/login/?url=%2F", "lang=en", "email=" . urlencode($user) . "&password=" . urlencode($pass) . "&remember_me=1"); 21 | 22 | if (stristr($data, "Invalid captcha")) { 23 | die("Captcha found. Wait 30 mins to login again"); 24 | } 25 | 26 | $cookie = "lang=en;" . $this->lib->GetCookies($data); 27 | 28 | return array(true, $cookie); 29 | } 30 | 31 | public function Leech($url) 32 | { 33 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 34 | 35 | if (stristr($data, "<strong>404</strong>")) { 36 | $this->error("dead", true, false, 2); 37 | } elseif (preg_match('/href="(https?:\/\/.+alfafile\.net\/dl\/.+)" class/i', $data, $link)) { 38 | return trim($link[1]); 39 | } elseif ($this->isRedirect($data)) { 40 | return trim($this->redirect); 41 | } 42 | 43 | return false; 44 | } 45 | } 46 | 47 | /* 48 | * Open Source Project 49 | * New Vinaget by LTT 50 | * Version: 3.3 51 | * Alfafile.net Download Plugin 52 | * Date: 19.11.2025 53 | */ 54 | -------------------------------------------------------------------------------- /hosts/hotlink_cc.php: -------------------------------------------------------------------------------- 1 | <?php 2 | class dl_hotlink_cc extends Download 3 | { 4 | public function CheckAcc($cookie) 5 | { 6 | $data = $this->lib->curl("https://hotlink.cc/?op=my_account", $cookie, "", 0); 7 | if (stristr($data, "Premium account expire")) { 8 | if (preg_match("/[0-9]+ Mb/", $data, $result)) { 9 | if ($result[0] != "0 Mb") { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'style="text-align:left;"><span class="acc_data">', '</span>') . "<br/> Traffic Available: " . $result[0]); 11 | } 12 | 13 | return array(false, "Our hotlink.cc account has reach bandwidth limit"); 14 | } 15 | 16 | return array(false, "accfree"); 17 | } 18 | 19 | return array(false, "accinvalid"); 20 | } 21 | 22 | public function Login($user, $pass) 23 | { 24 | $data = $this->lib->curl("https://hotlink.cc/", "", "op=login&login={$user}&password={$pass}", 1, 0, "https://hotlink.cc/login.html"); 25 | $cookie = $this->lib->GetCookies($data); 26 | return array(true, $cookie); 27 | } 28 | 29 | public function Leech($url) 30 | { 31 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 32 | $id = $this->lib->cut_str($data, '<input type="hidden" name="id" value="', '">'); 33 | $page = $this->lib->curl($url, $this->lib->cookie, "op=download2&id={$id}&method_premium=1"); 34 | if (stristr("You have reached the download-limit", $page)) { 35 | $this->error("LimitAcc", true, false); 36 | } elseif (stristr("ile was deleted by its own", $page)) { 37 | $this->error("Link dead.", true, false); 38 | } 39 | 40 | if (preg_match('/<a href="(.*?) class="files_list--active">/', $page, $match)) { 41 | return trim($match[1]); 42 | } 43 | 44 | return false; 45 | } 46 | } 47 | 48 | /* 49 | * Open Source Project 50 | * New Vinaget by LTT 51 | * Version: 3.3 LTS 52 | * Hotlink.cc Download Plugin 53 | * Date: 21.08.2020 54 | */ 55 | -------------------------------------------------------------------------------- /hosts/extmatrix_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_extmatrix_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://www.extmatrix.com/", $cookie, ""); 9 | if (stristr($data, '<b>Premium Member</b>')) { 10 | return array(true, "Until " . strip_tags($this->lib->cut_str($data, 'Premium End:</td>', '</td>'))); 11 | } else if (stristr($data, '<td>Free Member</td>')) { 12 | return array(false, "accfree"); 13 | } 14 | 15 | return array(false, "accinvalid"); 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("http://www.extmatrix.com/login.php", "", "user={$user}&pass={$pass}&submit=Login&task=dologin&return=http://www.extmatrix.com/members/myfiles.php"); 21 | $cookie = $this->lib->GetCookies($data); 22 | 23 | return array(true, $cookie); 24 | } 25 | 26 | public function Leech($url) 27 | { 28 | $data = $this->passRedirect($this->lib->curl($url, $this->lib->cookie, ""), $this->lib->cookie); 29 | if (stristr($data, 'An error occurred')) { 30 | $this->error("An error occurred. Please try again later.", true, false, 2); 31 | } elseif (stristr($data, 'The file you have requested does not exists.')) { 32 | $this->error("dead", true, false, 2); 33 | } elseif (!$this->isRedirect($data)) { 34 | if (preg_match('/<a id=\'jd_support\' href="(.*?)"><\/a>/', $data, $link)) { 35 | return trim($link[1]); 36 | } 37 | } else { 38 | return trim($this->redirect); 39 | } 40 | 41 | return false; 42 | } 43 | } 44 | 45 | /* 46 | * Open Source Project 47 | * New Vinaget by LTT 48 | * Version: 3.3 LTS 49 | * Extmatrix.com Download Plugin 50 | * Date: 31.10.2020 51 | */ 52 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | <?php 2 | /* 3 | * New Vinaget by LTT 4 | * Version: 3.3 LTS 5 | * Based on Vinaget 2.7.0 Final Revision 94 6 | * Description: 7 | - Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. 8 | - Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile... 9 | - You can now download files with full resume support from filehosts using download managers like IDM etc 10 | - Vinaget is a Free Open Source, supported by a growing community. 11 | * Code LeechViet by VinhNhaTrang 12 | * Developed by - ..:: [H] ::.. 13 | - [FZ] 14 | - LTT 15 | */ 16 | $using = isset($_COOKIE['using']) ? $_COOKIE['using'] : 'default'; 17 | $using = isset($_REQUEST['using']) ? $_REQUEST['using'] : $using; 18 | setcookie('using', $using); 19 | ob_start(); 20 | ob_implicit_flush(true); 21 | ignore_user_abort(0); 22 | if (!ini_get('safe_mode')) { 23 | set_time_limit(30); 24 | } 25 | 26 | define('vinaget', 'yes'); 27 | require_once 'class.php'; 28 | $obj = new stream_get(); 29 | $obj->using = $using; 30 | $obj->current_version = 94; 31 | $obj->ltt_version = file_get_contents("version.txt"); 32 | $obj->msg = false; 33 | if (!empty($_COOKIE['msg'])) { 34 | $obj->msg = htmlspecialchars($_COOKIE['msg']); 35 | } 36 | 37 | setcookie('msg', ''); 38 | $host = $obj->list_host; 39 | $skin = "skin/{$obj->skin}"; 40 | error_reporting($obj->display_error ? E_ALL : 0); 41 | if ($obj->Deny == false) { 42 | require_once "{$skin}/function.php"; 43 | if (isset($_POST['urllist'])) { 44 | $obj->main(); 45 | } elseif (isset($_GET['infosv'])) { 46 | showStat(); 47 | } elseif (!isset($_POST['urllist'])) { 48 | include "{$skin}/index.php"; 49 | } 50 | } else { 51 | include "{$skin}/login.php"; 52 | } 53 | 54 | ob_end_flush(); 55 | -------------------------------------------------------------------------------- /hosts/1fichier_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_1fichier_com extends Download 4 | { 5 | public function CheckAcc($cookie) 6 | { 7 | $data = $this->lib->curl("https://1fichier.com/console/abo.pl", $cookie, ""); 8 | if (stristr($data, "subscription is valid until")) { 9 | return array(true, "Until " . $this->lib->cut_str($data, '<span style="font-weight:bold">', '</span>')); 10 | } elseif (stristr($data, ">Identification")) { 11 | return array(false, "accinvalid"); 12 | } 13 | 14 | return array(false, "accfree"); 15 | } 16 | 17 | public function Login($user, $pass) 18 | { 19 | $data = $this->lib->curl("https://1fichier.com/login.pl", "", "mail={$user}&pass={$pass}<=on&Login=Login"); 20 | $cookie = $this->lib->GetCookies($data); 21 | 22 | return array(true, $cookie); 23 | } 24 | 25 | public function Leech($url) 26 | { 27 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 28 | if (stristr($data, 'Premium status must not be used on professional services')) { 29 | $this->error("blockIP", true, false); 30 | } elseif (stristr($data, "The requested file could not be found")) { 31 | $this->error("dead", true, false, 2); 32 | } elseif ($this->isRedirect($data)) { 33 | return trim($this->redirect); 34 | } elseif (preg_match('/<form[^>]+action="([^"]+)"/i', $data, $matches)) { 35 | $urlDownload = trim($matches[1]); 36 | $data = $this->lib->curl($urlDownload, $this->lib->cookie, "did=0"); 37 | if ($this->isRedirect($data)) { 38 | 39 | return trim($this->redirect); 40 | } 41 | } 42 | 43 | return false; 44 | } 45 | } 46 | 47 | /* 48 | * Open Source Project 49 | * New Vinaget by LTT 50 | * Version: 3.3 LTS 51 | * 1fichier.com Download Plugin 52 | * Date: 19.11.2025 53 | */ 54 | -------------------------------------------------------------------------------- /hosts/florenfile_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_florenfile_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://florenfile.com/?op=my_account", $cookie, ""); 9 | if (stristr($data, 'Premium account expire')) { 10 | return array(true, "Until " . strip_tags($this->lib->cut_str($data, 'Premium account expire<br>', '<a')) . "<br>Traffic left: " . strip_tags($this->lib->cut_str($data, 'Traffic available<br>', '</div>'))); 11 | } else if (stristr($data, 'My Account Settings') && !stristr($data, 'Premium account expire')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("https://florenfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=https://florenfile.com/"); 21 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 22 | return array(true, $cookie); 23 | } 24 | 25 | public function Leech($url) 26 | { 27 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 28 | if (stristr($data, '<h2>File Not Found</h2>')) { 29 | $this->error("dead", true, false, 2); 30 | } elseif ($this->isRedirect($data)) { 31 | return trim($this->redirect); 32 | } else { 33 | $post = $this->parseForm($this->lib->cut_str($data, '<form name="F1"', '</form>')); 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if ($this->isRedirect($data)) { 36 | return trim($this->redirect); 37 | } 38 | } 39 | 40 | return false; 41 | } 42 | } 43 | 44 | /* 45 | * Open Source Project 46 | * New Vinaget by LTT 47 | * Version: 3.3 LTS 48 | * Florenfile.com Download Plugin 49 | * Date: 30.05.2020 50 | */ 51 | -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 | <?php 2 | $config = array(); 3 | $config['secure'] = true; 4 | $config['password'] = "user1, user2, user3, user4"; 5 | $config['admin'] = "admin"; 6 | $config['homepage'] = "github.com/ltt2801/new-vinaget-script"; 7 | $config['download_prefix'] = "vinaget_"; 8 | $config['download_suffix'] = ""; 9 | $config['limitMBIP'] = 100 * 1024; 10 | $config['ttl'] = 6 * 60; 11 | $config['limitPERIP'] = 10; 12 | $config['ttl_ip'] = 1; 13 | $config['max_jobs_per_ip'] = 100; 14 | $config['max_jobs'] = 500; 15 | $config['max_load'] = 50; 16 | $config['max_size_default'] = 2048; 17 | $config['file_size_limit'] = 2048; 18 | $config['bbcode'] = true; 19 | $config['title'] = "[color=blue] download [/color]"; 20 | $config['colorfilename'] = "green"; 21 | $config['colorfilesize'] = "red"; 22 | $config['listfile'] = true; 23 | $config['checkacc'] = true; 24 | $config['showlinkdown'] = true; 25 | $config['showdirect'] = true; 26 | $config['redirectdl'] = false; 27 | $config['longurl'] = true; 28 | $config['privatefile'] = false; 29 | $config['privateip'] = false; 30 | $config['checklinksex'] = false; 31 | $config['badword'] = "porn, sex, hentai, xxx, jav"; 32 | $config['rename'] = true; 33 | $config['delete'] = true; 34 | $config['display_error'] = false; 35 | $config['adslink'] = false; 36 | $config['api_ads'] = ""; 37 | $config['tinyurl'] = false; 38 | $config['language'] = "english"; 39 | $config['skin'] = "default"; 40 | $config['display_error'] = false; 41 | $config['hide_plugins_col'] = false; 42 | $config['hide_preacc_col'] = false; 43 | $config['hide_number_acc'] = false; 44 | $config['del_checked_acc'] = true; 45 | $config['recaptcha_login'] = false; 46 | $config['show_func_cbox'] = false; 47 | 48 | $cbox_config = array(); 49 | $cbox_config['cbox_url'] = ""; 50 | $cbox_config['default_cbox_username'] = ""; 51 | $cbox_config['default_cbox_userkey'] = ""; 52 | 53 | $recaptcha_config = array(); 54 | $recaptcha_config['recaptcha_site_key'] = ""; 55 | $recaptcha_config['recaptcha_secret_key'] = ""; -------------------------------------------------------------------------------- /hosts/rghost_net.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_rghost_net extends Download 4 | { 5 | 6 | public function FreeLeech($url) 7 | { 8 | if (!stristr($url, "http://rghost.net")) { 9 | $ext = explode("/", $url); 10 | $url = "http://rghost.net/" . $ext[3]; 11 | } 12 | list($url, $pass) = $this->linkpassword($url); 13 | $data = $this->lib->curl($url, "", ""); 14 | $this->save($this->lib->GetCookies($data)); 15 | if ($pass) { 16 | if (!preg_match('%UTF-8" action="([^"]+)"%', $data, $urlp)) { 17 | $this->error("Error: Cannot get Pass Link", true, false, 2); 18 | } else { 19 | $urlgiay = 'http://rghost.net' . $urlp; 20 | } 21 | 22 | $post["utf8"] = "✓"; 23 | $post["authenticity_token"] = $this->lib->cut_str($data, 'authenticity_token" type="hidden" value="', '" />'); 24 | $post["password"] = $pass; 25 | $post["commit"] = "Get link"; 26 | $data = $this->lib->curl($urlgiay, $this->lib->cookie, $post); 27 | if (stristr($data, 'Incorrect password')) { 28 | $this->error("wrongpass", true, false, 2); 29 | } elseif (preg_match('@https?:\/\/rghost\.net\/download\/[^"\'><\r\n\t]+@i', $data, $giay)) { 30 | return trim($giay[0]); 31 | } 32 | 33 | } 34 | if (stristr($data, 'File is deleted.') || stristr($data, '<p>this page is not found</p>')) { 35 | $this->error("dead", true, false, 2); 36 | } elseif (stristr($data, 'password" name="password')) { 37 | $this->error("reportpass", true, false); 38 | } elseif (preg_match('@https?:\/\/rghost\.net\/download\/[^"\'><\r\n\t]+@i', $data, $giay)) { 39 | return trim($giay[0]); 40 | } 41 | 42 | return false; 43 | } 44 | 45 | } 46 | 47 | /* 48 | * Open Source Project 49 | * New Vinaget by LTT 50 | * Version: 3.3 LTS 51 | * Rghost.net Download Plugin 52 | * Date: 01.09.2018 53 | */ 54 | -------------------------------------------------------------------------------- /hosts/share-online_biz.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_share_online_biz extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://www.share-online.biz/user/profile", "page_language=english;" . $cookie, ""); 9 | $dt = $this->lib->cut_str($data, ">Account valid until:", ">Registration date"); 10 | if (stristr($data, 'Premium </p>') && stristr($dt, "<span class='red'>")) { 11 | return array(true, "Until " . $this->lib->cut_str($dt, "<span class='red'>", '</span>')); 12 | } elseif (stristr($data, 'Premium </p>') && stristr($dt, "<span class='green'>")) { 13 | return array(true, "Until " . $this->lib->cut_str($dt, "<span class='green'>", '</span>')); 14 | } else { 15 | return array(false, "accinvalid"); 16 | } 17 | 18 | } 19 | 20 | public function Login($user, $pass) 21 | { 22 | $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"); 23 | $cookie = "animations=1;newsscrl=1;page_language=english;{$this->lib->GetCookies($data)}"; 24 | 25 | return array(true, $cookie); 26 | } 27 | 28 | public function Leech($url) 29 | { 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | $this->save($this->lib->GetCookies($data)); 32 | if (stristr($data, 'The requested file is not available')) { 33 | $this->error("dead", true, false, 2); 34 | } elseif ($this->isRedirect($data)) { 35 | return trim($this->redirect); 36 | } elseif (preg_match('/var dl="(.*)";var file/', $data, $en64)) { 37 | $link = base64_decode($en64[1]); 38 | return trim($link); 39 | } 40 | return false; 41 | } 42 | 43 | } 44 | 45 | /* 46 | * Open Source Project 47 | * New Vinaget by LTT 48 | * Version: 3.3 LTS 49 | * Share-online.biz Download Plugin 50 | * Date: 02.12.2017 51 | */ 52 | -------------------------------------------------------------------------------- /hosts.php: -------------------------------------------------------------------------------- 1 | <?php 2 | $host = array(); 3 | $alias = array(); 4 | $alias['depositfiles.com']['dfiles.eu'] = true; 5 | $alias['depositfiles.com']['dfiles.ru'] = true; 6 | $alias['depositfiles.com']['depositfiles.net'] = true; 7 | $alias['depositfiles.com']['depositfiles.org'] = true; 8 | $alias['uploaded.net']['ul.to'] = true; 9 | $alias['uploaded.net']['uploaded.to'] = true; 10 | $alias['chiasenhac.vn']['chiasenhac.com'] = true; 11 | $alias['yunfile.com']['yfdisk.com'] = true; 12 | $alias['yunfile.com']['filemarkets.com'] = true; 13 | $alias['yunfile.com']['dfpan.com'] = true; 14 | $alias['k2s.cc']['keep2s.cc'] = true; 15 | $alias['k2s.cc']['keep2share.cc'] = true; 16 | $alias['rapidgator.net']['rg.to'] = true; 17 | $alias['depfile.us']['depfile.com'] = true; 18 | $alias['mega.nz']['mega.co.nz'] = true; 19 | $alias['4share.vn']['up.4share.vn'] = true; 20 | 21 | 22 | // general hosts 23 | $folderhost = opendir("hosts/"); 24 | 25 | while ($hostname = readdir($folderhost)) { 26 | if ($hostname == "." || $hostname == ".." || strpos($hostname, "bak")) { 27 | continue; 28 | } 29 | 30 | if (stripos($hostname, "php")) { 31 | $site = str_replace("_", ".", substr($hostname, 0, -4)); 32 | if (isset($alias[$site])) { 33 | foreach ($alias[$site] as $alias_host => $value) { 34 | $host[$alias_host] = array( 35 | 'alias' => true, 36 | 'site' => $site, 37 | 'file' => str_replace(".", "_", $site) . ".php", 38 | 'class' => "dl_" . str_replace(array(".", "-"), "_", $site), 39 | ); 40 | } 41 | } 42 | 43 | $host[$site] = array( 44 | 'alias' => false, 45 | 'site' => $site, 46 | 'file' => $hostname, 47 | 'class' => "dl_" . str_replace(array(".", "-"), "_", $site), 48 | ); 49 | } 50 | } 51 | 52 | closedir($folderhost); 53 | 54 | /* 55 | * Open Source Project 56 | * New Vinaget by LTT 57 | * Version: 3.3 LTS 58 | * Alias Hosts 59 | * Date: 08.09.2020 60 | */ 61 | -------------------------------------------------------------------------------- /hosts/filebox_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filebox_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://www.filebox.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire:')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, '<TR><TD>Premium account expire:</TD><TD><b>', '</b></TD><TD>')); 11 | } else if (stristr($data, 'New password') && !stristr($data, 'Premium account expire')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://www.filebox.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 30 | if (stristr($data, '<h2>This file is no longer available</h2>')) { 31 | $this->error("dead", true, false, 2); 32 | } elseif (!$this->isRedirect($data)) { 33 | $post = $this->parseForm($this->lib->cut_str($data, '<Form style=\'display:inline-block\'', '</form>')); 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | 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\' /></center>'), $giay)) { 36 | return trim($giay[0]); 37 | } 38 | 39 | } else { 40 | return trim($this->redirect); 41 | } 42 | 43 | return false; 44 | } 45 | 46 | } 47 | 48 | /* 49 | * Open Source Project 50 | * New Vinaget by LTT 51 | * Version: 3.3 LTS 52 | * Filebox.com Download Plugin 53 | * Date: 01.09.2018 54 | */ 55 | -------------------------------------------------------------------------------- /hosts/secretfile_net.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_secretfile_net extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://secretfile.net/?op=my_account", "{$cookie}", ""); 9 | if (stristr($data, 'Premium expiration')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, "Premium expiration</td>\n<td>", '</')."<br>Kota: ".$this->lib->cut_str($data, "Traffic available today</td>\n<td>", '<')); 11 | } else if (stristr($data, '>Upgrade to premium<')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | /* 19 | public function Login($user, $pass) 20 | { 21 | 22 | $data = $this->lib->curl("https://secretfile.net/", "", "login={$user}&password={$pass}&op=login"); 23 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 24 | return $cookie; 25 | } 26 | */ 27 | public function Leech($url) 28 | { 29 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 30 | if (stristr($data, 'type="password" name="password')) { 31 | $this->error("reportpass", true, false); 32 | } elseif (stristr($data, 'The file was deleted by its owner')) { 33 | $this->error("dead", true, false, 2); 34 | } elseif (!$this->isRedirect($data)) { 35 | $post = $this->parseForm($this->lib->cut_str($data, '<form name="F1"', '</form>')); 36 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 37 | 38 | if (preg_match('@https:\/\/(\w+\.)?secretfile.net\/cgi-bin\/dl.cgi\/[^"\'><\r\n\t]+@i', $data, $link)) { 39 | return trim($link[0]); 40 | } 41 | 42 | } else { 43 | return trim($this->redirect); 44 | } 45 | 46 | return false; 47 | } 48 | 49 | } 50 | 51 | /* 52 | * Open Source Project 53 | * Secretfile.net Download Plugin 54 | * Created By Jetleech [Jetleech.net] 55 | * Date: 10.20.2021 56 | */ -------------------------------------------------------------------------------- /skin/default/function.php: -------------------------------------------------------------------------------- 1 | <?php 2 | function showStat() 3 | { 4 | global $obj; 5 | echo "<div id='server_stats'>"; 6 | echo "<div class='notice'>{$obj->notice("notice")}</div>"; 7 | echo "<div>{$obj->notice("yourip")} {$_SERVER['REMOTE_ADDR']}. {$obj->notice("yourjob")} {$obj->notice("userjobs")}. {$obj->notice("youused")} {$obj->notice("used")}.</div>"; 8 | echo "<div>{$obj->notice("sizelimit")} {$obj->notice("maxsize")}. {$obj->notice("totjob")} {$obj->notice("totjobs")}. {$obj->notice("serverload")} {$obj->notice("maxload")}. {$obj->notice("uonline")} {$obj->notice("useronline")}.</div>"; 9 | echo "</div>"; 10 | } 11 | function showPlugin() 12 | { 13 | global $obj; 14 | foreach ($obj->acc as $host => $value) { 15 | $xout = array(''); 16 | $xout = $obj->acc[$host]['accounts']; 17 | $max_size = $obj->acc[$host]['max_size']; 18 | if (empty($xout[0]) == false && empty($host) == false) { 19 | if ($obj->hide_number_acc) { 20 | $hosts[] = '<span class="plugincollst">' . $host . '</span><br/>'; 21 | } else { 22 | $hosts[] = '<span class="plugincollst">' . $host . ' ' . count($xout) . '</span><br/>'; 23 | } 24 | } 25 | } 26 | if (isset($hosts)) { 27 | if (count($hosts) > 4) { 28 | for ($i = 0; $i < 5; $i++) { 29 | echo "$hosts[$i]"; 30 | } 31 | 32 | echo "<div id=showacc style='display: none;'>"; 33 | for ($i = 5; $i < count($hosts); $i++) { 34 | echo "$hosts[$i]"; 35 | } 36 | 37 | echo "</div>"; 38 | } else { 39 | for ($i = 0; $i < count($hosts); $i++) { 40 | echo "$hosts[$i]"; 41 | } 42 | } 43 | 44 | if (count($hosts) > 4) { 45 | echo "<a onclick=\"showOrHide();\" href=\"javascript:void(0)\" style='TEXT-DECORATION: none'><font color=#FF6600><div id='moreacc'>" . $obj->lang['moreacc'] . "</div></font></a>"; 46 | } 47 | 48 | } 49 | return false; 50 | } 51 | -------------------------------------------------------------------------------- /hosts/fileshark_pl.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_fileshark_pl extends Download 4 | { 5 | public function CheckAcc($cookie) 6 | { 7 | $data = $this->lib->curl("https://fileshark.pl/en/panel", $cookie, "", 0, 0, 0, 0, [':authority:' => "fileshark.pl"]); 8 | if (stristr($data, '<strong>Premium')) { 9 | return array(true, "Until " . $this->lib->cut_str($data, '">(till ', ')</span>') . "<br>Traffic used: " . strip_tags($this->lib->cut_str($data, "Downloaded today</p>", "</div>"))); 10 | } else if (stristr($data, '<p class="type-account">')) { 11 | return array(false, "accfree"); 12 | } else { 13 | return array(false, "accinvalid"); 14 | } 15 | } 16 | 17 | public function Login($user, $pass) 18 | { 19 | $data = $this->lib->curl("https://fileshark.pl/en/zaloguj", "", ""); 20 | $cook = $this->lib->GetCookies($data); 21 | $post = $this->parseForm($this->lib->cut_str($data, '<form action="/login_check"', '</form>')); 22 | $post['_username'] = $user; 23 | $post['_password'] = $pass; 24 | $data = $this->lib->curl("https://fileshark.pl/login_check", $cook, $post); 25 | $cookie = "hl=en; {$this->lib->GetCookies($data)}"; 26 | return array(true, $cookie); 27 | } 28 | 29 | public function Leech($url) 30 | { 31 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 32 | if (stristr($data, '404 Nie znaleziono strony') || stristr($data, 'Nie znaleziono pliku w serwisie.')) { 33 | $this->error("dead", true, false, 2); 34 | } elseif ($this->isRedirect($data)) { 35 | return trim($this->redirect); 36 | } elseif (preg_match('/<a href="(.*?)" class="btn-upload-premium"/', $data, $match)) { 37 | $data = $this->lib->curl("https://fileshark.pl" . trim($match[1]), $this->lib->cookie, ""); 38 | if ($this->isRedirect($data)) return trim($this->redirect); 39 | } 40 | 41 | return false; 42 | } 43 | } 44 | 45 | /* 46 | * Open Source Project 47 | * New Vinaget by LTT 48 | * Version: 3.3 LTS 49 | * Fileshark.pl Download Plugin 50 | * Date: 10.05.2020 51 | */ 52 | -------------------------------------------------------------------------------- /hosts/depfile_us.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_depfile_us extends Download 4 | { 5 | public function CheckAcc($cookie) 6 | { 7 | $data = $this->lib->curl("https://depfile.us/", "sdlanguageid=2;{$cookie}", ""); 8 | 9 | if (stristr($data, "premium'>")) { 10 | $data2 = $this->lib->curl("https://depfile.us/Fg8cR98jOrK", "sdlanguageid=2;{$cookie}", ""); 11 | 12 | if (stristr($data2, "class='notice'>")) { 13 | return array(true, "Until " . $this->lib->cut_str($data, "premium'>", '<img') . "<br />" . $this->lib->cut_str($data2, "class='notice'>", "</p>")); 14 | } 15 | 16 | return array(true, "Until " . $this->lib->cut_str($data, "premium'>", '<img')); 17 | } 18 | 19 | return array(false, "accinvalid"); 20 | } 21 | 22 | public function Login($user, $pass) 23 | { 24 | $data = $this->lib->curl("https://depfile.us/", "sdlanguageid=2", "login=login&loginemail={$user}&loginpassword={$pass}&submit=login&rememberme=1"); 25 | $cookie = $this->lib->GetCookies($data); 26 | 27 | return array(true, $cookie); 28 | } 29 | 30 | public function Leech($url) 31 | { 32 | if (!stristr($url, "https")) { 33 | $url = str_replace('http', 'https', $url); 34 | } 35 | 36 | $data = $this->lib->curl($url, "sdlanguageid=2;{$this->lib->cookie}", ""); 37 | 38 | if (stristr($data, "class='notice'>")) { 39 | $this->error("LimitAcc", true, false, 2); 40 | } 41 | 42 | if (stristr($data, 'Page Not Found!') || stristr($data, 'File was not found in the') || stristr($data, 'Provided link contains errors')) { 43 | $this->error("dead", true, false, 2); 44 | } elseif (stristr($data, '<th>Download:</th>')) { 45 | $t = $this->lib->cut_str($data, "<th>Download:</th>", "</td>"); 46 | 47 | if (preg_match("/<a href='(.*?)'>/", $t, $match)) { 48 | return trim($match[1]); 49 | } 50 | 51 | } 52 | 53 | return false; 54 | } 55 | } 56 | 57 | /* 58 | * Open Source Project 59 | * New Vinaget by LTT 60 | * Version: 3.3 LTS 61 | * Depfile.us Download Plugin 62 | * Date: 31.10.2017 63 | */ 64 | -------------------------------------------------------------------------------- /hosts/sendspace_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_sendspace_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://www.sendspace.com/mysendspace/myindex.html", "{$cookie}", ""); 9 | if (stristr($data, 'account needs to be renewed')) { 10 | 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>')); 11 | } else if (stristr($data, 'http://www.sendspace.com/login.html?logout=1') && !stristr($data, 'account needs to be renewed')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://www.sendspace.com/login.html", "", "remember=on&action=login&submit=login&username={$user}&password={$pass}"); 22 | $cookie = $this->lib->GetCookies($data); 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post['filepassword'] = $pass; 33 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 34 | return trim($this->lib->cut_str($data, 'id="download_button" href="', '" onclick=')); 35 | } 36 | if (stristr($data, "Sorry, the file you requested is not available.")) { 37 | $this->error("dead", true, false, 2); 38 | } elseif (stristr($data, "This file has been password protected")) { 39 | $this->error("reportpass", true, false); 40 | } elseif (!$this->isRedirect($data)) { 41 | return trim($this->lib->cut_str($data, 'id="download_button" href="', '" onclick=')); 42 | } else { 43 | return trim($this->redirect); 44 | } 45 | 46 | return false; 47 | } 48 | 49 | } 50 | 51 | /* 52 | * Open Source Project 53 | * New Vinaget by LTT 54 | * Version: 3.3 LTS 55 | * Sendspace.com Download Plugin 56 | * Date: 01.09.2018 57 | */ 58 | -------------------------------------------------------------------------------- /hosts/4share_vn.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_4share_vn extends Download 4 | { 5 | public function CheckAcc($cookie) 6 | { 7 | $data = $this->lib->curl('https://4share.vn/member', $cookie, ''); 8 | 9 | if (stristr($data, 'còn <b>0</b> ngày sử dụng')) { 10 | return array(true, 'accfree'); 11 | } elseif (stristr($data, '>Ngày hết hạn: <')) { 12 | return array(true, 'Until ' . $this->lib->cut_str($data, 'Ngày hết hạn: <b>', '</b> (còn') . '<br/> Traffic available: ' . $this->lib->cut_str($data, 'download <strong>', '</strong>') . ' of ' . $this->lib->cut_str($data, '/Tổng số: <strong>', '</strong>')); 13 | } 14 | 15 | return array(false, 'accinvalid'); 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("https://4share.vn/a_p_i/public-common/login", "", "username={$user}&password={$pass}"); 21 | $cookie = $this->lib->GetCookies($data); 22 | 23 | return array(true, $cookie); 24 | } 25 | 26 | public function Leech($link) 27 | { 28 | list($url, $pass) = $this->linkpassword($link); 29 | $page = $this->lib->curl($link, $this->lib->cookie, ''); 30 | 31 | if ($pass) { 32 | $page = $this->lib->curl($url, $this->lib->cookie, "password_download_input={$pass}"); 33 | } 34 | 35 | if (stristr($page, 'Bạn đợi ít phút để download file này!')) { 36 | $this->error('Bạn đợi ít phút để download file này!', true, false); 37 | } elseif (stristr($page, 'File is deleted?') || stristr($page, 'File không tồn tại?')) { 38 | $this->error('File is deleted? (' . $this->lib->cut_str($page, 'File is deleted? (', ')<') . ')', true, false, 2); 39 | } elseif (stristr($page, "File này có password, bạn nãy nhập password để download")) { 40 | $this->error("reportpass", true, false); 41 | } elseif (preg_match('@https?:\/\/sv\d+\.4share\.vn\/\d+\/\?info=[^\'\r\n]+@i', $page, $dlink)) { 42 | return trim($dlink[0]); 43 | } 44 | 45 | $this->lib->save_cookies($this->site, ''); 46 | 47 | return false; 48 | } 49 | } 50 | 51 | /* 52 | * Open Source Project 53 | * New Vinaget by LTT 54 | * Version: 3.3 LTS 55 | * 4share.vn Download Plugin 56 | * Date: 31.10.2017 57 | */ 58 | -------------------------------------------------------------------------------- /hosts/hitfile_net.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_hitfile_net extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://app.hitfile.net/api/user/info", $cookie, "", 0); 9 | $json = json_decode($data, true); 10 | 11 | if (isset($json['premium']['status'])) { 12 | if ($json['premium']['status'] === 'active' && isset($json['premium']['expiredAt'])) { 13 | return array(true, "Until " . $json['premium']['expiredAt']); 14 | } elseif ($json['premium']['status'] === 'inactive') { 15 | return array(false, "accfree"); 16 | } 17 | } 18 | 19 | return array(false, "accinvalid"); 20 | } 21 | 22 | public function Login($user, $pass) 23 | { 24 | $data = $this->lib->curl("https://app.hitfile.net/api/auth/login", "user_lang=en", "email=" . urlencode($user) . "&password=" . urlencode($pass) . "&captcha=true"); 25 | $cookie = "user_lang=en;" . $this->lib->GetCookies($data); 26 | return array(true, $cookie); 27 | } 28 | 29 | public function Leech($link) 30 | { 31 | if (preg_match('/hitfile\.net\/([a-zA-Z0-9]+)/', $link, $match)) { 32 | $fileId = $match[1]; 33 | $jsonRequest = json_encode(array( 34 | "fileId" => $fileId, 35 | "referrer" => null, 36 | "site" => null 37 | )); 38 | 39 | $data = $this->lib->curl("https://app.hitfile.net/api/download/info", $this->lib->cookie, $jsonRequest, 0, 1); 40 | $json = json_decode($data, true); 41 | 42 | if (isset($json['error_name']) && $json['error_name'] === 'file_is_not_available_for_download') { 43 | $this->error("dead", true, false, 2); 44 | } elseif (isset($json['downloadUrls']) && is_array($json['downloadUrls']) && count($json['downloadUrls']) > 0) { 45 | return trim($json['downloadUrls'][0]); 46 | } elseif (isset($json['error'])) { 47 | $this->error("dead", true, false, 2); 48 | } 49 | } 50 | 51 | return false; 52 | } 53 | } 54 | 55 | /* 56 | * Open Source Project 57 | * New Vinaget by LTT 58 | * Version: 3.3 LTS 59 | * Hitfile.net Download Plugin 60 | * Date: 19.11.2025 61 | */ 62 | -------------------------------------------------------------------------------- /hosts/yunfile_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_yunfile_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://www.yunfile.com/user/edit.html", "language=en_us;{$cookie}", ""); 9 | if (stristr($data, 'premium-pack') && stristr($data, 'bottom ">Yes')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, '(Expire:', ')')); 11 | } else if (stristr($data, 'premium-pack')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://www.yunfile.com/view", "language=en_us", "module=member&action=validateLogin&username={$user}&password={$pass}&remember=1"); 22 | $cookie = "language=en_us;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | //$url = preg_replace("@https?:\/\/(yfdisk|filemarkets|yunfile)\.com@", "http://page2.yunfile.com", $url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | //$link = $this->lib->cut_str($this->lib->cut_str($data, '<td class ="down_url_table_td">', 'onclick=\'setCookie'), '<a href="', '"'); 32 | if (preg_match('@http:\/\/dl\d+\..+\.com\/downfile\/[^"\'><\r\n\t]+@i', $data, $link)) { 33 | if (preg_match('/setCookie\(\'(.*?)\', \'(.*?)\'/', $data, $cook)) { 34 | if (strpos($this->lib->cookie, "vid1=")) { 35 | $this->lib->cookie = preg_replace("/vid1=(.*?);/i", "vid1=$cook[2]; ", $this->lib->cookie); 36 | } else { 37 | $this->lib->cookie .= "$cook[1]=$cook[2]; "; 38 | } 39 | } 40 | 41 | //$this->lib->cookie .= 'validCodeUrl="page2.dfpan.com:8880"'; 42 | //die($this->lib->cookie); 43 | //$data = $this->lib->curl(trim($link[0]), $this->lib->cookie, "", 1, 0, $url); 44 | return trim($link[0]); 45 | } 46 | return false; 47 | } 48 | 49 | } 50 | 51 | /* 52 | * Open Source Project 53 | * New Vinaget by LTT 54 | * Version: 3.3 LTS 55 | * Yunfile.com Download Plugin 56 | * Date: 25.01.2018 57 | */ 58 | -------------------------------------------------------------------------------- /hosts/filer_net.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filer_net extends Download 4 | { 5 | public function CheckAcc($cookie) 6 | { 7 | $data = $this->lib->curl('https://filer.net/profile', $cookie, ''); 8 | if (strstr($data, 'Account status') && stristr($data, '<th>Traffic</th>')) { 9 | return array(true, 'Until ' . $this->lib->cut_str($data, 'valid until ', '.') . '<br>Traffic left: ' . strip_tags($this->lib->cut_str($data, '<th>Traffic</th>', '</tr>'))); 10 | } elseif (strstr($data, 'Account status')) { 11 | return array(true, 'accfree'); 12 | } 13 | return array(false, 'accinvalid'); 14 | } 15 | 16 | public function Login($user, $pass) 17 | { 18 | $data = $this->lib->curl("https://filer.net/locale/en", "", ""); 19 | $cook = $this->lib->GetCookies($data); 20 | $data = $this->lib->curl("https://filer.net/login", $cook, ""); 21 | $post = $this->parseForm($this->lib->cut_str($data, '<form action="/login_check"', '</form>')); 22 | $post['_username'] = $user; 23 | $post['_password'] = $pass; 24 | $data = $this->lib->curl("https://filer.net/login_check", $cook, $post); 25 | $cookie = $this->lib->GetCookies($data); 26 | return array(true, $cookie); 27 | } 28 | 29 | public function Leech($link) 30 | { 31 | $data = $this->lib->curl($link, $this->lib->cookie, ""); 32 | if (stristr($data, 'Datei nicht mehr vorhanden')) { 33 | $this->error("dead", true, false, 2); 34 | } elseif (preg_match('/href="(.*?)">Get download<\/a>/', $data, $match)) { 35 | $data = $this->lib->curl("https://filer.net" . trim($match[1]), $this->lib->cookie, ""); 36 | if ($this->isRedirect($data)) { 37 | return $this->redirect; 38 | } 39 | } else { 40 | $data = $this->passRedirect($data, $this->lib->cookie, "", "https://filer.net"); 41 | if (preg_match('/<a href="(.*?)">/', $data, $match)) { 42 | return trim($match[1]); 43 | } elseif ($this->isRedirect($data)) { 44 | return $this->redirect; 45 | } 46 | } 47 | 48 | return false; 49 | } 50 | } 51 | 52 | /* 53 | * Open Source Project 54 | * New Vinaget by LTT 55 | * Filer.net Download Plugin 56 | * Date: 25.06.2020 57 | */ 58 | -------------------------------------------------------------------------------- /hosts/novafile_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_novafile_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://novafile.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expires:')) { 10 | $checkbw = $this->lib->curl("https://novafile.com/?op=my_account", "lang=english;{$cookie}", ""); 11 | 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>')); 12 | } elseif (stristr($data, 'FREE - member')) { 13 | return array(false, "accfree"); 14 | } else { 15 | return array(false, "accinvalid"); 16 | } 17 | 18 | } 19 | 20 | public function Login($user, $pass) 21 | { 22 | $data = $this->lib->curl("https://novafile.com/login", "lang=english", "login={$user}&password={$pass}&op=login&rand=&redirect="); 23 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 24 | 25 | return array(true, $cookie); 26 | } 27 | 28 | public function Leech($url) 29 | { 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if (stristr($data, '>File Not Found<')) { 32 | $this->error("dead", true, false, 2); 33 | } elseif (stristr($data, "different IP")) { 34 | $this->error("blockIP", true, false); 35 | } else { 36 | $post = $this->parseForm($this->lib->cut_str($data, '<form action="', '</form>')); 37 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 38 | //if(stristr($data,'You have reached the download limit')) $this->error("LimitAcc", true, false); 39 | if (preg_match('@You have reached the download limit: (\d+) (T|G|M|K)B@i', $data, $limit)) { 40 | $this->error($limit[0], true, false); 41 | } else { 42 | return trim($this->lib->cut_str($data, '<p><a href="', '" class="btn btn-green')); 43 | } 44 | 45 | } 46 | return false; 47 | } 48 | 49 | } 50 | 51 | /* 52 | * Open Source Project 53 | * New Vinaget by LTT 54 | * Version: 3.3 LTS 55 | * Novafile.com Download Plugin 56 | * Date: 15.11.2017 57 | */ 58 | -------------------------------------------------------------------------------- /hosts/filespace_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filespace_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://www.filespace.com/?op=my_account", $cookie, ""); 9 | if (stristr($data, 'Premium account expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, '<TD><b>', '</b>')); 11 | } else if (stristr($data, 'Account status') && !stristr($data, 'Premium account expire')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://filespace.com/?op=login&login={$user}&password={$pass}&redirect=%2F", "lang=english", ""); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if (stristr($data, '>File not found.<')) { 32 | $this->error("dead", true, false, 2); 33 | } elseif (!$this->isRedirect($data)) { 34 | $page = $this->lib->cut_str($data, '<div style="text-align:center;width:728px;">', '<div id="planlinks" width="100%"'); 35 | preg_match('%input type="hidden" name="rand2" value="(.*?)%U', $page, $rand2); 36 | $post = $this->parseForm($page, '<Form name="F1"', '<div id="captcha">'); 37 | $post['rand2'] = $rand2[1]; 38 | if ($pass) { 39 | $post['password'] = $pass; 40 | } elseif (stristr($page, "bold;\">Password:<")) { 41 | $this->error("reportpass", true, false); 42 | } 43 | 44 | $data = $this->lib->curl($url . '?accounttype=premium', $this->lib->cookie, $post); 45 | if ($this->isRedirect($data)) { 46 | return trim($this->redirect); 47 | } 48 | 49 | } else { 50 | return trim($this->redirect); 51 | } 52 | 53 | return false; 54 | } 55 | 56 | } 57 | 58 | /* 59 | * Open Source Project 60 | * New Vinaget by LTT 61 | * Version: 3.3 LTS 62 | * Filespace.com Download Plugin 63 | * Date: 01.09.2018 64 | */ 65 | -------------------------------------------------------------------------------- /add.php: -------------------------------------------------------------------------------- 1 | <?php 2 | error_reporting(E_ALL); 3 | define('vinaget', 'yes'); 4 | include "class.php"; 5 | function check_account($host, $account) 6 | { 7 | global $obj; 8 | if (empty($obj->acc[$host]['accounts'])) { 9 | return false; 10 | } 11 | 12 | foreach ($obj->acc[$host]['accounts'] as $value) { 13 | if ($account == $value) { 14 | return true; 15 | } 16 | } 17 | 18 | return false; 19 | } 20 | 21 | if (!empty($_POST["accounts"])) { 22 | $obj = new stream_get(); 23 | $type = $_POST['type']; 24 | $_POST["accounts"] = str_replace(" ", "", $_POST["accounts"]); 25 | $account = trim($_POST['accounts']); 26 | $donate = false; 27 | if (check_account($type, $account)) { 28 | die("false duplicate"); 29 | } 30 | 31 | require_once 'hosts/' . $obj->list_host[$type]['file']; 32 | $download = new $obj->list_host[$type]['class']($obj, $type); 33 | if ($download->lib->acc[$download->site]['proxy'] != "") { 34 | $download->lib->proxy = $download->lib->acc[$download->site]['proxy']; 35 | } 36 | 37 | if (method_exists($download, "CheckAcc")) { 38 | if (strpos($account, ":")) { 39 | list($user, $pass) = explode(':', $account); 40 | $cook = $download->Login($user, $pass); 41 | $cookie = $cook[1]; 42 | } else { 43 | $cookie = $account; 44 | } 45 | 46 | $status = $download->CheckAcc($cookie); 47 | if ($status[0]) { 48 | echo "true"; 49 | $update = true; 50 | if (empty($obj->acc[$type])) { 51 | $obj->acc[$type]['max_size'] = $obj->max_size_default; 52 | $obj->acc[$type]['proxy'] = ""; 53 | $obj->acc[$type]['direct'] = false; 54 | } 55 | $obj->acc[$type]['accounts'][] = $account; 56 | $download->save($cookie); 57 | } else { 58 | echo "false {$status[1]}"; 59 | $update = false; 60 | } 61 | } else { 62 | echo "false plugin fail"; 63 | $update = false; 64 | } 65 | ################################## save account ############################################################################# 66 | if ($update == true && is_array($obj->acc) && count($obj->acc) > 0) { 67 | $obj->save_json($obj->fileaccount, $obj->acc); 68 | } 69 | ################################## save account ############################################################################# 70 | 71 | } -------------------------------------------------------------------------------- /hosts/nitroflare_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_nitroflare_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | preg_match('/user=(.*?); pass=(.*?);/U', $cookie, $match); 9 | list($user, $pass) = array($match[1], $match[2]); 10 | 11 | $data = $this->lib->curl("https://nitroflare.com/api/v2/getKeyInfo?user={$user}&premiumKey={$pass}", "", "", 0); 12 | $json = json_decode($data, true); 13 | if ($json['type'] == 'success') { 14 | if ($json['result']['expiryDate'] && $json['result']['trafficLeft']) { 15 | return array(true, "Until " . $json['result']['expiryDate'] . "<br>Bandwidth Left: " . $this->lib->convertmb($json['result']['trafficLeft']) . " / " . $this->lib->convertmb($json['result']['trafficMax'])); 16 | } 17 | return array(false, "accfree"); 18 | } 19 | return array(false, "accinvalid"); 20 | } 21 | 22 | public function Login($user, $pass) 23 | { 24 | $cookie = "user={$user}; pass={$pass}"; 25 | return array(true, $cookie); 26 | } 27 | 28 | public function Leech($url) 29 | { 30 | preg_match('/user=(.*?); pass=(.*?);/', $this->lib->cookie, $match); 31 | list($user, $pass) = array($match[1], $match[2]); 32 | 33 | preg_match('/view\/(.*?)\//', $url, $match); 34 | $fileCode = trim($match[1]); 35 | 36 | $data = $this->lib->curl("https://nitroflare.com/api/v2/getDownloadLink?user={$user}&premiumKey={$pass}&file={$fileCode}", "", "", 0); 37 | $json = json_decode($data, true); 38 | 39 | if ($json['type'] == 'error') { 40 | if (stristr($json['message'], "File doesn't exist")) { 41 | $this->error("dead", true, false, 2); 42 | } elseif (stristr($json['message'], "Captcha required")) { 43 | $this->error("Nitroflare Captcha found. Please bypass captcha first -> <a target=\"blank\" href=\"https://nitroflare.com/api/v2/solveCaptcha?user={$user}\">Click here</a>", true, false); 44 | } elseif (stristr($json['message'], "limit")) { 45 | $this->error("LimitAcc", true, false, 2); 46 | } 47 | } elseif (isset($json['result']['url'])) { 48 | return $json['result']['url']; 49 | } 50 | 51 | return false; 52 | } 53 | } 54 | 55 | /* 56 | * Open Source Project 57 | * New Vinaget by LTT 58 | * Version: 3.3 LTS 59 | * Nitroflare.com Download Plugin 60 | * Date: 21.08.2020 61 | */ 62 | -------------------------------------------------------------------------------- /hosts/filesmonster_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filesmonster_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://filesmonster.com/", "yab_ulang=en;" . $cookie, ""); 9 | 10 | if (stristr($data, 'Your membership type: <strong>Premium')) { 11 | return array(true, "Until " . $this->lib->cut_str($data, "<p>Valid until: <span class='em-success'>", "</span></p>")); 12 | } elseif (stristr($data, "text-danger'>Premium expired:")) { 13 | return array(false, "Account Expired!"); 14 | } elseif (stristr($data, 'Your membership type: <strong>Regular')) { 15 | return array(false, "accfree"); 16 | } else { 17 | return array(false, "accinvalid"); 18 | } 19 | 20 | } 21 | 22 | public function Login($user, $pass) 23 | { 24 | $data = $this->lib->curl("https://filesmonster.com/login.php", "yab_ulang=en", "act=login&user={$user}&pass={$pass}&captcha_shown=0&login=Login"); 25 | $cookie = "yab_ulang=en;" . $this->lib->GetCookies($data); 26 | 27 | return array(true, $cookie); 28 | } 29 | 30 | public function Leech($url) 31 | { 32 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 33 | 34 | if (stristr($data, 'File not found') || stristr($data, '<h1 class="block_header">The link could not be decoded</h1>')) { 35 | $this->error("dead", true, false, 2); 36 | } elseif (stristr($data, 'Today you have already downloaded')) { 37 | $this->error("LimitAcc", true, false); 38 | } elseif (preg_match('/href="(https?:\/\/filesmonster\.com\/get\/.*?)" class="premium-button"/', $data, $data1)) { 39 | $data2 = $this->lib->curl($data1[1], $this->lib->cookie, ""); 40 | if (preg_match('/get_link\("([^"\'><\r\n\t]+)"\)/', $data2, $data3)) { 41 | $data4 = $this->lib->curl("https://filesmonster.com" . $data3[1], $this->lib->cookie, ""); 42 | if (preg_match('%url":"(https?:.+fmdepo.net.+)"%U', $data4, $giay)) { 43 | $giay = str_replace('\\', '', $giay[1]); 44 | $giay = str_replace("https", "http", $giay); 45 | return trim($giay); 46 | } 47 | } 48 | } 49 | return false; 50 | } 51 | 52 | } 53 | 54 | /* 55 | * Open Source Project 56 | * New Vinaget by LTT 57 | * Version: 3.3 LTS 58 | * Filesmonster.com Download Plugin 59 | * Date: 01.09.2018 60 | */ 61 | -------------------------------------------------------------------------------- /hosts/icerbox_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_icerbox_com extends Download 4 | { 5 | public function CheckAcc($cookie) 6 | { 7 | // Using Cookie: Inspect Local Storage at Homepage to get Bearer Token 8 | $token = $this->lib->cut_str($cookie, 'token=', ';'); 9 | $data = $this->lib->curl("https://icerbox.com/api/v1/user/account", "", "", 0, 1, 0, 0, array("Authorization: Bearer {$token}")); 10 | $json = json_decode($data, true); 11 | if (isset($json['data']['has_premium'])) { 12 | if ($json['data']['has_premium'] == true) { 13 | return array(true, "Duration: " . $json['data']['package']['duration'] . " days left<br/>Daily Limit: " . $this->lib->convertmb($json['data']['package']['volume']) . "<br/>Bandwidth Left: " . $this->lib->convertmb($json['data']['package']['bandwidth'])); 14 | } 15 | 16 | return array(false, "accfree"); 17 | } 18 | 19 | return array(false, "accinvalid"); 20 | } 21 | 22 | public function Login($user, $pass) 23 | { 24 | $data = $this->lib->curl("https://icerbox.com/api/v1/auth/login", "", '{"email": "' . $user . '", "password": "' . $pass . '"}', 0); 25 | if (stristr($data, 'status_code":429')) { 26 | $this->error("Captcha icerbox found when login account. Please try again later", false, false); 27 | return array(false, ""); 28 | } elseif (preg_match('/"token":"(.*?)"/', $data, $match)) { 29 | return array(true, "token=" . trim($match[1]) . ';'); 30 | } 31 | 32 | return array(false, ""); 33 | } 34 | 35 | public function Leech($url) 36 | { 37 | $token = $this->lib->cut_str($this->lib->cookie, 'token=', ';'); 38 | if (preg_match('#^https?://icerbox.com/(folder/)?([\w\d]+)/?(.*)$#', $url, $match)) { 39 | $id = trim($match[2]); 40 | $data = $this->lib->curl("https://icerbox.com/api/v1/dl/ticket", "", '{"file": "' . $id . '"}', 0, 1, 0, 0, array("Authorization: Bearer {$token}")); 41 | $json = json_decode($data, true); 42 | if (isset($json['status_code'])) { 43 | $this->error("dead", true, false, 2); 44 | } elseif (isset($json['url'])) { 45 | return trim($json['url']); 46 | } 47 | } 48 | 49 | return false; 50 | } 51 | } 52 | 53 | /* 54 | * Open Source Project 55 | * New Vinaget by LTT 56 | * Version: 3.3 LTS 57 | * Icerbox.com Download Plugin 58 | * Date: 18.06.2019 59 | */ 60 | -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | <?php 2 | ob_start(); 3 | if (!ini_get('safe_mode')) { 4 | set_time_limit(60); 5 | } 6 | error_reporting(0); 7 | ignore_user_abort(true); 8 | date_default_timezone_set('Asia/Jakarta'); 9 | $cfg = json_decode(file_get_contents("data/config.dat"), true); 10 | $data = $cfg['config']; 11 | $recaptcha_config = $cfg['recaptcha_config']; 12 | if ($_GET['go'] == 'logout') { 13 | setcookie("secureid", "owner", time()); 14 | } else { 15 | if ($data['recaptcha_login']) { 16 | if (isset($_POST['g-recaptcha-response'])){ 17 | $captcha = $_POST['g-recaptcha-response']; 18 | } 19 | $url = 'https://www.google.com/recaptcha/api/siteverify?secret=' . urlencode($recaptcha_config['recaptcha_secret_key']) . '&response=' . urlencode($captcha); 20 | $response = file_get_contents($url); 21 | $responseKeys = json_decode($response, true); 22 | if (!$responseKeys["success"]) { 23 | die("<script>alert(\"You have to check the captcha form !\"); history.go(-1)</script>"); 24 | } 25 | } 26 | 27 | $login = false; 28 | $password = explode(", ", $data['password']); 29 | $password[] = $data['admin']; 30 | foreach ($password as $login_vng) { 31 | if ($_POST['secure'] == $login_vng) { 32 | #----------------------------------------------- 33 | $file = "data/log.txt"; // Rename *.txt 34 | $date = date('H:i:s Y-m-d'); 35 | $entry = sprintf("Passlogin=%s\n", $_POST["secure"]); 36 | $entry .= sprintf("IP: " . $_SERVER['REMOTE_ADDR'] . " | Date: $date\n"); 37 | $entry .= sprintf("------------------------------------------------------------------------\n"); 38 | $handle = fopen($file, "a+") 39 | or die('<CENTER><font color=red size=3>could not open file! Try to chmod the file "<B>' . $file . '</B>" to 666</font></CENTER>'); 40 | fwrite($handle, $entry) 41 | or die('<CENTER><font color=red size=3>could not write file! Try to chmod the file "<B>' . $file . '</B>" to 666</font></CENTER>'); 42 | fclose($handle); 43 | #----------------------------------------------- 44 | setcookie("secureid", md5($login_vng), time() + 3600 * 24 * 7); 45 | $login = true; 46 | } 47 | } 48 | 49 | if ($login == false) { 50 | die("<script>alert(\"Wrong password !\"); history.go(-1)</script>"); 51 | } 52 | 53 | } 54 | 55 | header("location:index.php"); 56 | ob_end_flush(); 57 | -------------------------------------------------------------------------------- /hosts/filestoragepro_net.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filestoragepro_net extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("http://filestoragepro.net/en/members.php", "mfh_mylang=en;" . $cookie, ""); 9 | if (stristr($data, 'http://filestoragepro.net/index.php?logout=1')) { 10 | return array(true, "accpremium"); 11 | } else { 12 | return array(false, "accinvalid"); 13 | } 14 | 15 | } 16 | 17 | public function Login($user, $pass) 18 | { 19 | $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="); 20 | $cookie = "mfh_mylang=en;" . $this->lib->GetCookies($data); 21 | 22 | return array(true, $cookie); 23 | } 24 | 25 | public function Leech($url) 26 | { 27 | list($url, $pass) = $this->linkpassword($url); 28 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 29 | if (stristr($data, "That file has been deleted.")) { 30 | $this->error("dead", true, false, 2); 31 | } 32 | 33 | if ($pass) { 34 | $post["downloadverify"] = "1"; 35 | $post["d"] = "1"; 36 | $post["downloadpw"] = $pass; 37 | $post["Update"] = "Submit"; 38 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 39 | if (stristr($data, 'Password Error')) { 40 | $this->error("wrongpass", true, false, 2); 41 | } elseif (preg_match('@https?:\/\/filestoragepro\.net\/getfile\.php\?id=\d+\&a=[^"\'><\r\n\t]+@i', $data, $giay)) { 42 | return trim($giay[0]); 43 | } 44 | 45 | } 46 | if (stristr($data, 'name="downloadpw')) { 47 | $this->error("reportpass", true, false); 48 | } elseif (!$this->isRedirect($data)) { 49 | $post["downloadverify"] = "1"; 50 | $post["d"] = "1"; 51 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 52 | if (preg_match('@https?:\/\/filestoragepro\.net\/getfile\.php\?id=\d+\&a=[^"\'><\r\n\t]+@i', $data, $giay)) { 53 | return trim($giay[0]); 54 | } 55 | 56 | } else { 57 | return trim($this->redirect); 58 | } 59 | 60 | return false; 61 | } 62 | 63 | } 64 | 65 | /* 66 | * Open Source Project 67 | * New Vinaget by LTT 68 | * Version: 3.3 LTS 69 | * Filestoragepro.com Download Plugin 70 | * Date: 01.09.2018 71 | */ 72 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | *** CAUTION: From v25, file config.dat has been changed because of new config menu, please re-create it (including chmod 666 file) or clone new vinaget *** 2 | New Vinaget Script 3.3 LTS - Developed by LTT 3 | Worked with PHP 7. Required: php-curl, php-mbstring, php-mcrypt, mod_rewrite (apache) 4 | Referer from: https://github.com/giaythuytinh176/vinaget-script 5 | Contact email for request plugin updates [attach premium hosting account (if any)]: lethanhtuan2897@gmail.com 6 | 7 | ###################################### 8 | How to use: 9 | CHMOD the folder "data" to 777 10 | CHMOD file "data/account.dat" to 666. 11 | CHMOD file "data/config.dat" to 666. 12 | CHMOD file "data/cookie.dat" to 666. 13 | CHMOD file "data/online.dat" to 666. 14 | CHMOD file "data/log.txt" to 666. 15 | CHMOD file "data/datafile_descrypt.html" to 666. 16 | Password default: admin 17 | ###################################### 18 | 19 | Home page: http://vinaget.us 20 | Version: VinaGet 2.7.0 Final 21 | 22 | Description: 23 | Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed. 24 | Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, bitshare.com , hotfile... 25 | You can now download files with full resume support from filehosts using download managers like IDM etc 26 | Vinaget is a Free Open Source, supported by a growing community. 27 | Code LeechViet by VinhNhaTrang 28 | Developed by ..:: [H] ::.., [FZ] 29 | 30 | Basic Features: 31 | Admin Panel 32 | Proxy Support 33 | Easy to get multi link and make list in one go. 34 | Fast download speed with vinaget script. 35 | Support downloads from more than 30 filehost 36 | Use Rewrite URL 37 | Make plugin independent of release (easy fix and update plugin) 38 | enable/disable all user can see list files. 39 | enable/disable other people can see your file in the list files 40 | enable/disable other people can download your file. 41 | enable/disable all user can use check account. 42 | enable/disable show link for cbox 43 | enable/disable check link 3x,porn... 44 | Multi password login 45 | Limit file size 46 | link checker 47 | 3x, porn checker 48 | Account checker 49 | Donate Account 50 | Account Management 51 | Cookie Management 52 | Limit load file for 1 IP 53 | Limit file per mins 54 | Limit load file per time 55 | Auto del file per time 56 | Max total jobs in this host 57 | Max server load (linux) 58 | -------------------------------------------------------------------------------- /hosts/uploadgig_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_uploadgig_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://uploadgig.com/user/my_account", "{$cookie}", ""); 9 | if (stristr($data, '<dt>Premium download:</dt>') && stristr($data, '<dd class="text-success">Active</dd>')) { 10 | return array(true, "Until " . strip_tags($this->lib->cut_str($data, '<dt>Package expire date:</dt>', '<span')) . "<br/>Bandwidth Left: " . strip_tags($this->lib->cut_str($data, '<dt>Daily traffic usage:</dt>', '<span'))); 11 | } elseif (stristr($data, '<dt>Premium download:</dt>')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("https://uploadgig.com/login/form", "", ""); 21 | $cook = $this->lib->GetCookies($data); 22 | if (preg_match('/<input type="hidden" name="csrf_tester" value="(.*?)"/', $data, $match)) { 23 | $csrf_tester = $match[1]; 24 | } 25 | 26 | $data = $this->lib->curl("https://uploadgig.com/login/do_login", $cook, "csrf_tester={$csrf_tester}&email={$user}&pass={$pass}&rememberme=1"); 27 | if (stristr($data, '"state":"3"')) { 28 | $this->error("Uploadgig.com: " . $this->lib->cut_str($data, '"msg":"', '"}'), true, true); 29 | } 30 | $cookie = preg_replace('/(firewall=.*?; )/', '', $this->lib->GetCookies($data)); 31 | 32 | return array(true, $cookie); 33 | } 34 | 35 | public function Leech($url) 36 | { 37 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 38 | if (stristr($data, '<h2>File not found</h2>')) { 39 | $this->error("dead", true, false, 2); 40 | } elseif (stristr($data, 'bandwidth')) { 41 | $this->error("LimitAcc"); 42 | } elseif ($this->isRedirect($data)) { 43 | preg_match('/(https?:\/\/[^\/]+)\//i', $this->redirect, $matches); 44 | $domain = $matches[1]; 45 | $data = $this->passRedirect($data, $this->lib->cookie, ""); 46 | if (preg_match("/window.location.href = '(.*?)'/", $data, $match)) { 47 | return $domain . trim($match[1]); 48 | } 49 | return $this->redirect; 50 | } 51 | 52 | return false; 53 | } 54 | } 55 | 56 | /* 57 | * Open Source Project 58 | * New Vinaget by LTT 59 | * Version: 3.3 LTS 60 | * Uploadgig.com Download Plugin 61 | * Date: 12.06.2020 62 | */ 63 | -------------------------------------------------------------------------------- /hosts/chomikuj_pl.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_chomikuj_pl extends Download 4 | { 5 | public function CheckAcc($cookie) 6 | { 7 | $data = $this->lib->curl("http://chomikuj.pl/", $cookie, ""); 8 | if (stristr($data, '<div style="margin-top:2px;margin-bottom:5px;">')) { 9 | return array(true, "Traffic left: " . $this->lib->cut_str($data, 'title="Transfer" rel="nofollow"><strong>', '</strong>')); 10 | } else if (stristr($data, 'id="topbarTransfer"')) { 11 | return array(false, "accfree"); 12 | } else { 13 | return array(false, "accinvalid"); 14 | } 15 | } 16 | 17 | public function Login($user, $pass) 18 | { 19 | $data = $this->lib->curl("http://chomikuj.pl/", "", ""); 20 | $cook = $this->lib->GetCookies($data); 21 | $post = $this->parseForm($this->lib->cut_str($data, '<form action=""', '</form>')); 22 | $post['Login'] = $user; 23 | $post['Password'] = $pass; 24 | $data = $this->lib->curl("http://chomikuj.pl/action/Login/TopBarLogin", $cook, $post); 25 | $cookie = $this->lib->GetCookies($data) . $cook; 26 | $cookie = $this->lib->TrimCookies($cookie, ["ChomikSession", "RememberMe"]); 27 | return array(true, $cookie); 28 | } 29 | 30 | public function Leech($url) 31 | { 32 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 33 | if (stristr($data, '<h2 class="marked">Nie znaleziono</h2>')) { 34 | $this->error("dead", true, false, 2); 35 | } else { 36 | $cookie = $this->lib->GetCookies($data); 37 | $post = $this->parseForm($this->lib->cut_str($data, '<div id="content">', '</form>')); 38 | $data = $this->lib->curl("http://chomikuj.pl/action/License/DownloadContext", $this->lib->cookie . $cookie, $post, 0); 39 | $json = @json_decode($data, true); 40 | if (isset($json['Content'])) { 41 | $post2 = $this->parseForm($json['Content']); 42 | $post2 = array_merge($post2, $post); 43 | $data = $this->lib->curl("http://chomikuj.pl/action/License/DownloadWarningAccept", $this->lib->cookie . $cookie, $post2, 0); 44 | $json = @json_decode($data, true); 45 | if (isset($json['redirectUrl'])) { 46 | return trim($json['redirectUrl']); 47 | } 48 | } 49 | } 50 | 51 | return false; 52 | } 53 | } 54 | 55 | /* 56 | * Open Source Project 57 | * New Vinaget by LTT 58 | * Version: 3.3 LTS 59 | * Chomikuj.pl Download Plugin 60 | * Date: 14.05.2020 61 | */ 62 | -------------------------------------------------------------------------------- /hosts/filenext_com.php: -------------------------------------------------------------------------------- 1 | <?php 2 | 3 | class dl_filenext_com extends Download 4 | { 5 | 6 | public function CheckAcc($cookie) 7 | { 8 | $data = $this->lib->curl("https://www.filenext.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, '<TD>Premium account expire</TD>')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, '<TD>Premium account expire</TD><TD><b>', '</b>')); 11 | } else if (stristr($data, '<TD>My affiliate link</TD>') && !stristr($data, '<TD>Premium account expire</TD>')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("https://www.filenext.com/", "lang=english", "op=login&login={$user}&password={$pass}&redirect=https://www.filenext.com/?op=my_files"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</form>')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } else if ($this->isRedirect($data)) { 38 | return trim($this->redirect); 39 | } 40 | 41 | } 42 | if (stristr($data, 'type="password" name="password')) { 43 | $this->error("reportpass", true, false); 44 | } elseif (stristr($data, '<b>File Not Found</b>') || stristr($data, '<Title>File Not Found')) { 45 | $this->error("dead", true, false, 2); 46 | } elseif (!$this->isRedirect($data)) { 47 | $post = $this->parseForm($this->lib->cut_str($data, '
    ')); 48 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 49 | if ($this->isRedirect($data)) { 50 | return trim($this->redirect); 51 | } 52 | 53 | } else { 54 | return trim($this->redirect); 55 | } 56 | 57 | return false; 58 | } 59 | } 60 | 61 | /* 62 | * Open Source Project 63 | * New Vinaget by LTT 64 | * Version: 3.3 LTS 65 | * Filenext.com Download Plugin 66 | * Date: 01.09.2018 67 | */ 68 | -------------------------------------------------------------------------------- /hosts/spicyfile_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://spicyfile.com/?op=payments", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire:
    ')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire:
    ', '

    ')); 11 | } else if (stristr($data, 'Upgrade to premium')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://spicyfile.com/login.html", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://spicyfile.com/"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (preg_match('@https?:\/\/(\w+\.)?spicyfile\.com(:\d+)?\/files\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) { 38 | return trim($giay[0]); 39 | } 40 | 41 | } 42 | if (stristr($data, 'type="password" name="password')) { 43 | $this->error("reportpass", true, false); 44 | } elseif (stristr($data, 'The file was deleted by its owner')) { 45 | $this->error("dead", true, false, 2); 46 | } elseif (!$this->isRedirect($data)) { 47 | $post = $this->parseForm($this->lib->cut_str($data, '')); 48 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 49 | if (preg_match('@https?:\/\/(\w+\.)?spicyfile\.com(:\d+)?\/files\/\d+\/[^"\'><\r\n\t]+@i', $data, $giay)) { 50 | return trim($giay[0]); 51 | } 52 | 53 | } else { 54 | return trim($this->redirect); 55 | } 56 | 57 | return false; 58 | } 59 | 60 | } 61 | 62 | /* 63 | * Open Source Project 64 | * New Vinaget by LTT 65 | * Version: 3.3 LTS 66 | * Spicyfile.com Download Plugin 67 | * Date: 01.09.2018 68 | */ 69 | -------------------------------------------------------------------------------- /hosts/wipfiles_net.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://wipfiles.net/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire:')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire:', '')); 11 | } else if (stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://wipfiles.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://wipfiles.net/"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (preg_match('@https?:\/\/(\w+\.)?wipfiles\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) { 38 | return trim($giay[0]); 39 | } 40 | 41 | } 42 | if (stristr($data, 'type="password" name="password')) { 43 | $this->error("reportpass", true, false); 44 | } elseif (stristr($data, 'The file was deleted by its owner')) { 45 | $this->error("dead", true, false, 2); 46 | } elseif (!$this->isRedirect($data)) { 47 | $post = $this->parseForm($this->lib->cut_str($data, '')); 48 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 49 | if (preg_match('@https?:\/\/(\w+\.)?wipfiles\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) { 50 | return trim($giay[0]); 51 | } 52 | 53 | } else { 54 | return trim($this->redirect); 55 | } 56 | 57 | return false; 58 | } 59 | 60 | } 61 | 62 | /* 63 | * Open Source Project 64 | * New Vinaget by LTT 65 | * Version: 3.3 LTS 66 | * Wipfiles.net Download Plugin 67 | * Date: 01.09.2018 68 | */ 69 | -------------------------------------------------------------------------------- /hosts/rapidgator_net.php: -------------------------------------------------------------------------------- 1 | lib->cut_str($cookie, "session_id=", ";"); 8 | 9 | $data = $this->lib->curl("https://rapidgator.net/api/user/info?sid=" . $session_id, "", "", 0); 10 | $json = json_decode($data, true); 11 | 12 | if ($json['response_status'] == "401") { 13 | return array(false, "accinvalid"); 14 | } else { 15 | if (isset($json["response"]["expire_date"]) && isset($json["response"]["traffic_left"])) { 16 | $str = ""; 17 | 18 | if ($json["response"]["expire_date"] > 0) { 19 | $str .= "Until " . date("Y-m-d", $json["response"]["expire_date"]); 20 | } else { 21 | $str .= "No time expired"; 22 | } 23 | 24 | if ($json["response"]["traffic_left"] > 0) { 25 | $str .= "
    Bandwidth left: " . $this->lib->convertmb($json["response"]["traffic_left"]); 26 | } else { 27 | $str .= "
    No traffic left"; 28 | } 29 | 30 | return array(true, $str); 31 | } else { 32 | return array(false, "accfree"); 33 | } 34 | } 35 | } 36 | 37 | public function Login($user, $pass) 38 | { 39 | $data = $this->lib->curl("https://rapidgator.net/api/user/login?username=" . urlencode($user) . "&password=" . urlencode($pass), "", "", 0); 40 | $json = json_decode($data, true); 41 | $session_id = $json["response"]["session_id"]; 42 | $cookie = "session_id={$session_id};"; 43 | 44 | return array(true, $cookie); 45 | } 46 | 47 | public function Leech($url) 48 | { 49 | $session_id = $this->lib->cut_str($this->lib->cookie, "session_id=", ";"); 50 | 51 | $data = $this->lib->curl("https://rapidgator.net/api/file/download?sid=" . $session_id . "&url=" . urlencode($url), "", "", 0); 52 | $json = json_decode($data, true); 53 | 54 | if ($json["response_status"] == "404") { 55 | $this->error("dead", true, false, 2); 56 | } 57 | 58 | if ($json["response_status"] == "401") { 59 | $this->error("LimitAcc"); 60 | } 61 | 62 | if ($json["response_status"] == "200" && isset($json["response"]["url"])) { 63 | return trim($json["response"]["url"]); 64 | } 65 | 66 | return false; 67 | } 68 | } 69 | 70 | /* 71 | * Open Source Project 72 | * New Vinaget by LTT 73 | * Version: 3.3 LTS 74 | * Rapidgator.net Download Plugin 75 | * Date: 04.10.2017 76 | */ 77 | -------------------------------------------------------------------------------- /hosts/tenlua_vn.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://api.tenlua.vn/?sid=" . $cookie2, '', '[{"a":"user_info"}]', 0); 12 | if ($data == "-500") { 13 | return array(false, "accinvalid"); 14 | } else { 15 | $json = json_decode($data, true); 16 | if ($json[0]['utype'] <= 2) { 17 | return array(false, "accfree"); 18 | } else { 19 | return array(true, "Ngày hết hạn GOLD: " . $json[0]['endGold']); 20 | } 21 | 22 | } 23 | } 24 | 25 | public function Login($user, $pass) 26 | { 27 | $data = $this->lib->curl('http://api.tenlua.vn/', '', '[{"a":"user_login","user":"' . $user . '","password":"' . $pass . '","permanent":false}]', 0); 28 | $cookie = json_decode($data, true); 29 | $cookie = " " . $cookie[0]; 30 | 31 | return array(true, $cookie); 32 | } 33 | 34 | public function Leech($url) 35 | { 36 | $gach = explode('/', $url); 37 | $ze = explode('-', $gach[3]); 38 | $id = $ze[count($ze, COUNT_RECURSIVE) - 1]; 39 | if ($id == "download") { 40 | $id = $gach[4]; 41 | } 42 | 43 | $seqno = mt_rand(); 44 | $cookie2 = trim($this->lib->cookie); 45 | $cookie2 = str_replace("=", "", $cookie2); 46 | $cookie2 = str_replace(";", "", $cookie2); 47 | $data = $this->lib->curl('http://api.tenlua.vn/?sid=' . $cookie2, '', '[{"a":"filemanager_builddownload_getinfo","n":"' . $id . '","r":' . $seqno . '}]', 0); 48 | $content = json_decode($data, true); 49 | if (isset($content[0]["reqlink"])) { 50 | return false; 51 | } elseif ($content[0]["type"] == "none") { 52 | $this->error("dead", true, false, 2); 53 | } elseif ($content[0]["type"] == "folder") { 54 | $this->error("Not Support Folder Link", true, false, 2); 55 | } else { 56 | $link = $content[0]["dlink"]; 57 | $data = $this->lib->curl($link, "", ""); 58 | if ($this->isredirect($data)) { 59 | return trim($this->redirect); 60 | } else { 61 | $this->error("Can Not Stream This Link", true, false, 2); 62 | } 63 | 64 | } 65 | return false; 66 | } 67 | 68 | } 69 | 70 | /* 71 | * Open Source Project 72 | * New Vinaget by LTT 73 | * Version: 3.3 LTS 74 | * Tenlua.vn Download Plugin 75 | * Date: 01.09.2018 76 | */ 77 | -------------------------------------------------------------------------------- /hosts/rarefile_net.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://www.rarefile.net/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire:', '')); 11 | } else if (stristr($data, 'New password') && !stristr($data, 'Premium account expire')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://www.rarefile.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.rarefile.net/"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (preg_match('@https?:\/\/(\w+\.)?rarefiles\.net(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) { 38 | return trim($giay[0]); 39 | } 40 | 41 | } 42 | if (stristr($data, 'type="password" name="password')) { 43 | $this->error("reportpass", true, false); 44 | } elseif (stristr($data, 'The file was deleted by its owner')) { 45 | $this->error("dead", true, false, 2); 46 | } elseif (!$this->isRedirect($data)) { 47 | $post = $this->parseForm($this->lib->cut_str($data, '')); 48 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 49 | if (preg_match('@https?:\/\/(\w+\.)?rarefiles\.net(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[^"\'><\r\n\t]+@i', $data, $giay)) { 50 | return trim($giay[0]); 51 | } 52 | 53 | } else { 54 | return trim($this->redirect); 55 | } 56 | 57 | return false; 58 | } 59 | 60 | } 61 | 62 | /* 63 | * Open Source Project 64 | * New Vinaget by LTT 65 | * Version: 3.3 LTS 66 | * Rarefile.net Download Plugin 67 | * Date: 01.09.2018 68 | */ 69 | -------------------------------------------------------------------------------- /hosts/lumfile_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://lumfile.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire:')) { 10 | return array(true, "Until " . $this->lib->cut_str($this->lib->cut_str($data, 'Premium account expire:', '', '')); 11 | } elseif (stristr($data, 'Upgrade Now')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://lumfile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://lumfile.com/"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (preg_match('@https?:\/\/\w+\.lumfile\.(.*)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) { 38 | return trim($giay[0]); 39 | } 40 | 41 | } 42 | if (stristr($data, 'type="password" name="password')) { 43 | $this->error("reportpass", true, false); 44 | } elseif (stristr($data, 'The file was deleted by its owner') || stristr($data, 'File not found')) { 45 | $this->error("dead", true, false, 2); 46 | } elseif (!$this->isRedirect($data)) { 47 | $post = $this->parseForm($this->lib->cut_str($data, '')); 48 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 49 | if (preg_match('@https?:\/\/\w+\.lumfile\.(.*)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) { 50 | return trim($giay[0]); 51 | } 52 | 53 | } else { 54 | return trim($this->redirect); 55 | } 56 | 57 | return false; 58 | } 59 | 60 | } 61 | 62 | /* 63 | * Open Source Project 64 | * New Vinaget by LTT 65 | * Version: 3.3 LTS 66 | * Lumfile.com Download Plugin 67 | * Date: 01.09.2018 68 | */ 69 | -------------------------------------------------------------------------------- /hosts/file_al.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://file.al/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire', '')); 11 | } else if (stristr($data, 'My affiliate link') && !stristr($data, 'Premium account expire')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("https://file.al/login.html", "lang=english", "op=login&login={$user}&password={$pass}&redirect=https://file.al/login.html"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } else if ($this->isRedirect($data)) { 38 | return trim($this->redirect); 39 | } 40 | 41 | } 42 | if (stristr($data, 'type="password" name="password')) { 43 | $this->error("reportpass", true, false); 44 | } elseif (stristr($data, 'File Not Found') || stristr($data, 'File Not Found')) { 45 | $this->error("dead", true, false, 2); 46 | } elseif (!$this->isRedirect($data)) { 47 | $post = $this->parseForm($this->lib->cut_str($data, '')); 48 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 49 | if ($this->isRedirect($data)) { 50 | return trim($this->redirect); 51 | } 52 | 53 | if (preg_match('/Click here to download<\/a>/i', $data, $match)) { 54 | return $match[1]; 55 | } 56 | 57 | } else { 58 | return trim($this->redirect); 59 | } 60 | 61 | return false; 62 | } 63 | } 64 | 65 | /* 66 | * Open Source Project 67 | * New Vinaget by LTT 68 | * Version: 3.3 LTS 69 | * File.al Download Plugin 70 | * Date: 01.09.2018 71 | */ 72 | -------------------------------------------------------------------------------- /hosts/katfile_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://katfile.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium Pro account expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium Pro account expire', '')); 11 | } elseif (stristr($data, 'Premium account expire')) { 12 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire', '')); 13 | } elseif (stristr($data, 'My affiliate link')) { 14 | return array(false, "accfree"); 15 | } else { 16 | return array(false, "accinvalid"); 17 | } 18 | } 19 | 20 | public function Login($user, $pass) 21 | { 22 | $data = $this->lib->curl("https://katfile.com/", "lang=english", "op=login&login={$user}&password={$pass}&redirect="); 23 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (preg_match('@https?:\/\/www\d+\.katfile.com\/d\/[^\'\"\s\t<>\r\n]+@i', $data, $link)) { 38 | return trim(str_replace('https', 'http', $link[0])); 39 | } 40 | } 41 | if (stristr($data, 'type="password" name="password')) { 42 | $this->error("reportpass", true, false); 43 | } elseif (stristr($data, 'File Not Found')) { 44 | $this->error("dead", true, false, 2); 45 | } elseif (stristr($data, 'Your IP is blacklisted')) { 46 | $this->error("blockIP", true, false, 2); 47 | } elseif (stristr($data, 'reached the download-limit')) { 48 | $this->error($this->lib->cut_str($data, '
    ', '
    '), true, false, 2); 49 | } elseif (!$this->isRedirect($data)) { 50 | $this->error("Please enable direct download in katfile account", true, false, 2); 51 | } else { 52 | return $this->redirect; 53 | } 54 | 55 | return false; 56 | } 57 | } 58 | 59 | /* 60 | * Open Source Project 61 | * New Vinaget by LTT 62 | * Version: 3.3 LTS 63 | * Katfile.com Download Plugin 64 | * Date: 31.01.2025 65 | */ -------------------------------------------------------------------------------- /hosts/katfile_cloud.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://katfile.cloud/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium Pro account expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium Pro account expire', '')); 11 | } elseif (stristr($data, 'Premium account expire')) { 12 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire', '')); 13 | } elseif (stristr($data, 'My affiliate link')) { 14 | return array(false, "accfree"); 15 | } else { 16 | return array(false, "accinvalid"); 17 | } 18 | } 19 | 20 | public function Login($user, $pass) 21 | { 22 | $data = $this->lib->curl("https://katfile.cloud/", "lang=english", "op=login&login={$user}&password={$pass}&redirect="); 23 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (preg_match('@https?:\/\/www\d+\.katfile.cloud\/d\/[^\'\"\s\t<>\r\n]+@i', $data, $link)) { 38 | return trim(str_replace('https', 'http', $link[0])); 39 | } 40 | } 41 | if (stristr($data, 'type="password" name="password')) { 42 | $this->error("reportpass", true, false); 43 | } elseif (stristr($data, 'File Not Found')) { 44 | $this->error("dead", true, false, 2); 45 | } elseif (stristr($data, 'Your IP is blacklisted')) { 46 | $this->error("blockIP", true, false, 2); 47 | } elseif (stristr($data, 'reached the download-limit')) { 48 | $this->error($this->lib->cut_str($data, '
    ', '
    '), true, false, 2); 49 | } elseif (!$this->isRedirect($data)) { 50 | $this->error("Please enable direct download in katfile account", true, false, 2); 51 | } else { 52 | return $this->redirect; 53 | } 54 | 55 | return false; 56 | } 57 | } 58 | 59 | /* 60 | * Open Source Project 61 | * New Vinaget by LTT 62 | * Version: 3.3 LTS 63 | * Katfile.cloud Download Plugin 64 | * Date: 11.09.2025 65 | */ -------------------------------------------------------------------------------- /hosts/subyshare_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://subyshare.com/account/profile", $cookie, ""); 9 | if (stristr($data, 'PREMIUM User') && stristr($data, 'Expiration date')) { 10 | return array(true, "Until " . $this->lib->cut_str($this->lib->cut_str($data, 'Expiration date', '
    '), 'class="form-control-static">', '

    ') . "
    Traffic: " . $this->lib->cut_str($this->lib->cut_str($data, 'Traffic', ''), 'class="form-control-static">', '

    ')); 11 | } else if (stristr($data, 'REGISTERED User')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("https://subyshare.com/", "lang=english", "op=login&login={$user}&password={$pass}"); 22 | if (stristr($data, 'Your IP is banned')) { 23 | die('Your IP is banned, cannot login'); 24 | } 25 | 26 | $cookie = "lang=english; {$this->lib->GetCookies($data)}"; 27 | 28 | return array(true, $cookie); 29 | } 30 | 31 | public function Leech($url) 32 | { 33 | list($url, $pass) = $this->linkpassword($url); 34 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 35 | if ($pass) { 36 | $post = $this->parseForm($this->lib->cut_str($data, '')); 37 | $post["password"] = $pass; 38 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 39 | if (stristr($data, 'Wrong password')) { 40 | $this->error("wrongpass", true, false, 2); 41 | } elseif ($this->isRedirect($data)) { 42 | return trim($this->redirect); 43 | } 44 | 45 | } 46 | if (stristr($data, 'File Not Found') || stristr($data, '

    The file you\'re looking for is not here

    ')) { 47 | $this->error("dead", true, false, 2); 48 | } elseif (stristr($data, 'Password: isRedirect($data)) { 51 | $post = $this->parseForm($this->lib->cut_str($data, '')); 52 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 53 | if ($this->isRedirect($data)) { 54 | return trim($this->redirect); 55 | } 56 | 57 | } else { 58 | return trim($this->redirect); 59 | } 60 | 61 | return false; 62 | } 63 | 64 | } 65 | 66 | /* 67 | * Open Source Project 68 | * New Vinaget by LTT 69 | * Version: 3.3 LTS 70 | * Subyshare.com Download Plugin 71 | * Date: 15.11.2017 72 | */ 73 | -------------------------------------------------------------------------------- /hosts/rapidfileshare_net.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://www.rapidfileshare.net/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire:')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire:', '')); 11 | } else if (stristr($data, 'My affiliate link') && !stristr($data, 'Premium account expire:')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://www.rapidfileshare.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.rapidfileshare.net/"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (!preg_match('@https?:\/\/(\w+\.)?rapidfileshare\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) { 38 | $this->error("notfound", true, false, 2); 39 | } else { 40 | return trim($giay[0]); 41 | } 42 | 43 | } 44 | if (stristr($data, 'type="password" name="password')) { 45 | $this->error("reportpass", true, false); 46 | } elseif (stristr($data, 'The file was deleted by its owner')) { 47 | $this->error("dead", true, false, 2); 48 | } elseif (!$this->isRedirect($data)) { 49 | $post = $this->parseForm($this->lib->cut_str($data, '')); 50 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 51 | if (!preg_match('@https?:\/\/(\w+\.)?rapidfileshare\.net(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $giay)) { 52 | $this->error("notfound", true, false, 2); 53 | } else { 54 | return trim($giay[0]); 55 | } 56 | 57 | } else { 58 | return trim($this->redirect); 59 | } 60 | 61 | return false; 62 | } 63 | 64 | } 65 | 66 | /* 67 | * Open Source Project 68 | * New Vinaget by LTT 69 | * Version: 3.3 LTS 70 | * Rapifileshare.net Download Plugin 71 | * Date: 01.09.2018 72 | */ 73 | -------------------------------------------------------------------------------- /hosts/k2s_cc.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://keep2share.cc/api/v2/accountInfo", "", "{{$cookie}}", 0); 9 | $json = @json_decode($data, true); 10 | if (isset($json["account_expires"]) && !$json["account_expires"]) { 11 | return array(true, "accfree"); 12 | } elseif (isset($json["available_traffic"])) { 13 | return array(true, "Until " . $this->lib->convert_time($json["account_expires"] - time()) . "
    Traffic Left Today: " . $this->lib->convertmb($json["available_traffic"])); 14 | } 15 | 16 | return array(false, "accinvalid"); 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $post = array( 22 | "username" => $user, 23 | "password" => $pass, 24 | "re_captcha_challenge" => isset($_REQUEST["recaptcha_challenge_field"]) ? $_REQUEST["recaptcha_challenge_field"] : "", 25 | "re_captcha_response" => isset($_REQUEST["recaptcha_response_field"]) ? $_REQUEST["recaptcha_response_field"] : "", 26 | ); 27 | 28 | $data = $this->lib->curl("https://keep2share.cc/api/v2/login", "", json_encode($post), 0); 29 | if (preg_match('/"message":"(.*?)"/', $data, $mess)) { 30 | if (stristr($mess[1], "captcha")) { 31 | $data = $this->lib->curl("https://keep2share.cc/api/v2/requestReCaptcha", "", "true=false", 0); 32 | $json = @json_decode($data, true); 33 | $this->error("captcha url code '{$json['challenge']}' url '{$json['captcha_url']}'", true, true); 34 | } 35 | $this->error($mess[1], true, true); 36 | } 37 | 38 | $cookie = ""; 39 | if (preg_match("/\"auth_token\":\"(.*?)\"/", $data, $match)) { 40 | $cookie = "\"auth_token\":\"{$match[1]}\""; 41 | } 42 | 43 | return array(false, $cookie); 44 | } 45 | 46 | public function Leech($url) 47 | { 48 | if (preg_match('/file\/([a-zA-Z0-9]+)/', $url, $match)) { 49 | $fileid = trim($match[1]); 50 | $data = $this->lib->curl("https://keep2share.cc/api/v2/getUrl", "", "{{$this->lib->cookie}, \"file_id\":\"{$fileid}\"}", 0); 51 | $json = @json_decode($data, true); 52 | 53 | if ($json["code"] == 200) { 54 | return trim($json['url']); 55 | } elseif ($json["errorCode"] == 20 || $json["errorCode"] == 21 || $json["errorCode"] == 22) { 56 | $this->error("dead", true, false, 2); 57 | } elseif ($json["errorCode"] == 2) { 58 | $this->error("LimitAcc", true, false); 59 | } 60 | } 61 | 62 | return false; 63 | } 64 | } 65 | 66 | /* 67 | * Open Source Project 68 | * New Vinaget by LTT 69 | * Version: 3.3 LTS 70 | * K2s.cc Download Plugin 71 | * Date: 11.11.2020 72 | */ 73 | -------------------------------------------------------------------------------- /hosts/uptobox_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://uptobox.com/?op=my_account", "lang=english;{$cookie}", ""); 8 | if (stristr($data, '
    ')) { 9 | if (stristr($data, 'Premium member')) { 10 | return array(true, "Until " . preg_replace('/\s+/', ' ', $this->lib->cut_str($data, "data-tippy-content=\"Expires on", "at"))); 11 | } 12 | return array(false, "accfree"); 13 | } 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | public function Login($user, $pass) 18 | { 19 | $data = $this->lib->curl("https://uptobox.com/?op=login&referer=homepage", "lang=english", "login={$user}&password={$pass}&redirect="); 20 | if (stristr($data, 'log in from a different country')) { 21 | $this->error("Account uptobox block login from another country", false, false); 22 | return false; 23 | } 24 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 25 | 26 | return array(true, $cookie); 27 | } 28 | 29 | public function Leech($url) 30 | { 31 | list($url, $pass) = $this->linkpassword($url); 32 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 33 | 34 | if ($pass) { 35 | $post = $this->parseForm($this->lib->cut_str($data, '')); 36 | $post["password"] = $pass; 37 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 38 | if (stristr($data, 'Wrong password')) { 39 | $this->error("wrongpass", true, false, 2); 40 | } elseif (preg_match('@https?:\/\/www\d+\.uptobox.com\/d\/[^\'\"\s\t<>\r\n]+@i', $data, $link)) { 41 | return trim(str_replace('https', 'http', $link[0])); 42 | } 43 | 44 | } 45 | 46 | if (stristr($data, 'type="password" name="password')) { 47 | $this->error("reportpass", true, false); 48 | } elseif (stristr($data, 'The file was deleted by its owner') || stristr($data, 'Page not found / La page')) { 49 | $this->error("dead", true, false, 2); 50 | } elseif (!$this->isRedirect($data)) { 51 | $post = $this->parseForm($this->lib->cut_str($data, '')); 52 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 53 | if (preg_match('@https?:\/\/www\d+\.uptobox.com\/d\/[^\'\"\s\t<>\r\n]+@i', $data, $link)) { 54 | return trim(str_replace('https', 'http', $link[0])); 55 | } 56 | 57 | } else { 58 | return trim(str_replace('https', 'http', trim($this->redirect))); 59 | } 60 | 61 | return false; 62 | } 63 | } 64 | 65 | /* 66 | * Open Source Project 67 | * New Vinaget by LTT 68 | * Version: 3.3 LTS 69 | * Uptobox.com Download Plugin 70 | * Date: 15.11.2022 71 | */ 72 | -------------------------------------------------------------------------------- /hosts/mixshared_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://mixshared.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium Expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium Expire', '   ')); 11 | } else if (stristr($data, 'New password') && !stristr($data, 'Premium Expire')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://mixshared.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://mixshared.com/plugin-status.html"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (!$this->isRedirect($data)) { 38 | $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', ''), 'href="', '">'); 39 | return trim($giay); 40 | } else { 41 | return trim($this->redirect); 42 | } 43 | 44 | } 45 | if (stristr($data, 'type="password" name="password')) { 46 | $this->error("reportpass", true, false); 47 | } elseif (stristr($data, 'Downloads are disabled for your country')) { 48 | $this->error("blockCountry", true, false); 49 | } elseif (stristr($data, 'The file was deleted by its owner')) { 50 | $this->error("dead", true, false, 2); 51 | } elseif (!$this->isRedirect($data)) { 52 | $post = $this->parseForm($this->lib->cut_str($data, '')); 53 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 54 | $giay = $this->lib->cut_str($this->lib->cut_str($data, 'dotted #bbb;padding:7px;">', ''), 'href="', '">'); 55 | return trim($giay); 56 | } else { 57 | return trim($this->redirect); 58 | } 59 | 60 | return false; 61 | } 62 | 63 | } 64 | 65 | /* 66 | * Open Source Project 67 | * New Vinaget by LTT 68 | * Version: 3.3 LTS 69 | * Mixedshared.com Download Plugin 70 | * Date: 01.09.2018 71 | */ 72 | -------------------------------------------------------------------------------- /hosts/wupfile_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://wupfile.com/?op=my_account", $cookie, ""); 9 | if (stristr($data, "Account Balance") && stristr($data, "Premium expire")) { 10 | return array(true, "Until " . $this->lib->cut_str($data, "Premium expire  ", " ")); 11 | } else if (stristr($data, "Account Balance")) { 12 | return array(false, "accfree"); 13 | } 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | public function Login($user, $pass) 18 | { 19 | $data = $this->lib->curl("https://wupfile.com/login.html", "lang=english", ""); 20 | $cook = $this->lib->GetCookies($data); 21 | $post = $this->parseForm($this->lib->cut_str($data, '')); 22 | $post['login'] = $user; 23 | $post['password'] = $pass; 24 | $post['redirect'] = "https://wupfile.com/"; 25 | $data = $this->lib->curl("https://wupfile.com/", $cook, $post); 26 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 27 | return array(true, $cookie); 28 | } 29 | 30 | public function Leech($url) 31 | { 32 | list($url, $pass) = $this->linkpassword($url); 33 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 34 | if ($pass) { 35 | $post = $this->parseForm($this->lib->cut_str($data, '')); 36 | $post["password"] = $pass; 37 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 38 | if (stristr($data, 'Wrong password')) { 39 | $this->error("wrongpass", true, false, 2); 40 | } elseif (preg_match('@https?:\/\/(\w+\.)?wupfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $match)) { 41 | return trim($match[0]); 42 | } 43 | } 44 | if (stristr($data, 'type="password" name="password')) { 45 | $this->error("reportpass", true, false); 46 | } elseif (stristr($data, 'File Not Found')) { 47 | $this->error("dead", true, false, 2); 48 | } elseif (stristr($data, 'You have reached the download-limit')) { 49 | $this->error("LimitAcc", true, false, 2); 50 | } elseif ($this->isRedirect($data)) { 51 | return trim($this->redirect); 52 | } else { 53 | $post = $this->parseForm($this->lib->cut_str($data, '')); 54 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 55 | if (preg_match('@https?:\/\/(\w+\.)?wupfile\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data, $match)) { 56 | return trim($match[0]); 57 | } 58 | } 59 | 60 | return false; 61 | } 62 | } 63 | 64 | /* 65 | * Open Source Project 66 | * New Vinaget by LTT 67 | * Wupfile.com Download Plugin 68 | * Date: 26.05.2020 69 | */ 70 | -------------------------------------------------------------------------------- /hosts/depositfiles_com.php: -------------------------------------------------------------------------------- 1 | lib->cut_str($this->getredirect("https://depositfiles.com/gold/payment_history.php"), "//", "/"); 8 | $data = $this->lib->curl("https://{$domain}/gold/payment_history.php", "lang_current=en;{$cookie}", ""); 9 | 10 | if (stristr($data, 'You have Gold access until:')) { 11 | $checksubscribe = $this->lib->curl("http://{$domain}/gold/payment_subscribe_manage.php", "lang_current=en;{$cookie}", ""); 12 | 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")); 13 | } elseif (stristr($data, 'Your current status: FREE - member')) { 14 | return array(false, "accfree"); 15 | } 16 | 17 | return array(false, "accinvalid"); 18 | } 19 | 20 | public function Login($user, $pass) 21 | { 22 | $data = $this->lib->curl("https://depositfiles.com/login.php?return=%2F", "lang_current=en", "go=1&login=$user&password=$pass"); 23 | $cookie = $this->lib->GetCookies($data); 24 | 25 | return array(true, $cookie); 26 | } 27 | 28 | public function Leech($url) 29 | { 30 | list($url, $pass) = $this->linkpassword($url); 31 | $tachid = explode("/", $url); 32 | 33 | $DFid = $tachid[5]; 34 | if (preg_match("/\/files\/(.*)\/(.+)/i", $url, $id)) { 35 | $DFid = $id[1]; 36 | } elseif (count($tachid) == 5) { 37 | $DFid = $tachid[4]; 38 | } 39 | 40 | $data = $this->lib->curl("https://depositfiles.com/api/download/file?file_id={$DFid}&file_password={$pass}", "lang_current=en;" . $this->lib->cookie, "", 0); 41 | $page = json_decode($data, true); 42 | 43 | if (isset($page['status'])) { 44 | if ($page['status'] != "OK") { 45 | if ($page['error'] == "FileIsPasswordProtected") { 46 | $this->error("reportpass", true, false); 47 | } 48 | 49 | if ($page['error'] == "FileDoesNotExist") { 50 | $this->error("dead", true, false, 2); 51 | } 52 | 53 | if ($page['error'] == "FilePasswordIsIncorrect") { 54 | $this->error("wrongpass", true, false, 2); 55 | } 56 | 57 | return $this->error($page['error'], true, false); 58 | } elseif (isset($page['data']['download_url'])) { 59 | return str_replace("https://", "http://", $page['data']['download_url']); 60 | } 61 | 62 | } 63 | 64 | return false; 65 | } 66 | } 67 | 68 | /* 69 | * Open Source Project 70 | * New Vinaget by LTT 71 | * Version: 3.3 LTS 72 | * Depositfiles.com Download Plugin 73 | * Date: 21.05.2017 74 | */ 75 | -------------------------------------------------------------------------------- /hosts/4shared_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://www.4shared.com/web/account/settings/overview", "4langcookie=en;{$cookie}", ""); 8 | 9 | if (stristr($data, 'Account has already expired')) { 10 | return array(false, "Account Expried!"); 11 | } elseif (stristr($data, 'Account type:') && stristr($data, 'Premium') && !stristr($data, 'FREE (
    (.*)Gb of (.*)Gb<\/div>/i', $this->lib->cut_str($data, '>Premium traffic:<', '"spaceScale"'), $result); 13 | if ($result[1] > $result[2]) { 14 | return array(true, "Until " . $this->lib->cut_str($this->lib->cut_str($data, 'Expires in:
    ', '/div>'), 'alignRight bold">', '<') . "
    Our 4shared.com account has reach bandwidth limit
    {$result[1]}Gb / {$result[2]}Gb"); 15 | } 16 | 17 | return array(true, "Until " . $this->lib->cut_str($this->lib->cut_str($data, 'Expires in:', '/div>'), 'alignRight bold">', '<') . "
    Traffic Avalidable: " . $result[1] . "Gb / " . $result[2] . "Gb"); 18 | } elseif (stristr($data, 'Used space:') && !stristr($data, '>Premium <')) { 19 | return array(false, "accfree"); 20 | } 21 | 22 | return array(false, "accinvalid"); 23 | } 24 | 25 | public function Login($user, $pass) 26 | { 27 | $data = $this->lib->curl("http://www.4shared.com/web/login", "4langcookie=en", "login={$user}&password={$pass}&remember=1&_remember=on&returnTo=http://www.4shared.com/account/home.jsp&ausk=&inviteId=&inviterName="); 28 | $cookie = "4langcookie=en; savelogin=true; {$this->lib->GetCookies($data)}"; 29 | 30 | return array(true, $cookie); 31 | } 32 | 33 | public function Leech($url) 34 | { 35 | if (!stristr($url, "4shared.com/file/")) { 36 | $ex = explode("/", $url); 37 | $url = 'http://www.4shared.com/file/' . $ex[4]; 38 | } 39 | 40 | list($url, $pass) = $this->linkpassword($url); 41 | $post = !empty($pass) ? "userPass2=" . $pass : ""; 42 | $data = $this->lib->curl($url, "4langcookie=en;" . $this->lib->cookie, $post ? "userPass2={$pass}" : ""); 43 | $this->save($this->lib->GetCookies($data)); 44 | 45 | if (stristr($data, 'The file link that you requested is not valid')) { 46 | $this->error("dead", true, false, 2); 47 | } elseif (stristr($data, 'Please enter a password to access this file')) { 48 | $this->error("reportpass", true, false); 49 | } elseif (preg_match('@https?:\/\/dc\d+\.4shared\.com\/download[^"\'><\r\n\t]+@i', $data, $match)) { 50 | return trim($match[0]); 51 | } 52 | 53 | return false; 54 | } 55 | } 56 | 57 | /* 58 | * Open Source Project 59 | * New Vinaget by LTT 60 | * Version: 3.3 LTS 61 | * 4shared.com Download Plugin 62 | * Date: 10.09.2017 63 | */ 64 | -------------------------------------------------------------------------------- /hosts/easybytez_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://www.easybytez.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire:')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire:', '
    ')); 11 | } else if (stristr($data, 'Used space:') && !stristr($data, 'Premium account expire:')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $cutrand = $this->lib->curl("http://www.easybytez.com/", "lang=english", ""); 21 | $rand = $this->lib->cut_str($cutrand, 'name="rand" value="', '">'); 22 | $data = $this->lib->curl("http://www.easybytez.com/", "lang=english", "login={$user}&password={$pass}&op=login2&rand={$rand}&redirect=http://www.easybytez.com/"); 23 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 24 | 25 | return array(true, $cookie); 26 | } 27 | 28 | public function Leech($url) 29 | { 30 | list($url, $pass) = $this->linkpassword($url); 31 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 32 | if ($pass) { 33 | $post = $this->parseForm($this->lib->cut_str($data, '')); 34 | $post["password"] = $pass; 35 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 36 | if (stristr($data, 'Wrong password')) { 37 | $this->error("wrongpass", true, false); 38 | } elseif (preg_match('/href="(http.+)">http/i', $this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px', ''), $link)) { 39 | return trim($link[1]); 40 | } 41 | } 42 | if (stristr($data, '>Password: The uploader deleted the file.<') || stristr($data, '>File Not Found<')) { 45 | $this->error("dead", true, false, 2); 46 | } elseif (!$this->isRedirect($data)) { 47 | $post = $this->parseForm($this->lib->cut_str($data, 'Form name="F1"', '')); 48 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 49 | $cut = $this->lib->cut_str($data, 'background:#f9f9f9;border:1px dotted #bbb;padding:7px', ''); 50 | if (preg_match('/href="(http.+)">http/i', $cut, $link)) { 51 | return trim($link[1]); 52 | } 53 | } else { 54 | return trim($this->redirect); 55 | } 56 | 57 | return false; 58 | } 59 | } 60 | 61 | /* 62 | * Open Source Project 63 | * New Vinaget by LTT 64 | * Version: 3.3 LTS 65 | * Easybytez.com Download Plugin 66 | * Date: 21.08.2020 67 | */ 68 | -------------------------------------------------------------------------------- /hosts/prefiles_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://prefiles.com/", "", ""); 9 | $cok = $this->lib->GetCookies($data); 10 | $data = $this->lib->curl("https://prefiles.com/my-account", "{$cok}{$cookie}", ""); 11 | if (stristr($data, 'PRO Membership')) { 12 | return array(true, "Until " . $this->lib->cut_str($data, '
    ', '
    ') . "
    Storage: " . strip_tags($this->lib->cut_str($data, 'Storage', '')) . "
    Traffic: " . strip_tags($this->lib->cut_str($data, 'Traffic remaining', ''))); 13 | } elseif (stristr($data, '
    FREE Account
    ') && !stristr($data, 'Username')) { 14 | return array(false, "accfree"); 15 | } 16 | 17 | return array(false, "accinvalid"); 18 | } 19 | 20 | public function Login($user, $pass) 21 | { 22 | $data = $this->lib->curl("https://prefiles.com/", "", ""); 23 | $cok = $this->lib->GetCookies($data); 24 | $data = $this->lib->curl("https://prefiles.com/login", $cok, "op=login&token=&rand=&redirect=&login={$user}&password={$pass}"); 25 | $cookie = $this->lib->GetCookies($data); 26 | 27 | return array(true, $cookie); 28 | } 29 | 30 | public function Leech($url) 31 | { 32 | list($url, $pass) = $this->linkpassword($url); 33 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 34 | if ($pass) { 35 | $post = $this->parseForm($this->lib->cut_str($data, '
    ')); 36 | $post["password"] = $pass; 37 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 38 | if (stristr($data, 'Wrong password')) { 39 | $this->error("wrongpass", true, false, 2); 40 | } 41 | 42 | if (preg_match('/href="(.*?)">Click here/i', $data, $match)) { 43 | return trim($match[1]); 44 | } 45 | 46 | } 47 | if (stristr($data, 'type="password" name="password')) { 48 | $this->error("reportpass", true, false); 49 | } elseif (stristr($data, '
  • Page 404
  • ') || stristr($data, '
  • File not Found!
  • ')) { 50 | $this->error("dead", true, false, 2); 51 | } elseif (!$this->isRedirect($data)) { 52 | $post = $this->parseForm($this->lib->cut_str($data, '')); 53 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 54 | if (preg_match('/href="(.*?)">Click here/i', $data, $match)) { 55 | return trim($match[1]); 56 | } 57 | 58 | } else { 59 | return trim($this->redirect); 60 | } 61 | 62 | return false; 63 | } 64 | 65 | } 66 | 67 | /* 68 | * Open Source Project 69 | * New Vinaget by LTT 70 | * Version: 3.3 LTS 71 | * Prefiles.com Download Plugin 72 | * Date: 07.10.2018 73 | */ 74 | -------------------------------------------------------------------------------- /hosts/worldbytez_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://worldbytez.com/?op=my_account", $cookie, ""); 9 | if (stristr($data, 'Premium account expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, '', '')); 11 | } else if (stristr($data, '
    ')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("https://worldbytez.com/login.html", "", "", 0); 21 | $cook = $this->lib->GetCookies($data); 22 | $post = $this->parseForm($this->lib->cut_str($data, 'name="FL">', '')); 23 | $post['login'] = $user; 24 | $post['password'] = $pass; 25 | $data = $this->lib->curl("https://worldbytez.com/", $cook, $post); 26 | $cookie = $this->lib->GetCookies($data); 27 | return array(true, $cookie); 28 | } 29 | 30 | public function Leech($url) 31 | { 32 | list($url, $pass) = $this->linkpassword($url); 33 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 34 | if ($this->isRedirect($data) && stristr($this->redirect, "/download")) { 35 | $cook = $this->lib->GetCookies($data); 36 | $data = $this->lib->curl($this->redirect, "{$cook}{$this->lib->cookie}", ""); 37 | } 38 | 39 | if ($pass) { 40 | $post = $this->parseForm($this->lib->cut_str($data, '
    ')); 41 | $post["password"] = $pass; 42 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 43 | if (stristr($data, 'Wrong password')) { 44 | $this->error("wrongpass", true, false, 2); 45 | } elseif (preg_match('/Oops File Not Found') || stristr($data, 'File Not Found')) { 53 | $this->error("dead", true, false, 2); 54 | } elseif ($this->isRedirect($data)) { 55 | return $this->redirect; 56 | } else { 57 | $post = $this->parseForm($this->lib->cut_str($data, '')); 58 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 59 | if (preg_match('/lib->curl("http://www.datafile.com/profile.html", "lang=en;{$cookie}", ""); 8 | 9 | if (stristr($data, '>Premium Expires:<')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, '', '  (') . "
    Traffic left: " . $this->lib->cut_str($this->lib->cut_str($data, 'Traffic left:', ''), '', '')); 11 | } elseif (stristr($data, '">Upgrade
    )')) { 12 | return array(false, "accfree"); 13 | } 14 | 15 | return array(false, "accinvalid"); 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("http://www.datafile.com/login.html", "lang=en", "", 0); 21 | 22 | if (stristr($data, 'eval(atob(')) { 23 | if ($hash = $this->descrypt_hash($data)) { 24 | $ulogin = "http://www.datafile.com" . $hash; 25 | $this->lib->curl($ulogin, "", "", 0); 26 | } else { 27 | return false; 28 | } 29 | } 30 | 31 | $data = $this->lib->curl("https://www.datafile.com/login.html", "lang=en", "login={$user}&password={$pass}&remember_me=1"); 32 | $cookie = "lang=en;" . $this->lib->GetCookies($data); 33 | 34 | return array(true, $cookie); 35 | } 36 | 37 | private function descrypt_hash($html) 38 | { 39 | $html = str_replace("window.location.href=", "document.write(", $html); 40 | $html = str_replace("+'';", "+'');", $html); 41 | file_put_contents($this->lib->fileinfo_dir . "/datafile_descrypt.html", $html) or $this->error("Cannot locate " . $this->lib->fileinfo_dir . "/datafile_descrypt.html", true, false); 42 | $code = file_get_contents($this->lib->fileinfo_dir . "/datafile_descrypt.html"); 43 | 44 | return $code; 45 | } 46 | 47 | public function Leech($url) 48 | { 49 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 50 | 51 | if ($this->isRedirect($data)) { 52 | $link = trim("http://www.datafile.com" . $this->redirect); 53 | $data = $this->lib->curl($link, $this->lib->cookie, ""); 54 | 55 | if (stristr($data, "ErrorCode 6: Download limit in")) { 56 | $this->error("LimitAcc", true, false); 57 | } 58 | if ($this->isRedirect($data)) { 59 | $redir = trim($this->redirect); 60 | } 61 | 62 | $name = $this->lib->getname($redir, $this->lib->cookie); 63 | $tach = explode(';', $name); 64 | $this->lib->reserved['filename'] = $tach[0]; 65 | 66 | return $redir; 67 | } elseif (stristr($data, 'ErrorCode 0: Invalid Link')) { 68 | $this->error("dead", true, false, 2); 69 | } 70 | 71 | return false; 72 | } 73 | } 74 | 75 | /* 76 | * Open Source Project 77 | * New Vinaget by LTT 78 | * Version: 3.3 LTS 79 | * Datafile.com Download Plugin 80 | * Date: 01.09.2018 81 | */ 82 | -------------------------------------------------------------------------------- /hosts/filejoker_net.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://filejoker.net/profile", $cookie, ""); 9 | if (stristr($data, 'Premium account expires') && stristr($data, ">Extend Premium<")) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expires: ', '

    ') . '
    Traffic Available: ' . trim($this->lib->cut_str($data, 'valuemax="100" title="', 'available">'))); 11 | } else { 12 | return array(false, "accinvalid"); 13 | } 14 | 15 | } 16 | 17 | public function Login($user, $pass) 18 | { 19 | $data = $this->curl_old('https://filejoker.net', '', ''); 20 | $data = $this->curl_old('https://filejoker.net/login', '', "op=login&redirect=&rand=&email={$user}&password={$pass}"); 21 | $cookie = $this->lib->GetCookies($data); 22 | 23 | return array(true, $cookie); 24 | } 25 | 26 | private function curl_old($url, $cookies, $post, $header = 1) 27 | { 28 | $ch = @curl_init(); 29 | $head[] = "X-Requested-With: XMLHttpRequest"; 30 | curl_setopt($ch, CURLOPT_URL, $url); 31 | curl_setopt($ch, CURLOPT_HEADER, $header); 32 | curl_setopt($ch, CURLOPT_HTTPHEADER, $head); 33 | if ($cookies) { 34 | curl_setopt($ch, CURLOPT_COOKIE, $cookies); 35 | } 36 | 37 | curl_setopt($ch, CURLOPT_USERAGENT, $this->UserAgent); 38 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 39 | curl_setopt($ch, CURLOPT_REFERER, $url); 40 | if ($post) { 41 | curl_setopt($ch, CURLOPT_POST, 1); 42 | curl_setopt($ch, CURLOPT_POSTFIELDS, $post); 43 | } 44 | curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); 45 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 46 | curl_setopt($ch, CURLOPT_TIMEOUT, 30); 47 | curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20); 48 | $page = curl_exec($ch); 49 | curl_close($ch); 50 | return $page; 51 | } 52 | 53 | public function Leech($url) 54 | { 55 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 56 | if (stristr($data, 'File Not Found')) { 57 | $this->error("dead", true, false, 2); 58 | } else { 59 | $post = $this->parseForm($data, 'error("LimitAcc", true, false, 2); 64 | } 65 | 66 | if (preg_match('/lib->curl("http://fireget.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire:', '')); 11 | } else if (stristr($data, 'New password') && !stristr($data, 'Premium account expire')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://fireget.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (!$this->isRedirect($data)) { 38 | $giay = $this->lib->cut_str($this->lib->cut_str($data, '
    ', '
    '), 'href="', '" style'); 39 | return trim($giay); 40 | } else { 41 | return trim($this->redirect); 42 | } 43 | 44 | } 45 | if (stristr($data, 'You have reached the download-limit:')) { 46 | $this->error("LimitAcc", true, false); 47 | } elseif (stristr($data, 'type="password" name="password')) { 48 | $this->error("reportpass", true, false); 49 | } elseif (stristr($data, 'The file was deleted by its owner')) { 50 | $this->error("dead", true, false, 2); 51 | } elseif (!$this->isRedirect($data)) { 52 | if (!stristr($data, "Create Download Link")) { 53 | $this->error("Cannot get Create Download Link", true, false); 54 | } else { 55 | $post = $this->parseForm($this->lib->cut_str($data, '')); 56 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 57 | $giay = $this->lib->cut_str($this->lib->cut_str($data, '
    ', '
    '), 'href="', '" style'); 58 | return trim($giay); 59 | } 60 | } else { 61 | return trim($this->redirect); 62 | } 63 | 64 | return false; 65 | } 66 | 67 | } 68 | 69 | /* 70 | * Open Source Project 71 | * New Vinaget by LTT 72 | * Version: 3.3 LTS 73 | * Fireget.com Download Plugin 74 | * Date: 01.09.2018 75 | */ 76 | -------------------------------------------------------------------------------- /hosts/isra_cloud.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://isra.cloud/?op=my_account", "lang=english;{$cookie}", ""); 8 | if (stristr($data, "expire")) { 9 | return array(true, "Until " . strip_tags($this->lib->cut_str($data, "expire", "Traffic available today: " . strtoupper(strip_tags($this->lib->cut_str($data, "Traffic available today
    ", "")))); 11 | } elseif (stristr($data, "My affiliate link")) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | } 17 | 18 | public function Login($user, $pass) 19 | { 20 | $data = $this->lib->curl("https://isra.cloud/login.html", "", ""); 21 | $cook = $this->lib->GetCookies($data); 22 | $post = $this->parseForm($this->lib->cut_str($data, '')); 23 | $post['login'] = $user; 24 | $post['password'] = $pass; 25 | $post['redirect'] = ''; 26 | $data = $this->lib->curl("https://isra.cloud/login.html", $cook, $post); 27 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 28 | 29 | return array(true, $cookie); 30 | } 31 | 32 | public function Leech($url) 33 | { 34 | list($url, $pass) = $this->linkpassword($url); 35 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 36 | $file_code_cookie = $this->lib->GetCookies($data); 37 | if (!empty($file_code_cookie)) { 38 | $data = $this->passRedirect($data, $this->lib->cookie . $file_code_cookie); 39 | } 40 | 41 | if ($pass) { 42 | $post = $this->parseForm($this->lib->cut_str($data, '')); 43 | $post["password"] = $pass; 44 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 45 | if (stristr($data, 'Wrong password')) { 46 | $this->error("wrongpass", true, false, 2); 47 | } elseif (preg_match('@https?:\/\/fs\d+\.isra.cloud.*@i', $data, $link)) { 48 | return trim($link[0]); 49 | } 50 | } 51 | 52 | if (stristr($data, 'type="password" name="password')) { 53 | $this->error("reportpass", true, false); 54 | } elseif (stristr($data, 'The file was deleted by its owner') || stristr($data, 'Page not found')) { 55 | $this->error("dead", true, false, 2); 56 | } elseif (!$this->isRedirect($data)) { 57 | $post = $this->parseForm($this->lib->cut_str($data, '')); 58 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 59 | if (preg_match('@https?:\/\/fs\d+\.isra.cloud.*@i', $data, $link)) { 60 | return trim($link[0]); 61 | } 62 | } else { 63 | return trim($this->redirect); 64 | } 65 | 66 | return false; 67 | } 68 | } 69 | 70 | /* 71 | * Open Source Project 72 | * New Vinaget by LTT 73 | * Version: 3.3 LTS 74 | * Isra.cloud Download Plugin 75 | * Date: 27.09.2019 76 | */ 77 | -------------------------------------------------------------------------------- /hosts/uploaded_net.php: -------------------------------------------------------------------------------- 1 | lib->curl($url, "", ""); 10 | $data = $this->lib->cut_str($data, '', "
    "); 11 | $FID = explode('

    http://uploaded.net/file/{$code[1]}/
    "; 16 | echo $list; 17 | } 18 | exit; 19 | } 20 | } 21 | 22 | public function CheckAcc($cookie) 23 | { 24 | $data = $this->lib->curl("http://uploaded.net/language/en", $cookie, ""); 25 | $data = $this->lib->curl("http://uploaded.net/", $cookie, ""); 26 | $dt = $this->lib->curl("http://uploaded.net/file/yueavjnq", $cookie, ""); 27 | if (stristr($dt, 'You used too many different IPs')) { 28 | return array(true, "blockAcc"); 29 | } elseif (stristr($dt, 'Hybrid-Traffic is completely exhausted')) { 30 | return array(true, "LimitAcc"); 31 | } elseif (stristr($data, 'Premium')) { 32 | return array(true, $this->lib->cut_str($this->lib->cut_str($data, "Duration:", "/th>"), "", "<")); 33 | } elseif (stristr($data, '
  • Logout
  • ')) { 34 | return array(false, "accfree"); 35 | } else { 36 | return array(false, "accinvalid"); 37 | } 38 | 39 | } 40 | 41 | public function Login($user, $pass) 42 | { 43 | $data = $this->lib->curl("http://uploaded.net/io/login", "", "id={$user}&pw={$pass}"); 44 | $cookie = $this->lib->GetCookies($data); 45 | 46 | return array(true, $cookie); 47 | } 48 | 49 | public function Leech($url) 50 | { 51 | //$url = str_replace("http://", "https://", $url); 52 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 53 | if (stristr($data, ">Extend traffic<")) { 54 | $this->error("LimitAcc"); 55 | } elseif (stristr($data, "Hybrid-Traffic is completely exhausted")) { 56 | $this->error("LimitAcc"); 57 | } elseif (stristr($data, "Our service is currently unavailable in your country")) { 58 | $this->error("blockCountry", true, false); 59 | } elseif (stristr($data, "You used too many different IPs")) { 60 | $this->error("blockAcc", true, false); 61 | } elseif (stristr($data, "Download Blocked (ip)")) { 62 | $this->error("blockIP", true, false); 63 | } elseif (!$this->isRedirect($data)) { 64 | if (preg_match('/action="(https?:\/\/.+)" style/i', $data, $link)) { 65 | return trim($link[1]); 66 | } 67 | 68 | } else { 69 | if (stristr($this->redirect, 'uploaded.net/404')) { 70 | $this->error("dead", true, false, 2); 71 | } else { 72 | return trim($this->redirect); 73 | } 74 | 75 | } 76 | return false; 77 | } 78 | 79 | } 80 | 81 | /* 82 | * Open Source Project 83 | * New Vinaget by LTT 84 | * Version: 3.3 LTS 85 | * Uploaded.net Download Plugin 86 | * Date: 01.09.2018 87 | */ 88 | -------------------------------------------------------------------------------- /hosts/ryushare_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://ryushare.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire:')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire:', '')); 11 | } else if (stristr($data, 'Upgrade to premium')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://ryushare.com/", "lang=english", "op=login&login={$user}&password={$pass}&loginFormSubmit=Login&redirect=http://ryushare.com/"); 22 | $cookie = "lang=english;" . $this->lib->GetCookies($data); 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function Leech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 31 | if ($pass) { 32 | $post = $this->parseForm($this->lib->cut_str($data, '')); 33 | $post["password"] = $pass; 34 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 35 | if (stristr($data, 'Wrong password')) { 36 | $this->error("wrongpass", true, false, 2); 37 | } elseif (stristr($data, '>Error happened when generating Download Link.<')) { 38 | $this->error("Error happened when generating Download Link", true, false); 39 | } elseif (preg_match('@http:\/\/(\w+\.)?ryushare\.com(:\d+)?\/files\/dl\/[^"\'<>\r\n\t]+@i', $data, $giay)) { 40 | return trim($giay[0]); 41 | } 42 | 43 | } 44 | if (stristr($data, '')) { 45 | $this->error("reportpass", true, false); 46 | } elseif (stristr($data, '>Error happened when generating Download Link.<')) { 47 | $this->error("Error happened when generating Download Link", true, false); 48 | } elseif (stristr($data, '403 Forbidden')) { 49 | $this->error("blockIP", true, false); 50 | } elseif (stristr($data, 'You have reached the download-limit')) { 51 | $this->error("LimitAcc", true, false); 52 | } elseif (stristr($data, 'This server is in maintenance mode.')) { 53 | $this->error("Ryushare Under Maintenance", true, false); 54 | } elseif (stristr($data, '>File Not Found<') || stristr($data, '>404 - Not Found<')) { 55 | $this->error("dead", true, false, 2); 56 | } elseif (!$this->isRedirect($data)) { 57 | $post = $this->parseForm($this->lib->cut_str($data, '')); 58 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 59 | if (stristr($data, '>Error happened when generating Download Link.<')) { 60 | $this->error("Error happened when generating Download Link", true, false); 61 | } elseif (preg_match('@https?:\/\/(\w+\.)?ryushare\.com(:\d+)?\/files\/dl\/[^"\'<>\r\n\t]+@i', $data, $giay)) { 62 | return trim($giay[0]); 63 | } 64 | 65 | } else { 66 | return trim($this->redirect); 67 | } 68 | 69 | return false; 70 | } 71 | 72 | } 73 | 74 | /* 75 | * Open Source Project 76 | * New Vinaget by LTT 77 | * Version: 3.3 LTS 78 | * Ryushare.com Download Plugin 79 | * Date: 01.09.2018 80 | */ 81 | -------------------------------------------------------------------------------- /hosts/turbobit_net.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://turbobit.net/?site_version=1&from_mirror=1", $cookie, ""); 9 | if (stristr($data, "HTTP/1.1 307 Temporary Redirect") && $this->isRedirect($data)) { 10 | $data = $this->lib->curl(trim($this->redirect), $cookie, 0); 11 | } 12 | 13 | if (stristr($data, 'Turbo access till')) { 14 | if (stristr($data, '> limit of premium downloads')) { 15 | return array(true, "LimitAcc"); 16 | } else { 17 | return array(true, "Until " . $this->lib->cut_str($data, '>Turbo access till ', '')); 18 | } 19 | 20 | } else if (stristr($data, 'Turbo Access denied.')) { 21 | return array(false, "accfree"); 22 | } else { 23 | return array(false, "accinvalid"); 24 | } 25 | 26 | } 27 | 28 | public function Login($user, $pass) 29 | { 30 | $data = $this->lib->curl("https://turbobit.net/login", "user_lang=en", ""); 31 | $cook = $this->lib->GetCookies($data); 32 | $data = $this->lib->curl("https://turbobit.net/user/login", $cook, "user[login]={$user}&user[pass]={$pass}&user[captcha_type]=&user[captcha_subtype]=&user[submit]=Sign+in&user[memory]=on"); 33 | if (stristr($data, "HTTP/1.1 307 Temporary Redirect") && $this->isRedirect($data)) { 34 | $this->lib->curl(trim($this->redirect), "user_lang=en", "user[login]={$user}&user[pass]={$pass}&user[captcha_type]=&user[captcha_subtype]=&user[submit]=Sign+in&user[memory]=on"); 35 | } 36 | 37 | $cookie = "user_lang=en;" . $this->lib->GetCookies($data); 38 | 39 | return array(true, $cookie); 40 | } 41 | 42 | public function Leech($url) 43 | { 44 | if (strpos($url, "/download/free/") == true) { 45 | $gach = explode('/', $url); 46 | $url = "https://turbobit.net/{$gach[5]}.html"; 47 | } 48 | $data = $this->lib->curl($url . '?site_version=1&from_mirror=1', $this->lib->cookie, ""); 49 | 50 | if (stristr($data, "HTTP/1.1 307 Temporary Redirect") && $this->isRedirect($data)) { 51 | $data = $this->lib->curl(trim($this->redirect), $this->lib->cookie, ""); 52 | } 53 | $this->save($this->lib->GetCookies($data)); 54 | if (stristr($data, 'site is temporarily unavailable') || stristr($data, 'This document was not found in System')) { 55 | $this->error("dead", true, false, 2); 56 | } elseif (stristr($data, 'Please wait, searching file') || stristr($data, 'The file is not avaliable now because of technical problems.')) { 57 | $this->error("dead", true, false, 2); 58 | } elseif (stristr($data, 'You have reached the daily limit of premium downloads') || stristr($data, 'You have reached the monthly limit of premium downloads')) { 59 | $this->error("LimitAcc"); 60 | } elseif (stristr($data, 'Turbo Access denied')) { 61 | $this->error("blockAcc", true, false); 62 | } elseif (preg_match("/]+href='(https:\/\/turbobit\.net\/download\/redirect\/[^']+)'[^>]*>\s*Download file<\/b>/i", $data, $match)) { 63 | $link = trim($match[1]); 64 | $data = $this->lib->curl($link, $this->lib->cookie, ""); 65 | if ($this->isRedirect($data)) { 66 | return trim($this->redirect); 67 | } 68 | } 69 | return false; 70 | } 71 | 72 | } 73 | 74 | /* 75 | * Open Source Project 76 | * New Vinaget by LTT 77 | * Version: 3.3 LTS 78 | * Turbobit.net Download Plugin 79 | * Date: 11.11.2020 80 | */ 81 | -------------------------------------------------------------------------------- /hosts/filextras_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://filextras.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | $traffic_available = ""; 10 | if (stristr($data, 'Traffic available')) { 11 | $traffic = $this->lib->cut_str($data, 'traffic position-relative">', ''); 12 | if (preg_match('/\s*(MB)\s*<\/sup>\s*(\d+)/i', $traffic, $matches)) { 13 | $traffic_available = '
    Traffic available: ' . $matches[2] . ' ' . $matches[1]; 14 | } 15 | } 16 | if (stristr($data, 'Premium Pro account expire')) { 17 | $time = $this->lib->cut_str($data, 'Premium Pro account expire:', ''); 18 | return array(true, "Until " . $this->lib->cut_str($time, '', '') . $traffic_available); 19 | } elseif (stristr($data, 'Premium account expire')) { 20 | $time = $this->lib->cut_str($data, 'Premium account expire:', ''); 21 | return array(true, "Until " . $this->lib->cut_str($data, '', '') . $traffic_available); 22 | } elseif (stristr($data, 'My affiliate link')) { 23 | return array(false, "accfree"); 24 | } else { 25 | return array(false, "accinvalid"); 26 | } 27 | } 28 | 29 | public function Login($user, $pass) 30 | { 31 | $data = $this->lib->curl("https://filextras.com/", "lang=english", "op=login&login={$user}&password={$pass}&redirect="); 32 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 33 | return array(true, $cookie); 34 | } 35 | 36 | public function Leech($url) 37 | { 38 | list($url, $pass) = $this->linkpassword($url); 39 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 40 | if ($pass) { 41 | $post = $this->parseForm($this->lib->cut_str($data, '')); 42 | $post["password"] = $pass; 43 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 44 | if (stristr($data, 'Wrong password')) { 45 | $this->error("wrongpass", true, false, 2); 46 | } elseif (preg_match('@(?:https?:)?//[a-z0-9\-\.]+\.filextras\.com(?::\d+)?/d/[^\'\"\s<>\r\n]+@i', $data, $link)) { 47 | return "https:" . trim($link[0]); 48 | } 49 | } 50 | if (stristr($data, 'type="password" name="password')) { 51 | $this->error("reportpass", true, false); 52 | } elseif (stristr($data, 'File Not Found')) { 53 | $this->error("dead", true, false, 2); 54 | } elseif (stristr($data, 'Your IP is blacklisted')) { 55 | $this->error("blockIP", true, false, 2); 56 | } elseif (stristr($data, 'reached the download-limit')) { 57 | $this->error($this->lib->cut_str($data, '
    ', '
    '), true, false, 2); 58 | } elseif (!$this->isRedirect($data)) { 59 | $post = $this->parseForm($this->lib->cut_str($data, '')); 60 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 61 | if (preg_match('@(?:https?:)?//[a-z0-9\-\.]+\.filextras\.com(?::\d+)?/d/[^\'\"\s<>\r\n]+@i', $data, $link)) { 62 | return "https:" . trim($link[0]); 63 | } else { 64 | $this->error("Please enable direct download in filextras account", true, false, 2); 65 | } 66 | } else { 67 | return $this->redirect; 68 | } 69 | 70 | return false; 71 | } 72 | } 73 | 74 | /* 75 | * Open Source Project 76 | * New Vinaget by LTT 77 | * Version: 3.3 LTS 78 | * Filextras.com Download Plugin 79 | * Date: 16.06.2025 80 | */ -------------------------------------------------------------------------------- /hosts/tusfiles_net.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://www.tusfiles.net/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire')) return array(true, "Until " . $this->lib->cut_str($this->lib->cut_str($data, '

    Premium account expire

    ', '
    ', '')); 10 | else if (stristr($data, 'New password') && !stristr($data, 'Premium account expire')) return array(false, "accfree"); 11 | else return array(false, "accinvalid"); 12 | } 13 | 14 | public function Login($user, $pass) 15 | { 16 | $data = $this->lib->curl("http://www.tusfiles.net/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://www.tusfiles.net/"); 17 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 18 | 19 | return array(true, $cookie); 20 | } 21 | 22 | public function FreeLeech($url) 23 | { 24 | list($url, $pass) = $this->linkpassword($url); 25 | $data = $this->lib->curl($url, "", ""); 26 | $this->save($this->lib->GetCookies($data)); 27 | if ($pass) { 28 | $post = $this->parseForm($this->lib->cut_str($data, '')); 29 | $post["password"] = $pass; 30 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 31 | if (stristr($data, 'Wrong password')) $this->error("wrongpass", true, false, 2); 32 | elseif ($this->isRedirect($data)) return trim($this->redirect); 33 | } 34 | if (stristr($data, '

    File Not Found

    ') || stristr($data, '

    The file was removed by administrator

    ')) $this->error("dead", true, false, 2); 35 | elseif (stristr($data, 'Password: error("Cannot get Download Now", true, false); 38 | else { 39 | $post = $this->parseForm($this->lib->cut_str($data, '')); 40 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 41 | if ($this->isRedirect($data)) return trim($this->redirect); 42 | } 43 | return false; 44 | } 45 | 46 | public function Leech($url) 47 | { 48 | list($url, $pass) = $this->linkpassword($url); 49 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 50 | if ($pass) { 51 | $post = $this->parseForm($this->lib->cut_str($data, '')); 52 | $post["password"] = $pass; 53 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 54 | if (stristr($data, 'Wrong password')) $this->error("wrongpass", true, false, 2); 55 | elseif ($this->isRedirect($data)) return trim($this->redirect); 56 | } 57 | if (stristr($data, '

    File Not Found

    ') || stristr($data, '

    The file was removed by administrator

    ')) $this->error("dead", true, false, 2); 58 | elseif (stristr($data, 'Password: isRedirect($data)) { 60 | $post = $this->parseForm($this->lib->cut_str($data, '')); 61 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 62 | if ($this->isRedirect($data)) return trim($this->redirect); 63 | } else 64 | return trim($this->redirect); 65 | return false; 66 | } 67 | 68 | } 69 | 70 | /* 71 | * Open Source Project 72 | * New Vinaget by LTT 73 | * Version: 3.3 LTS 74 | * Tusfiles.net Download Plugin 75 | * Date: 01.09.2018 76 | */ -------------------------------------------------------------------------------- /changelog.txt: -------------------------------------------------------------------------------- 1 | v47: 2 | - Update 1fichier.com, alfafile.net, filefactory.com, filejoker.net, hitfile.net, katfile.cloud 3 | v46: 4 | - Update 1fichier.com, filextras.com, katfile.com 5 | v45: 6 | - Update fboom.me 7 | v44: 8 | - Update class.php 9 | v43: 10 | - Update fboom.me 11 | v42: 12 | - Update fboom.me 13 | - Update ajax.js 14 | v41: 15 | - Update uptobox.com, filefactory.com, hitfile.net, katfile.com 16 | - Update class.php 17 | v40: 18 | - Update turbobit.net, hitfile.net, k2s.cc 19 | - Update class.php 20 | v39: 21 | - Update class.php 22 | - Update extmatrix.com, prefiles.com, hotlink.cc, hitfile.net 23 | v38: 24 | - Update class.php 25 | - Update ajax.js 26 | - Update k2s.cc 27 | - Upscale theme size, add selectize.js 28 | - Fix bug check account 29 | v37: 30 | - JQuery upgrade to version 1.12.4 due to CVE-2017-16011 31 | - Add Data-Leakage notification 32 | v36: 33 | - Fix hosts.php 34 | - Update class.php 35 | v35: 36 | - Fix class.php 37 | - Update k2s.cc 38 | v34: 39 | - Fix class.php 40 | - Update nitroflare.com, uploadgig.com, icerbox.com, easybytez.com, filer.net, katfile.com 41 | v33: 42 | - Add worldbytez.com 43 | - Minor fix class.php 44 | v32: 45 | - Add filefox.cc, filer.net, florenfile.com, wupfile.com 46 | - Minor fix class.php 47 | v31: 48 | - Add chomikuj.pl 49 | - Add new lib function TrimCookies 50 | - Update lib function parseRedirect 51 | - Update lastest user agents string 52 | - Enhanced GUI 53 | v30: 54 | - Change how to get new update 55 | v29: 56 | - Fix Donate Account function 57 | v28: 58 | - Add fileshark.pl 59 | - Update .gitignore 60 | v27: 61 | - Update easybytez.com 62 | v26: 63 | - Hotfix for v25 64 | v25: 65 | - Support HTTPS downloading url while using SSL for vinaget 66 | - Update new Config Menu 67 | - Add option recaptcha v2 on login page 68 | v24: 69 | - Update fshare.vn 70 | v23: 71 | - Update 4share.vn 72 | - Fix check link turbobit.net 73 | v22: 74 | - Fix filesmonster.com 75 | - Add isra.cloud 76 | - Minor fix class.php 77 | v21: 78 | - Fix icerbox.com 79 | - Add hotlink.cc 80 | - Fix sort by Plugin/Premium Account Name in AdminCP 81 | - Remove catshare.net, tenlua.vn 82 | v20: 83 | - Fix uptobox.com 84 | v19: 85 | - Fix depositfiles.com, hitfile.net, novafile.com, uploadgig.com 86 | - Reformat code 87 | v18: 88 | - Update k2s.cc 89 | - Add option not filter cookie when save cookie 90 | - Update checkaccount.php 91 | - Support vinaget url:port 92 | v17: 93 | - Update upfile.vn, prefiles.com 94 | v16: 95 | - Fix html footer 96 | - Update icerbox.com 97 | v15: 98 | - Update 1fichier.com 99 | - Fix icerbox.com 100 | - Update class.php 101 | v14: 102 | - Upgrade to vinaget 2.7.0 rev.94 103 | v13: 104 | - Remove died hosts 105 | - Update chiasenhac.vn, hitfile.net, datafile.com 106 | - Restyle all code hosts 107 | - Support prefix domain host 108 | v12: 109 | - Update prefiles.com 110 | v11: 111 | - Add Hitfile.net 112 | - Update fshare.vn 113 | - Update class.php - worked with PHP 7 114 | - Update uptobox.com 115 | v10: 116 | - Update datafile.com: require chmod 666 datafile_descrypt.html 117 | - Update fshare.vn 118 | - Update README.md 119 | - Support quick link in ads shorten link service 120 | v9: 121 | - Add Uploadgig.com 122 | - Change up.4share.vn to 4share.vn 123 | - Change keep2share.cc, keep2s.cc to k2s.cc 124 | - Updated Novafile.com, Subyshare.com, Katfile.com, Share-online.biz, Yunfile.com 125 | - Updated GetCookies, GetAllCookies in class.php 126 | v8: 127 | - Change code rapidgator.net 128 | - Fix fshare.vn 129 | - Updated depfile.us 130 | v7: 131 | - Fixed uploaded.net 132 | - Change depfile.com to depfile.us 133 | - Updated depfile.us 134 | v6: 135 | - Support mega.nz 136 | - Small bugs fixes 137 | v5: 138 | - Add depfile.us 139 | - Updated extmatrix.com, rapidgator.net, depfile.com 140 | - Add class passredirect in class.php 141 | - Miss function delete account die in checkaccount.php 142 | v4: 143 | - Updated 1fichier.com, rapidgator.net 144 | - Fixed get wrong filename of download link 145 | - Added function not delete account die in menu check account 146 | - Fixed non-static class in class.php 147 | - Added prefiles.com, filejoker.net 148 | - Change to version 3.3 LTS 149 | v3: 150 | - Fixed overflow table admin cookie, account, checkacc 151 | - Updated alfafile.net, filefactory.com, depositfiles.com, yunfile.com, katfile.com, catshare.net, turbobit.net, rapidgator.net 152 | v2: 153 | - Small bugs fixed 154 | v1: 155 | - First release v3.2 Dev -------------------------------------------------------------------------------- /hosts/mediafire_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://www.mediafire.com/api/folder/get_content.php?r=jyxt&content_type=files&order_by=name&order_direction=asc&version=2.13&folder_key={$sharekey}&response_format=json", "", "", 0); 16 | if (stristr($data, 'Unknown or invalid FolderKey') || stristr($data, 'Required parameters')) { 17 | $this->error("dead", true, false, 2); 18 | } else { 19 | $quickkey = explode('"quickkey":', $data); 20 | $maxqk = count($quickkey); 21 | for ($i = 1; $i < $maxqk; $i++) { 22 | preg_match('%"(.+)","filename%U', $quickkey[$i], $code); 23 | preg_match('%filename":"(.+)",%U', $quickkey[$i], $filename); 24 | preg_match('%size":"(.+)",%U', $quickkey[$i], $filesize); 25 | if ($filesize[1] > 1024 * 1024 * 1024) { 26 | $size = round($filesize[1] / (1024 * 1024 * 1024), 2) . ' GB'; 27 | } else { 28 | $size = round($filesize[1] / (1024 * 1024), 2) . ' MB'; 29 | } 30 | 31 | //$list = "http://www.mediafire.com/download/".$code[1]."/".urlencode($filename[1])."
    "; 32 | $list = "http://www.mediafire.com/download/{$code[1]}/" . urlencode($filename[1]) . " | {$filename[1]} | {$size}
    "; 33 | echo $list; 34 | } 35 | } 36 | exit; 37 | } 38 | } 39 | 40 | public function CheckAcc($cookie) 41 | { 42 | $data = $this->lib->curl("https://www.mediafire.com/myaccount/billinghistory.php", $cookie, ""); 43 | $dt = $this->lib->curl("https://www.mediafire.com/myaccount.php", $cookie, ""); 44 | if (stristr($data, 'Billed on date of purchase') && !stristr($dt, '>Upgrade your Account<')) { 45 | return array(true, "Until " . $this->lib->cut_str($data, '
    ', '
    ')); 46 | } elseif (stristr($data, 'You are not currently and never have been a MediaPro') || stristr($dt, '>Upgrade your Account<')) { 47 | return array(false, "accfree"); 48 | } else { 49 | return array(false, "accinvalid"); 50 | } 51 | 52 | } 53 | 54 | public function Login($user, $pass) 55 | { 56 | $page1 = $this->lib->curl("http://www.mediafire.com/", "", ""); 57 | $cookies = $this->lib->GetCookies($page1); 58 | $page2 = $this->lib->curl("http://www.mediafire.com/dynamic/login.php?popup=1", $cookies, "login_email={$user}&login_pass={$pass}&login_remember=1&submit_login=Log%20in%20to%20MediaFire"); 59 | $cookie = "{$cookies};{$this->lib->GetCookies($page2)}"; 60 | 61 | return array(true, $cookie); 62 | } 63 | 64 | public function Leech($url) 65 | { 66 | if (stristr($url, "mediafire.com/?")) { 67 | $ex = explode("?", $url); 68 | $url = "http://www.mediafire.com/download/" . $ex[1]; 69 | } 70 | $url = preg_replace("@https?:\/\/(www\.)?mediafire\.com\/(view|edit|watch|listen|play)@", "http://www.mediafire.com/download", $url); 71 | list($url, $pass) = $this->linkpassword($url); 72 | $fileID = $this->exploder('/', $url, 4); 73 | if ($pass) { 74 | $data = $this->lib->curl("http://www.mediafire.com/?{$fileID}", $this->lib->cookie, "downloadp={$pass}"); 75 | } 76 | 77 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 78 | if (stristr($data, 'Please enter password to unlock this file')) { 79 | $this->error("reportpass", true, false); 80 | } elseif (stristr($data, "error.php")) { 81 | $this->error("dead", true, false, 2); 82 | } elseif (!$this->isRedirect($data)) { 83 | if (preg_match('/kNO = "(http:\/\/.+)";/i', $data, $giay)) { 84 | return trim($giay[1]); 85 | } 86 | 87 | } else { 88 | return trim($this->redirect); 89 | } 90 | 91 | return false; 92 | } 93 | 94 | } 95 | 96 | /* 97 | * Open Source Project 98 | * New Vinaget by LTT 99 | * Version: 3.3 LTS 100 | * Mediafire.com Download Plugin 101 | * Date: 01.09.2018 102 | */ 103 | -------------------------------------------------------------------------------- /hosts/fboom_me.php: -------------------------------------------------------------------------------- 1 | lib->curl("https://api.fboom.me/v1/users/me", $cook, "", 0, 1, "https://fboom.me/profile"); 8 | if (!$data || stristr($data, "Unauthorized")) { 9 | return array(false, "accinvalid"); 10 | } 11 | $json = @json_decode($data, true); 12 | if (isset($json["accountType"])) { 13 | if ($json["accountType"] == "premium" || $json["accountType"] == "premium_pro") { 14 | $data = $this->lib->curl("https://api.fboom.me/v1/users/me/statistic", $cook, "", 0, 1, "https://fboom.me/profile"); 15 | $json_quota = @json_decode($data, true); 16 | $quota = ""; 17 | if (isset($json_quota["dailyTraffic"])) {{ 18 | $quota = "
    Daily Traffic used: " . $this->lib->convertmb($json_quota["dailyTraffic"]["used"]) . " / " . $this->lib->convertmb($json_quota["dailyTraffic"]["total"]); 19 | }} 20 | if (isset($json["isLifetime"]) && $json["isLifetime"]) { 21 | return array(true, "Lifetime Subscription" . $quota); 22 | } 23 | return array(true, "Until " . $this->lib->convert_time($json["expires"]) . $quota); 24 | } 25 | return array(false, "accfree"); 26 | } else if (isset($json) && strlen($json) > 0) { 27 | return array(false, $json); 28 | } 29 | return array(false, "accinvalid"); 30 | } 31 | 32 | public function Login($user, $pass) 33 | { 34 | $json = array(); 35 | $json["client_id"] = "fb_web_app"; 36 | $json["client_secret"] = "3Zc7urWyORW3HsHX67NMTVnb"; 37 | if (isset($_REQUEST["captcha"]) && $_REQUEST["captcha"] == "reload" && isset($_REQUEST["captcha_cookie"])) { 38 | $cook = trim($_REQUEST["captcha_cookie"]); 39 | $data = $this->lib->curl("https://api.fboom.me/v1/users/me/captcha?v=" . mt_rand(), $cook, "", 0); 40 | $image_html = "
    " . $data . "
    "; 41 | $this->error("captcha image code '" . $cook . "' url '" . $image_html . "'", true, true); 42 | } 43 | if (!isset($_REQUEST["captcha_code"])) { 44 | $json["grant_type"] = "client_credentials"; 45 | $data = $this->lib->curl("https://api.fboom.me/v1/auth/token", "", json_encode($json), 1, 1); 46 | if (!stristr($data, "access_token")) { 47 | if (stristr($data, "captcha_need_wait")) { 48 | $this->error("Sorry, to many captcha login requests, you were banned for 30 minutes", true, false); 49 | } 50 | $this->error("blockIP", true, false); 51 | } 52 | $cook = $this->lib->GetCookies($data); 53 | } else { 54 | $cook = trim($_REQUEST["captcha_cookie"]); 55 | $json["captchaType"] = "classic"; 56 | $json["captchaValue"] = trim($_REQUEST["captcha_code"]); 57 | } 58 | 59 | $json["csrfToken"] = "65cc69550197e"; 60 | $json["grant_type"] = "password"; 61 | $json["username"] = $user; 62 | $json["password"] = $pass; 63 | $data = $this->lib->curl("https://api.fboom.me/v1/auth/token", $cook, json_encode($json), 1, 1); 64 | if (stristr($data, "Invalid credentials")) { 65 | return array(false, ""); 66 | } else if (preg_match('/"message":"(.*?)"/', $data, $mess)) { 67 | if (stristr($data, "captcha_required")) { 68 | $data = $this->lib->curl("https://api.fboom.me/v1/users/me/captcha?v=" . mt_rand(), $cook, "", 0); 69 | $image_html = "
    " . $data . "
    "; 70 | $this->error("captcha image code '$cook' url '" . $image_html . "'", true, true); 71 | } 72 | $this->error($mess[1], true, true); 73 | } 74 | $cookie = $this->lib->GetCookies($data); 75 | return array(true, $cookie); 76 | } 77 | 78 | public function Leech($url) 79 | { 80 | if (preg_match('/\/file\/(.*?)[\/|?]/', $url, $match) || preg_match('/\/file\/(.*)/', $url, $match)) { 81 | $id = trim($match[1]); 82 | $data = $this->lib->curl("https://api.fboom.me/v1/files/" . $id . "/download?referer=", $this->lib->cookie, "", 0); 83 | $json = @json_decode($data, true); 84 | if (isset($json["downloadUrl"])) { 85 | return trim($json["downloadUrl"]); 86 | } 87 | } 88 | 89 | return false; 90 | } 91 | } 92 | 93 | /* 94 | * Open Source Project 95 | * New Vinaget by LTT 96 | * Version: 3.3 LTS 97 | * Fboom.me Download Plugin 98 | * Date: 17.03.2024 99 | */ 100 | -------------------------------------------------------------------------------- /hosts/filefactory_com.php: -------------------------------------------------------------------------------- 1 | lib->curl($url, "", ""); 10 | if (stristr($data, ""; 17 | $list = "http://www.filefactory.com/file/" . $code[1] . "/" . urlencode($fn[1]) . "
    "; 18 | echo $list; 19 | } 20 | exit; 21 | } else { 22 | $this->error("dead", true, false, 2); 23 | } 24 | 25 | } 26 | } 27 | 28 | public function CheckAcc($cookie) 29 | { 30 | $data = $this->lib->curl("https://www.filefactory.com/account/", "locale=en_US.utf8;" . $cookie, ""); 31 | if (stristr($data, 'Premium valid until:')) { 32 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium valid until: ', '">')); 33 | } elseif(stristr($data, 'Unlimited')) { 34 | return array(true, "Lifetime Account. Unlimited Bandwidth!"); 35 | } elseif (stristr($data, 'Free Member')) { 36 | return array(false, "accfree"); 37 | } 38 | return array(false, "accinvalid"); 39 | } 40 | 41 | public function Login($user, $pass) 42 | { 43 | $data = $this->lib->curl("https://www.filefactory.com", "locale=en_US.utf8", ""); 44 | $cookies = $this->lib->Getcookies($data); 45 | $post["loginEmail"] = $user; 46 | $post["loginPassword"] = $pass; 47 | $post['Submit'] = "Sign%20In"; 48 | $data = $this->lib->curl("https://www.filefactory.com/member/signin.php", "locale=en_US.utf8; {$cookies}", $post); 49 | if (stristr($data, 'code=160')) { 50 | $this->error("You are unable to access our servers at this time as a precautionary measure against potential abuse.", true, false); 51 | } 52 | return array(true, "locale=en_US.utf8; {$cookies};" . $this->lib->GetCookies($data)); 53 | } 54 | 55 | public function Leech($url) 56 | { 57 | list($url, $pass) = $this->linkpassword($url); 58 | $url = preg_replace("@https?:\/\/(www\.)?filefactory\.com@", "http://www.filefactory.com", $url); 59 | $url = $this->getredirect($url); 60 | if (stristr($url, 'code=273')) { 61 | $this->error("You have exceeded the file or folder password attempt limit. Please try the download again later.", true, false); 62 | } elseif (stristr($url, 'code=251')) { 63 | $this->error("dead", true, false, 2); 64 | } elseif (stristr($url, 'code=253')) { 65 | $this->error("Server Maintenance", true, false); 66 | } 67 | 68 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 69 | 70 | if (stristr($data, 'File Unavailable

    ')) { 71 | $this->error("dead", true, false, 2); 72 | } 73 | 74 | if ($pass) { 75 | $post["password"] = $pass; 76 | $post["Submit"] = "Continue"; 77 | $data = $this->lib->curl($url, $this->lib->cookie, $post); 78 | if (stristr($data, 'The Password entered was incorrect.') || stristr($data, 'The Password is required')) { 79 | $this->error("wrongpass", true, false, 2); 80 | } elseif (!$this->isRedirect($data)) { 81 | if (preg_match('/href="(https?:\/\/.+filefactory\.com\/get\/.+)" class/i', $data, $link)) { 82 | return trim($link[1]); 83 | } 84 | 85 | } else { 86 | return trim($this->redirect); 87 | } 88 | 89 | } 90 | if (stristr($data, 'name="password" id="password" type="password"')) { 91 | $this->error("reportpass", true, false); 92 | } elseif (!$this->isRedirect($data)) { 93 | if (preg_match('/href="(https?:\/\/.+filefactory\.com\/get\/.+)">/i', $data, $link)) { 94 | return trim($link[1]); 95 | } 96 | 97 | } else { 98 | return trim($this->redirect); 99 | } 100 | 101 | return false; 102 | } 103 | 104 | } 105 | 106 | /* 107 | * Open Source Project 108 | * New Vinaget by LTT 109 | * Version: 3.3 LTS 110 | * Filefactory.com Download Plugin 111 | * Date: 19.11.2025 112 | */ 113 | -------------------------------------------------------------------------------- /hosts/uploadboy_com.php: -------------------------------------------------------------------------------- 1 | lib->curl("http://uploadboy.com/?op=my_account", "lang=english;{$cookie}", ""); 9 | if (stristr($data, 'Premium account expire')) { 10 | return array(true, "Until " . $this->lib->cut_str($data, 'Premium account expire:', '')); 11 | } else if (stristr($data, 'Payment info') && !stristr($data, 'Premium account expire:')) { 12 | return array(false, "accfree"); 13 | } else { 14 | return array(false, "accinvalid"); 15 | } 16 | 17 | } 18 | 19 | public function Login($user, $pass) 20 | { 21 | $data = $this->lib->curl("http://uploadboy.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect=http://uploadboy.com/"); 22 | $cookie = "lang=english;{$this->lib->GetCookies($data)}"; 23 | 24 | return array(true, $cookie); 25 | } 26 | 27 | public function FreeLeech($url) 28 | { 29 | list($url, $pass) = $this->linkpassword($url); 30 | $data = $this->lib->curl($url, "", ""); 31 | $this->save($this->lib->GetCookies($data)); 32 | if (stristr($data, 'The file was deleted by its owner')) { 33 | $this->error("dead", true, false, 2); 34 | } 35 | 36 | if (!stristr($data, 'method_free" value=" Free Download "')) { 37 | $this->error("Cannot get Free Download", true, false); 38 | } else { 39 | $post = $this->parseForm($this->lib->cut_str($data, 'lib->curl($url, $this->lib->cookie, $post); 43 | $this->save($this->lib->GetCookies($data)); 44 | if ($pass) { 45 | $post1 = $this->parseForm($this->lib->cut_str($data, '')); 46 | $post1['password'] = $pass; 47 | $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); 48 | if (stristr($data1, 'Wrong password')) { 49 | $this->error("wrongpass", true, false, 2); 50 | } elseif (preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) { 51 | return trim($giay[0]); 52 | } 53 | 54 | } 55 | if (stristr($data, 'type="password" name="password')) { 56 | $this->error("reportpass", true, false); 57 | } elseif (!stristr($data, 'value="Create Download Link')) { 58 | $this->error("Cannot get Create Download Link", true, false); 59 | } else { 60 | $post1 = $this->parseForm($this->lib->cut_str($data, '')); 61 | $data1 = $this->lib->curl($url, $this->lib->cookie, $post1); 62 | if (preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data1, $giay)) { 63 | return trim($giay[0]); 64 | } 65 | 66 | } 67 | } 68 | return false; 69 | } 70 | 71 | public function Leech($url) 72 | { 73 | list($url, $pass) = $this->linkpassword($url); 74 | $data = $this->lib->curl($url, $this->lib->cookie, ""); 75 | if (stristr($data, 'The file was deleted by its owner')) { 76 | $this->error("dead", true, false, 2); 77 | } 78 | 79 | if ($pass) { 80 | $post0 = $this->parseForm($this->lib->cut_str($data, '')); 81 | $post0["password"] = $pass; 82 | $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); 83 | if (stristr($data0, 'Wrong password')) { 84 | $this->error("wrongpass", true, false, 2); 85 | } elseif (preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) { 86 | return trim($giay[0]); 87 | } 88 | 89 | } 90 | if (stristr($data, 'type="password" name="password')) { 91 | $this->error("reportpass", true, false); 92 | } elseif (!$this->isRedirect($data)) { 93 | $post0 = $this->parseForm($this->lib->cut_str($data, '')); 94 | $data0 = $this->lib->curl($url, $this->lib->cookie, $post0); 95 | if (preg_match('@https?:\/\/(\w+\.)?uploadboy\.com(:\d+)?\/d\/[^"\'><\r\n\t]+@i', $data0, $giay)) { 96 | return trim($giay[0]); 97 | } 98 | 99 | } else { 100 | return trim($this->redirect); 101 | } 102 | 103 | return false; 104 | } 105 | 106 | } 107 | 108 | /* 109 | * Open Source Project 110 | * New Vinaget by LTT 111 | * Version: 3.3 LTS 112 | * Uploadboy.com Download Plugin 113 | * Date: 01.09.2018 114 | */ 115 | --------------------------------------------------------------------------------