Sada
11-17-2011, 01:31 AM
7. filepost.com (Updated: 25 Oct 2011)1
filepost_com.php
<?php
if (preg_match('#^http://([a-z0-9]+)\.filepost\.com/#', $url) || preg_match('#^http://filepost\.com/#', $url)){
list($user, $pass) = explode(':', $this->get_account('filepost.com'));
if(empty($user)==false && empty($pass)==false){
$header = $this->curl("http://filepost.com/general/login_form",'',"email=$user&password=$pass");
//echo "<br><br>header = " . $header;
$cookie = $this->GetCookies($header);
//echo "<br><br>cookie = " . $cookie;
$this->cookies = $cookie;
$data = $this->curl($url,$this->cookies,"");
//error_log($data, 3, "filepost.com.txt");
$URL = $this->cut_str($data, "download_file('", "');");
//echo "<br><br>URL = " . $URL;
if($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 = trim($matches[1]);
}
//echo "<br><br>filename = " . $filename;
}
}
}
# plugin by afterburnerleech.com (25 Oct 2011)
?>
فایل اماده را از ضمیمه دانلود کنید.
پلاگین های جدید را به پوشه hosts کپی کنید.
به تاریخ پلاگین ها توجه کنید.
filepost_com.php
<?php
if (preg_match('#^http://([a-z0-9]+)\.filepost\.com/#', $url) || preg_match('#^http://filepost\.com/#', $url)){
list($user, $pass) = explode(':', $this->get_account('filepost.com'));
if(empty($user)==false && empty($pass)==false){
$header = $this->curl("http://filepost.com/general/login_form",'',"email=$user&password=$pass");
//echo "<br><br>header = " . $header;
$cookie = $this->GetCookies($header);
//echo "<br><br>cookie = " . $cookie;
$this->cookies = $cookie;
$data = $this->curl($url,$this->cookies,"");
//error_log($data, 3, "filepost.com.txt");
$URL = $this->cut_str($data, "download_file('", "');");
//echo "<br><br>URL = " . $URL;
if($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 = trim($matches[1]);
}
//echo "<br><br>filename = " . $filename;
}
}
}
# plugin by afterburnerleech.com (25 Oct 2011)
?>
فایل اماده را از ضمیمه دانلود کنید.
پلاگین های جدید را به پوشه hosts کپی کنید.
به تاریخ پلاگین ها توجه کنید.