Permalink
Browse files

Revert "Update v9"

This reverts commit a437345.
  • Loading branch information...
ltt2801 committed Nov 25, 2017
1 parent a437345 commit b54e11f36a6af3bb3a079cb6e018294c3d774fb4
Showing with 107 additions and 154 deletions.
  1. +0 −6 changelog.txt
  2. +2 −2 class.php
  3. +0 −39 hosts/4share_vn.php
  4. +2 −3 hosts/hosts.php
  5. +0 −40 hosts/k2s_cc.php
  6. +0 −3 hosts/keep2s_cc.php
  7. +40 −1 hosts/keep2share_cc.php
  8. +8 −7 hosts/novafile_com.php
  9. +10 −12 hosts/subyshare_com.php
  10. +43 −1 hosts/up_4share_vn.php
  11. +0 −38 hosts/uploadgig_com.php
  12. +1 −1 index.php
  13. +1 −1 version.txt
@@ -1,9 +1,3 @@
v9:
- Add Uploadgig.com
- Change up.4share.vn to 4share.vn
- Change keep2share.cc, keep2s.cc to k2s.cc
- Updated Novafile.com, Subyshare.com
- Updated GetCookies, GetAllCookies in class.php
v8:
- Change code rapidgator.net
- Fix fshare.vn
@@ -816,7 +816,7 @@ public function cut_str($str, $left, $right)
public function GetCookies($content)
{
preg_match_all('/Set-Cookie: (.*);/ui', $content, $temp);
preg_match_all('/Set-Cookie: (.*);/U', $content, $temp);
$cookie = $temp[1];
$cookies = "";
$a = array();
@@ -837,7 +837,7 @@ public function GetAllCookies($page)
$lines = explode("\n", $page);
$retCookie = "";
foreach ($lines as $val) {
preg_match('/Set-Cookie: (.*)/i', $val, $temp);
preg_match('/Set-Cookie: (.*)/', $val, $temp);
if (isset($temp[1])) {
if ($cook = substr($temp[1], 0, stripos($temp[1], ';'))) {
$retCookie .= $cook . ";";
@@ -1,39 +0,0 @@
<?php
class dl_4share_vn extends Download {
public function CheckAcc($cookie) {
$data = $this->lib->curl('http://4share.vn/member', $cookie, '');
if(stristr($data, 'còn <b>0</b> ngày sử dụng')) return array(true, 'accfree');
elseif(stristr($data, '>Ngày hết hạn: <')) return array(true, 'Until ' .$this->lib->cut_str($data, 'Ngày hết hạn: <b>', '</b> (còn'). '<br/> Traffic avaiable: ' .$this->lib->cut_str($data, ') : <strong>', '</strong> [Tất cả: <strong>').' of '.$this->lib->cut_str($data, '[Tất cả: <strong>', '</strong>]<br'));
else return array(false, 'accinvalid');
}
public function Login($user, $pass) {
$data = $this->lib->curl('http://4share.vn/index/login', '', 'username='.$user.'&password='.$pass.'&submit= ĐĂNG NHẬP ');
return $this->lib->GetCookies($data);
}
public function Leech($link) {
list($url, $pass) = $this->linkpassword($link);
$page = $this->lib->curl($link, $this->lib->cookie, '');
if($pass) $page = $this->lib->curl($url, $this->lib->cookie, "password_download_input={$pass}");
if (stristr($page, 'Bạn đợi ít phút để download file này!')) $this->error('Bạn đợi ít phút để download file này!', true, false);
elseif (stristr($page, 'File is deleted?') || stristr($page,'File không tồn tại?')) $this->error('File is deleted? (' .$this->lib->cut_str($page, 'File is deleted? (', ')<'). ')', true, false, 2);
elseif(stristr($page,"File này có password, bạn nãy nhập password để download")) $this->error("reportpass", true, false);
elseif (preg_match('@https?:\/\/sv\d+\.4share\.vn\/\d+\/\?info=[^\'\r\n]+@i', $page, $dlink))return trim($dlink[0]);
$this->lib->save_cookies($this->site, '');
return false;
}
}
/*
* Open Source Project
* New Vinaget by LTT❤
* Version: 3.3 LTSB
* 4share.vn Download Plugin
* Date: 31.10.2017
*/
?>
@@ -6,7 +6,7 @@
$alias['depositfiles.org'] = 'depositfiles.com';
$alias['ul.to'] = 'uploaded.net';
$alias['uploaded.to'] = 'uploaded.net';
$alias['up.4share.vn'] = '4share.vn';
$alias['4share.vn'] = 'up.4share.vn';
$alias['playlist.chiasenhac.com'] = 'chiasenhac.com';
$alias['d01.megashares.com'] = 'megashares.com';
$alias['fp.io'] = 'filepost.com';
@@ -17,8 +17,7 @@
$alias['dfpan.com'] = 'yunfile.com';
$alias['my.rapidshare.com'] = 'rapidshare.com';
$alias['ifile.it'] = 'filecloud.io';
$alias['keep2s.cc'] = 'k2s.cc';
$alias['keep2share.cc'] = 'k2s.cc';
$alias['k2s.cc'] = 'keep2share.cc';
$alias['putlocker.com'] = 'firedrive.com';
$alias['rg.to'] = 'rapidgator.net';
$alias['dl3.junocloud.me'] = 'junocloud.me';
@@ -1,40 +0,0 @@
<?php
class dl_k2s_cc extends Download {
public function CheckAcc($cookie){
$data = $this->lib->curl("http://k2s,cc", $cookie, "");
if(stristr($data, 'Premium expires:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium expires: <b>','</b>'));
else if(stristr($data, '<a href="/premium.html" class="free">Free</a>')) return array(true, "accfree");
else return array(false, "accinvalid");
}
public function Login($user, $pass){
$data = $this->lib->curl("http://k2s.cc/login.html", "", "LoginForm[username]={$user}&LoginForm[password]={$pass}&LoginForm[rememberMe]=1&yt0=login");
$cookie = $this->lib->GetCookies($data);
return $cookie;
}
public function Leech($url) {
$data = $this->lib->curl($url, $this->lib->cookie, "");
if(stristr($data,"File not found or deleted") && stristr($data,">Error 404<")) $this->error("dead", true, false, 2);
elseif(stristr($data,"Traffic limit exceed!<br>")) $this->error("LimitAcc", true, false);
elseif(!$this->isredirect($data)) {
$id = $this->lib->cut_str($data, 'window.location.href = \'', '\';');
$giay = $this->lib->curl("http://k2s.cc".trim($id), $this->lib->cookie, "");
if($this->isredirect($giay)) return trim($this->redirect);
}
else return trim($this->redirect);
return false;
}
}
/*
* Open Source Project
* New Vinaget by LTT❤
* Version: 3.3 LTSB
* K2s.cc Download Plugin
* Date: 25.11.2017
*/
?>

This file was deleted.

Oops, something went wrong.
@@ -1,3 +1,42 @@
<?php
// referer to k2s_cc.php
class dl_keep2share_cc extends Download {
public function CheckAcc($cookie){
$data = $this->lib->curl("http://keep2share.cc", $cookie, "");
if(stristr($data, 'Premium expires:')) return array(true, "Until ".$this->lib->cut_str($data, 'Premium expires: <b>','</b>'));
else if(stristr($data, '<a href="/premium.html" class="free">Free</a>')) return array(true, "accfree");
else return array(false, "accinvalid");
}
public function Login($user, $pass){
$data = $this->lib->curl("http://keep2share.cc/login.html", "", "LoginForm[username]={$user}&LoginForm[password]={$pass}&LoginForm[rememberMe]=1&yt0=login");
$cookie = $this->lib->GetCookies($data);
return $cookie;
}
public function Leech($url) {
$url = str_replace("k2s.cc", "keep2share.cc", $url);
$data = $this->lib->curl($url, $this->lib->cookie, "");
if(stristr($data,"File not found or deleted") && stristr($data,">Error 404<")) $this->error("dead", true, false, 2);
elseif(stristr($data,"Traffic limit exceed!<br>")) $this->error("LimitAcc", true, false);
elseif(!$this->isredirect($data)) {
$id = $this->lib->cut_str($data, 'window.location.href = \'', '\';');
$giay = $this->lib->curl("http://keep2share.cc".trim($id), $this->lib->cookie, "");
if($this->isredirect($giay)) return trim($this->redirect);
}
else return trim($this->redirect);
return false;
}
}
/*
* Open Source Project
* Vinaget by ..::[H]::..
* Version: 2.7.0
* Downloader Class By [FZ]
* Keep2share Download plugin By giaythuytinh176 [3.12.2013][fixed link]
* Date: 30.7.2013
*/
?>
@@ -3,17 +3,17 @@
class dl_novafile_com extends Download {
public function CheckAcc($cookie){
$data = $this->lib->curl("https://novafile.com/?op=my_account", "lang=english;{$cookie}", "");
$data = $this->lib->curl("http://novafile.com/?op=my_account", "lang=english;{$cookie}", "");
if(stristr($data, 'Premium account expires:')) {
$checkbw = $this->lib->curl("https://novafile.com/?op=my_account", "lang=english;{$cookie}", "");
$checkbw = $this->lib->curl("http://novafile.com/?op=my_account", "lang=english;{$cookie}", "");
return array(true, "Until ".$this->lib->cut_str($data, 'Premium Account expires:','<a href="') ."<br/> Traffic Available: " .$this->lib->cut_str($this->lib->cut_str($checkbw, '<td>Traffic Available:</td>','</tr>'), '<td>','</td>'));
}
elseif(stristr($data, 'FREE - member')) return array(false, "accfree");
else return array(false, "accinvalid");
}
public function Login($user, $pass){
$data = $this->lib->curl("https://novafile.com/login", "lang=english", "login={$user}&password={$pass}&op=login&rand=&redirect=");
$data = $this->lib->curl("http://novafile.com/login", "lang=english", "login={$user}&password={$pass}&op=login&rand=&redirect=");
return "lang=english;{$this->lib->GetCookies($data)}";
}
@@ -35,9 +35,10 @@ public function Leech($url){
/*
* Open Source Project
* New Vinaget by LTT❤
* Version: 3.3 LTSB
* Novafile.com Download Plugin
* Date: 15.11.2017
* Vinaget by ..::[H]::..
* Version: 2.7.0
* Novafile Download Plugin
* Downloader Class By [FZ]
* Fixed download by giaythuytinh176 [20.7.2013]
*/
?>
@@ -3,16 +3,15 @@
class dl_subyshare_com extends Download {
public function CheckAcc($cookie){
$data = $this->lib->curl("https://subyshare.com/account/profile", $cookie, "");
if(stristr($data, 'PREMIUM User') && stristr($data, 'Expiration date')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, 'Expiration date</label>','</div>'), 'class="form-control-static">','</p>') . "<br>Traffic: ".$this->lib->cut_str($this->lib->cut_str($data, 'Traffic</label>','</div>'), 'class="form-control-static">','</p>'));
else if(stristr($data, 'REGISTERED User')) return array(false, "accfree");
$data = $this->lib->curl("http://subyshare.com/?op=my_account", $cookie, "");
if(stristr($data, 'Premium account expire:') && stristr($data, '<strong>PREMIUM</strong>')) return array(true, "Until ".$this->lib->cut_str($this->lib->cut_str($data, '>Premium account expire:','</span>'), ' <b>','</b>'));
else if(stristr($data, '<strong>REGISTERED</strong> ') && !stristr($data, 'Premium account expire:')) return array(false, "accfree");
else return array(false, "accinvalid");
}
public function Login($user, $pass){
$data = $this->lib->curl("https://subyshare.com/", "lang=english", "op=login&login={$user}&password={$pass}");
if(stristr($data, 'Your IP is banned')) die('Your IP is banned, cannot login');
$cookie = "lang=english; {$this->lib->GetCookies($data)}";
$data = $this->lib->curl("http://subyshare.com/", "lang=english;", "op=login&login={$user}&password={$pass}");
$cookie = "lang=english; {$this->lib->GetCookies($data)}";
return $cookie;
}
@@ -26,7 +25,7 @@ public function Leech($url) {
if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2);
elseif($this->isredirect($data)) return trim($this->redirect);
}
if(stristr($data,'File Not Found</title>') || stristr($data,'<h3>The file you\'re looking for is not here</h3>')) $this->error("dead", true, false, 2);
if(stristr($data,'<h2>File Not Found</h2>') || stristr($data,'<h3>The file was removed by administrator</h3>')) $this->error("dead", true, false, 2);
elseif(stristr($data,'<small>Password:</small> <input class="bttn')) $this->error("reportpass", true, false);
elseif(!$this->isredirect($data)) {
$post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>'));
@@ -39,12 +38,11 @@ public function Leech($url) {
}
/*
* Open Source Project
* New Vinaget by LTT❤
* Version: 3.3 LTSB
* Subyshare.com Download Plugin
* Date: 15.11.2017
* Vinaget by ..::[H]::..
* Version: 2.7.0
* Tusfiles Download Plugin by thanhduongdj [15.10.2014]
* Downloader Class By [FZ]
*/
?>
@@ -1,3 +1,45 @@
<?php
// referer to 4share_vn.php
class dl_up_4share_vn extends Download {
public function CheckAcc($cookie) {
$data = $this->lib->curl('http://up.4share.vn/member', $cookie, '');
if(stristr($data, 'còn <b>0</b> ngày sử dụng')) return array(true, 'accfree');
elseif(stristr($data, '>Ngày hết hạn: <')) return array(true, 'Until ' .$this->lib->cut_str($data, 'Ngày hết hạn: <b>', '</b> (còn'). '<br/> Traffic avaiable:' .$this->lib->cut_str($data, 'Bạn đã download từ 4Share hôm nay : <strong>', '</strong> [Tất cả: <strong>').' of '.$this->lib->cut_str($data, '[Tất cả: <strong>', '</strong>]<br'));
else return array(false, 'accinvalid');
}
public function Login($user, $pass) {
$data = $this->lib->curl('http://up.4share.vn/index/login', '', 'username='.$user.'&password='.$pass.'&submit= ĐĂNG NHẬP ');
return $this->lib->GetCookies($data);
}
public function Leech($link) {
list($url, $pass) = $this->linkpassword($link);
$page = $this->lib->curl($link, $this->lib->cookie, '');
if($pass) $page = $this->lib->curl($url, $this->lib->cookie, "password_download_input={$pass}");
if (stristr($page, 'Bạn đợi ít phút để download file này!')) $this->error('Bạn đợi ít phút để download file này!', true, false);
elseif (stristr($page, 'File is deleted?') || stristr($page,'File không tồn tại?')) $this->error('File is deleted? (' .$this->lib->cut_str($page, 'File is deleted? (', ')<'). ')', true, false, 2);
elseif(stristr($page,"File này có password, bạn nãy nhập password để download")) $this->error("reportpass", true, false);
elseif (preg_match('@https?:\/\/sv\d+\.4share\.vn\/\d+\/\?info=[^\'\r\n]+@i', $page, $dlink))return trim($dlink[0]);
$this->lib->save_cookies($this->site, '');
return false;
}
}
/*
http://up.4share.vn/f/2516101316111016|chickenlam
* Open Source Project
* Vinaget by ..::[H]::..
* Version: 2.7.0
* 4Share.VN Download Plugin
* Downloader Class By [FZ]
* Plugin By giaythuytinh176
* Date: 16.7.2013
* Check account included - 18.7
* Fix login 4share [21.7.2013]
* Support file password by giaythuytinh176 [29.7.2013]
* Fixed check account by giaythuytinh176 [29.7.2013]
*/
?>

This file was deleted.

Oops, something went wrong.
@@ -25,7 +25,7 @@
$obj = new stream_get();
$obj->using = $using;
$obj->current_version = 93;
$obj->ltt_version = 9;
$obj->ltt_version = 8;
$obj->msg = false;
if (!empty($_COOKIE['msg'])) $obj->msg = htmlspecialchars($_COOKIE['msg']);
setcookie('msg', '');
@@ -1 +1 @@
9
8

0 comments on commit b54e11f

Please sign in to comment.