Sada
11-17-2011, 12:45 AM
2. uploaded.to (Updated: 24 Oct 2011)1
برای لینک ها با فرمت زیر
uploaded_to.php
<?php
if (preg_match('#^http://([a-z0-9]+)\.uploaded\.to/#', $url) || preg_match('#^http://uploaded\.to/#', $url)){
list($user, $pass) = explode(':', $this->get_account('uploaded.to'));
if(empty($user)==false && empty($pass)==false){
################################################## ##########################
# Post our id(Username) & pw(Password) variables to uploaded.to Login Form #
################################################## ##########################
$data = $this->curl("http://uploaded.to/io/login",'',"id=$user&pw=$pass");
//echo "<br><br>data = " . $data;
########################
# Retrieve our cookies #
########################
$cookie = $this->GetCookies($data);
//echo "<br><br>cookie = " . $cookie;
$this->cookies .= $cookie;
################################################## ##################
# Extract URL, filename and filesize variables from generated page #
################################################## ##################
$data = $this->curl($url,$this->cookies,"");
//error_log($data, 3, "uploaded.to.txt");
$URL = $this->cut_str($data, "<form method=\"post\" action=\"http://", "\" style=\"width:290px;margin-left:-2px\">");
$URL = trim("http://" . $URL);
//echo "<br><br>URL = " . $URL;
$ch = curl_init($URL);
curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_COOKIE, $this->cookies);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 60);
$data = curl_exec($ch);
curl_close($ch);
//echo "<br><br>data = " . $data;
if (preg_match('/Content-Length: (\d+)/', $data, $matches)) {
$filesize = (int)$matches[1];
}
//echo "<br><br>filesize = " . $filesize;
if (preg_match('/filename="(.*)"/', $data, $matches)) {
$filename = $matches[1];
}
//echo "<br><br>filename = " . $filename;
}
}
# plugin by ..:: [H] ::..
# updated by afterburnerleech.com (24 Oct 2011)
?>
برای لینک های کوتاه این هاستر
this additional plugin is to support uploaded.to link in ul.to format
ul_to.php
<?php
if (preg_match('#^http://([a-z0-9]+)\.ul\.to/#', $url) || preg_match('#^http://ul\.to/#', $url)){
list($user, $pass) = explode(':', $this->get_account('uploaded.to'));
if(empty($user)==false && empty($pass)==false){
################################################## ##########################
# Post our id(Username) & pw(Password) variables to uploaded.to Login Form #
################################################## ##########################
$data = $this->curl("http://uploaded.to/io/login",'',"id=$user&pw=$pass");
//echo "<br><br>data = " . $data;
########################
# Retrieve our cookies #
########################
$cookie = $this->GetCookies($data);
//echo "<br><br>cookie = " . $cookie;
$this->cookies .= $cookie;
################################################## ##################
# Extract URL, filename and filesize variables from generated page #
################################################## ##################
$data = $this->curl($url,$this->cookies,"");
//echo "<br><br>data = " . $data;
if(preg_match ( '/ocation: (.*)/', $data, $linkpre)){
$url = trim ( $linkpre[1] );
$data = $this->curl($url,$this->cookies,"");
}
//error_log($data, 3, "uploaded.to.txt");
$URL = $this->cut_str($data, "<form method=\"post\" action=\"http://", "\" style=\"width:290px;margin-left:-2px\">");
$URL = trim("http://" . $URL);
//echo "<br><br>URL = " . $URL;
$ch = curl_init($URL);
curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_COOKIE, $this->cookies);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 60);
$data = curl_exec($ch);
curl_close($ch);
//echo "<br><br>data = " . $data;
if (preg_match('/Content-Length: (\d+)/', $data, $matches)) {
$filesize = (int)$matches[1];
}
//echo "<br><br>filesize = " . $filesize;
if (preg_match('/filename="(.*)"/', $data, $matches)) {
$filename = $matches[1];
}
//echo "<br><br>filename = " . $filename;
}
}
# plugin by ..:: [H] ::..
# updated by afterburnerleech.com (24 Oct 2011)
?>
فایل اماده را از ضمیمه دانلود کنید.
پلاگین های جدید را به پوشه hosts کپی کنید.
به تاریخ پلاگین ها توجه کنید.
برای لینک ها با فرمت زیر
uploaded_to.php
<?php
if (preg_match('#^http://([a-z0-9]+)\.uploaded\.to/#', $url) || preg_match('#^http://uploaded\.to/#', $url)){
list($user, $pass) = explode(':', $this->get_account('uploaded.to'));
if(empty($user)==false && empty($pass)==false){
################################################## ##########################
# Post our id(Username) & pw(Password) variables to uploaded.to Login Form #
################################################## ##########################
$data = $this->curl("http://uploaded.to/io/login",'',"id=$user&pw=$pass");
//echo "<br><br>data = " . $data;
########################
# Retrieve our cookies #
########################
$cookie = $this->GetCookies($data);
//echo "<br><br>cookie = " . $cookie;
$this->cookies .= $cookie;
################################################## ##################
# Extract URL, filename and filesize variables from generated page #
################################################## ##################
$data = $this->curl($url,$this->cookies,"");
//error_log($data, 3, "uploaded.to.txt");
$URL = $this->cut_str($data, "<form method=\"post\" action=\"http://", "\" style=\"width:290px;margin-left:-2px\">");
$URL = trim("http://" . $URL);
//echo "<br><br>URL = " . $URL;
$ch = curl_init($URL);
curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_COOKIE, $this->cookies);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 60);
$data = curl_exec($ch);
curl_close($ch);
//echo "<br><br>data = " . $data;
if (preg_match('/Content-Length: (\d+)/', $data, $matches)) {
$filesize = (int)$matches[1];
}
//echo "<br><br>filesize = " . $filesize;
if (preg_match('/filename="(.*)"/', $data, $matches)) {
$filename = $matches[1];
}
//echo "<br><br>filename = " . $filename;
}
}
# plugin by ..:: [H] ::..
# updated by afterburnerleech.com (24 Oct 2011)
?>
برای لینک های کوتاه این هاستر
this additional plugin is to support uploaded.to link in ul.to format
ul_to.php
<?php
if (preg_match('#^http://([a-z0-9]+)\.ul\.to/#', $url) || preg_match('#^http://ul\.to/#', $url)){
list($user, $pass) = explode(':', $this->get_account('uploaded.to'));
if(empty($user)==false && empty($pass)==false){
################################################## ##########################
# Post our id(Username) & pw(Password) variables to uploaded.to Login Form #
################################################## ##########################
$data = $this->curl("http://uploaded.to/io/login",'',"id=$user&pw=$pass");
//echo "<br><br>data = " . $data;
########################
# Retrieve our cookies #
########################
$cookie = $this->GetCookies($data);
//echo "<br><br>cookie = " . $cookie;
$this->cookies .= $cookie;
################################################## ##################
# Extract URL, filename and filesize variables from generated page #
################################################## ##################
$data = $this->curl($url,$this->cookies,"");
//echo "<br><br>data = " . $data;
if(preg_match ( '/ocation: (.*)/', $data, $linkpre)){
$url = trim ( $linkpre[1] );
$data = $this->curl($url,$this->cookies,"");
}
//error_log($data, 3, "uploaded.to.txt");
$URL = $this->cut_str($data, "<form method=\"post\" action=\"http://", "\" style=\"width:290px;margin-left:-2px\">");
$URL = trim("http://" . $URL);
//echo "<br><br>URL = " . $URL;
$ch = curl_init($URL);
curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_COOKIE, $this->cookies);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 60);
$data = curl_exec($ch);
curl_close($ch);
//echo "<br><br>data = " . $data;
if (preg_match('/Content-Length: (\d+)/', $data, $matches)) {
$filesize = (int)$matches[1];
}
//echo "<br><br>filesize = " . $filesize;
if (preg_match('/filename="(.*)"/', $data, $matches)) {
$filename = $matches[1];
}
//echo "<br><br>filename = " . $filename;
}
}
# plugin by ..:: [H] ::..
# updated by afterburnerleech.com (24 Oct 2011)
?>
فایل اماده را از ضمیمه دانلود کنید.
پلاگین های جدید را به پوشه hosts کپی کنید.
به تاریخ پلاگین ها توجه کنید.