Advertisement
Guest User

upstore_net

a guest
Apr 25th, 2019
1,426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. <?php if (preg_match('#^http://([a-z0-9]+)\.upstore\.net/#', $url) || preg_match('#^http://upstore\.net/#', $url)){ $maxacc = count($this->acc['upstore.net']['accounts']); if($maxacc > 0){ for ($k=0; $k < $maxacc; $k++) { $account = trim($this->acc['upstore.net']['accounts'][$k]); if (stristr($account,':')) list($user, $pass) = explode(':',$account); else $cookie = $account; if(empty($cookie)==false || ($user && $pass)){ for ($j=0; $j < 2; $j++){ if(!$cookie) $cookie = $this->get_cookie("upstore.net"); if(!$cookie){ $data = $this->curl("http://upstore.net/account/login/",'',"url=http%3A%2F%2Fupstore.net%2Faccount%2Flogin%2F&email=$user&password=$pass&send=Login"); print_r($data); $cookie = $this->GetCookies($data); $this->save_cookies("upstore.net",$cookie); } $this->cookie = $cookie; $data = $this->curl($url,$cookie,""); //print_r($data); if (strstr($data,"File was deleted by owner or due to a violation of service rules")) die('<font color="red">File not found</font>'); else { preg_match('/<input type="hidden" name="hash" value="(.*?)">/',$data,$matches); $post['hash'] = $matches[1]; $post['antispam'] = "spam"; $data = $this->curl("http://upstore.net/load/premium/",$cookie,$post); echo $data; if (stristr($data,'your file is temporary unavailable')) die(Tools_get::report($Original,"dead")); if(stristr($data,"you have reached a download limit for today (20 GB)"))die('<font color=red>bandwidth limit reached</font>'); if(preg_match('/href="(.*?)">Click/i',$data,$matches)){ $link = $matches[1]; $size_name = Tools_get::size_name($link, $this->cookie); $filesize = $size_name[0]; $filename = $size_name[1]; break; } } } if($link) break; } } } } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement