}
            }
            $this->cookie = $cookie;
            $data = $this->curl($url, $cookie, "");
            if (preg_match('%<a href="(.*)./"><span class="huge_button_green_left">%U', $data, $linkget)) {
                $data = $this->curl($linkget[1], $cookie, "");
                if (preg_match('%get_link\\("(.*)"\\)%U', $data, $linkget)) {
                    $data = $this->curl("http://filesmonster.com" . $linkget[1], $cookie, "");
                    $link = $this->cut_str($data, '"url":"', '"}');
                    $link = str_replace("\\", "", $link);
                    $size_name = Tools_get::size_name($link, $this->cookie);
                    $filesize = $size_name[0];
                    $filename = $size_name[1];
                    break;
                }
            } elseif (stristr($data, "File not found")) {
                die(Tools_get::report($Original, "dead"));
            } else {
                $cookie = "";
                $this->save_cookies("filesmonster.com", "");
            }
        }
    }
}
/*
* Home page: http://vinaget.us
* Blog:	http://blog.vinaget.us
* Script Name: Vinaget 
* Version: 2.6.3
* Created: ..:: [H] ::..
*/
示例#2
0
                $post['loginUserPassword'] = $pass;
                $post['loginFormSubmit'] = "Login";
                $data = $this->curl("http://www.fileserve.com/login.php", $cookie, $post);
                $cookie = $this->GetCookies($data);
                $this->save_cookies("fileserve.com", $cookie);
            }
            $this->cookie = $cookie;
            $data = $this->curl($url, $cookie, "");
            if (preg_match('/ocation: (.*)/', $data, $linkpre)) {
                $link = trim($linkpre[1]);
                $size_name = Tools_get::size_name($link, $this->cookie);
                $filesize = $size_name[0];
                $filename = $size_name[1];
                break;
            } elseif (stristr($data, "File not available")) {
                $report = Tools_get::report($Original, "dead");
                break;
            } else {
                $cookie = "";
                $this->save_cookies("fileserve.com", "");
            }
        }
    }
}
/*
* Home page: http://vinaget.us
* Blog:	http://blog.vinaget.us
* Script Name: Vinaget 
* Version: 2.6.3
* Created: ..:: [H] ::..
*/
     }
     if (stripos(substr($page, 0, strpos($page, "\r\n\r\n")), "\nSet-Cookie: xfss=") === false) {
         die(Tools_get::report($Original, 'erroracc'));
     }
     $cookie = $this->GetCookies($page);
     $this->save_cookies('ddlstorage.com', $cookie);
 }
 $this->cookie = $cookie;
 $page = $this->curl($url, $cookie, '');
 if (preg_match('@^[\\s\\t\\r\\n]*(Access from \\w+ is not allowed)@i', substr($page, strpos($page, "\r\n\r\n") + 4), $err)) {
     die(Tools_get::report($Original, 'Host: ' . $err[1]));
 }
 if (!preg_match('@https?://[^/\\r\\n\\:]+(?:\\:\\d+)?/(?:(?:files)|(?:dl?))/[^\'\\"\\t<>\\r\\n]+@i', $page, $dllink)) {
     $page2 = $this->cut_str($page, '<form name="F1" method="POST"', '</form>');
     if (empty($page2)) {
         die(Tools_get::report($Original, 'erroracc'));
     }
     $post = array();
     $post['op'] = $this->cut_str($page2, 'name="op" value="', '"');
     $post['id'] = $this->cut_str($page2, 'name="id" value="', '"');
     $post['rand'] = $this->cut_str($page2, 'name="rand" value="', '"');
     $post['referer'] = '';
     $post['method_premium'] = urlencode(html_entity_decode($this->cut_str($page2, 'name="method_premium" value="', '"')));
     $post['down_direct'] = 1;
     unset($page2);
     $page = $this->GetPage($link, $cookie, $post);
     preg_match('@https?://[^/\\r\\n\\:]+(?:\\:\\d+)?/(?:(?:files)|(?:dl?))/[^\'\\"\\t<>\\r\\n]+@i', $page, $dllink);
 }
 if (!empty($dllink[0])) {
     $link = $dllink[0];
     $size_name = Tools_get::size_name($link, $this->cookie);
示例#4
0
        if (strpos($url, "|")) {
            $linkpass = explode('|', $url);
            $url = $linkpass[0];
            $pass = $linkpass[1];
        }
        $data = $this->curl("http://tb7.pl/mojekonto/sciagaj", $cookie, "step=1&content=" . $url, 0);
        if (preg_match("%<span class=\"name\">(.*)<\\/span>%U", $data, $matches)) {
            $filename = $matches[1];
        }
        if (preg_match("%Rozmiar: (.*)<\\/label>%U", $data, $matches)) {
            $filesize = $matches[1];
        }
        $data = $this->curl("http://tb7.pl/mojekonto/sciagaj", $cookie, "step=2&0=on", 0);
        //$page = json_decode($data, true);
        if (stristr($data, "disable for trial account")) {
            $report = Tools_get::report($url, "disabletrial");
        } elseif (stristr($data, "Ip not allowed")) {
            die("<font color=red><b>Ip host have been banned by tb7.pl !</b></font>");
        } elseif (preg_match('%<a href="(.*)" target="_blank">Pobierz</a>%U', $data, $matches)) {
            $link = $matches[1];
            $data = $this->curl($link, "", "");
            if (preg_match('/ocation: (.*)/', $data, $match)) {
                $link = $match[1];
            }
        }
    }
}
/*
* Home page: http://vinaget.us
* Blog:	http://blog.vinaget.us
* Script Name: Vinaget 
示例#5
0
<?php

if (preg_match('#^(http|https)\\:\\/\\/(www\\.)?youtube\\.com/#', $url)) {
    $url = urldecode($url);
    $url = str_replace('www.', '', $url);
    $url = str_replace('http://', 'http://www.', $url);
    $data = $this->curl($url, "", "");
    if (strstr($data, 'verify-age-thumb')) {
        $report = Tools_get::report($url, "Adult");
    } elseif (strstr($data, 'das_captcha')) {
        $report = Tools_get::report($url, "youtube_captcha");
    } elseif (!preg_match('/stream_map=(.[^&]*?)&/i', $data, $match)) {
        $report = Tools_get::report($url, "ErrorLocating");
    } elseif (preg_match('/stream_map=(.[^&]*?)&/i', $data, $match)) {
        $this->max_size = $this->max_size_other_host;
        $fmt_url = urldecode($match[1]);
        if (preg_match('/^(.*?)\\\\u0026/', $fmt_url, $match)) {
            $fmt_url = $match[1];
        }
        $urls = explode(',', $fmt_url);
        $foundArray = array();
        $signature = array();
        foreach ($urls as $urldl) {
            if (preg_match('/itag=([0-9]*)&url=(.*?)&/si', $urldl, $um)) {
                $u = urldecode($um[2]);
                $foundArray[$um[1]] = trim($u);
                preg_match('/sig=(.*?)&/si', $urldl, $sig);
                $signature[$um[1]] = $sig[1];
            }
        }
        if (preg_match('<meta name="title" content="(.*?)">', $data, $matches)) {
示例#6
0
                        $link2 = trim($value[1]);
                    }
                }
                $data1 = trim($this->cut_str($data, "var direct_links", "direct_link_1"));
                if (preg_match('%(http:\\/\\/.+)" :%U', $data1, $value)) {
                    $link = trim($value[1]);
                    $size_name = Tools_get::size_name($link, $this->cookie);
                    if ($size_name[0] < 200 && isset($link2)) {
                        $link = $link2;
                    } else {
                        $filesize = $size_name[0];
                        $filename = $size_name[1];
                    }
                    break;
                } elseif (stristr($data, 'The file is temporarily unavailable for download')) {
                    echo Tools_get::report($url, "dead");
                    exit;
                } else {
                    $cookie = "";
                    $this->save_cookies("letitbit.net", "");
                }
            }
        }
    }
}
/*
* Home page: http://vinaget.us
* Blog:	http://blog.vinaget.us
* Script Name: Vinaget 
* Version: 2.6.3
* Created: ..:: [H] ::..
         $cookie = $this->get_cookie("megaupload.com");
     }
     if (!$cookie) {
         $data = $this->curl("http://www.megaupload.com/?c=account", "", "username={$user}&password={$pass}&login=1");
         if (preg_match('/^Set-Cookie: (.*?);/m', $data, $matches)) {
             $cookie = $matches[1];
             $this->save_cookies("megaupload.com", $cookie);
         }
     }
     $cookie = preg_replace("/(user=|USER=|User=)/", "", $cookie);
     $data = $this->curl($url, "user="******"password protected")) {
         echo "password protected";
         exit;
     } elseif (empty($data)) {
         $report = Tools_get::report($Original, "svload");
     } elseif (preg_match('/ocation: (.*)/', $data, $match)) {
         $link = trim($match[1]);
     } elseif (preg_match('%(http:\\/\\/.+megaupload\\.com/files/.+)" class="download_premium_but"></a>%U', $data, $redir2)) {
         $link = trim($redir2[1]);
     }
     if ($link) {
         $this->cookie = $cookie;
         $size_name = Tools_get::size_name($link, $this->cookie);
         $filename = $size_name[1];
         $filesize = $size_name[0];
     } else {
         $cookie = "";
         $this->save_cookies("megaupload.com", "");
     }
 }
示例#8
0
                    Tools_get::report('Incorrect login or password!');
                }
                $cookie = $this->GetAllCookies($page);
                $this->save_cookies("datafile.com", $cookie);
            }
            $this->cookie = $cookie;
            $profile = $this->curl('https://www.datafile.com/profile.html', $cookie, '');
            if (!strpos($page, 'Premium Expires')) {
                Tools_get::report('Free account !');
            }
            $page = $this->curl($url, $cookie, "");
            if (!preg_match('/Location: (\\/[^\\s\\t\\r\\n]+)/i', $page, $rd)) {
                Tools_get::report('Error[Redirect Link - PREMIUM not found!]');
            }
            $page = $this->curl('https://www.datafile.com' . $rd[1], $cookie, '');
            if (!preg_match('/Location: (https?:\\/\\/n\\d+\\.datafile\\.com\\/[^\\s\\t\\r\\n]+)/i', $page, $dl)) {
                Tools_get::report('Error[Download Link - PREMIUM not found!]');
            }
            $link = trim($dl[1]);
            $size_name = Tools_get::size_name($link, $this->cookie);
            $filesize = $size_name[0];
            $filename = $size_name[1];
        }
    }
}
/*
* Home page: http://www.vietget.net
* Script Name: Vinaget 
* Version: 2.6.3
* Created: ..:: VietGet.Net ::..
*/