Example #1
0
    unset($post);
    $post['pass'] = $premium_acc["vip-file"]["pass"];
    $post['uid'] = $uid;
    $post['name'] = $name;
    $post['fid'] = '';
    $post['pin'] = $pin;
    $post['realuid'] = $realuid;
    $post['realname'] = $realname;
    $post['md5crypt'] = $md5crypt;
    $post['host'] = $host;
    $post['ssserver'] = $ssserver;
    $post['optiondir'] = $optiondir;
    $post['sssize'] = $sssize;
    $post['submit'] = $submit;
    $Url = parse_url($UrlAct);
    $cookie .= "; " . biscottiDiKaox($page);
    $page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, $Url["path"] . ($Url["query"] ? "?" . $Url["query"] : ""), $LINK, $cookie, $post, 0, $_GET["proxy"], $pauth);
    is_page($page);
    $dwu = cut_str($page, "href='", "'");
    $Url = parse_url($dwu);
    $FileName = !$FileName ? basename($Url["path"]) : $FileName;
    insert_location("index.php?filename=" . urlencode($FileName) . "&force_name=" . urlencode($FileName) . "&host=" . $Url["host"] . "&port=" . $Url["port"] . "&path=" . urlencode($Url["path"] . ($Url["query"] ? "?" . $Url["query"] : "")) . "&referer=" . urlencode($Referer) . "&cookie=" . urlencode($cookie) . "&email=" . ($_GET["domail"] ? $_GET["email"] : "") . "&partSize=" . ($_GET["split"] ? $_GET["partSize"] : "") . "&method=" . $_GET["method"] . "&proxy=" . ($_GET["useproxy"] ? $_GET["proxy"] : "") . "&saveto=" . $_GET["path"] . "&link=" . urlencode($LINK) . ($_GET["add_comment"] == "on" ? "&comment=" . urlencode($_GET["comment"]) : "") . ($pauth ? "&pauth={$pauth}" : "") . (isset($_GET["idx"]) ? "&idx=" . $_GET["idx"] : ""));
} else {
    $page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, $Url["path"], $Referer, $cookie, 0, 0, $_GET["proxy"], $pauth);
    is_page($page);
    is_present($page, "File not found");
    preg_match('/http:\\/\\/vip-file\\.com\\/download[^"]+/i', $page, $loca);
    $Url = parse_url($loca[0]);
    $page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, $Url["path"], $Referer, $cookie, 0, 0, $_GET["proxy"], $pauth);
    preg_match('/Location:.+?\\r/i', $page, $loca);
    $redir = rtrim($loca[0]);
         html_error("Could not find frame.", 0);
     }
     $snap = cut_str($page, 'id="links', '</div>');
     $dwn = cut_str($snap, 'href="', '"');
     $Url = parse_url($dwn);
     $FileName = basename($Url["path"]);
     insert_location("index.php?filename=" . urlencode($FileName) . "&force_name=" . urlencode($FileName) . "&host=" . $Url["host"] . "&port=" . $Url["port"] . "&path=" . urlencode($Url["path"] . ($Url["query"] ? "?" . $Url["query"] : "")) . "&referer=" . urlencode($Referer) . "&cookie=" . urlencode($cookie) . "&email=" . ($_GET["domail"] ? $_GET["email"] : "") . "&partSize=" . ($_GET["split"] ? $_GET["partSize"] : "") . "&method=" . $_GET["method"] . "&proxy=" . ($_GET["useproxy"] ? $_GET["proxy"] : "") . "&saveto=" . $_GET["path"] . "&link=" . urlencode($LINK) . ($_GET["add_comment"] == "on" ? "&comment=" . urlencode($_GET["comment"]) : "") . ($pauth ? "&pauth={$pauth}" : "") . (isset($_GET["audl"]) ? "&audl=doum" : ""));
 } else {
     $page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, $Url["path"] . ($Url["query"] ? "?" . $Url["query"] : ""), 0, 0, 0, 0, $_GET["proxy"], $pauth);
     is_page($page);
     $page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, $Url["path"] . ($Url["query"] ? "?" . $Url["query"] : ""), $LINK, 0, 0, 0, $_GET["proxy"], $pauth);
     is_page($page);
     is_present($page, "The requested file was not found");
     is_present($page, "Gesuchte Datei wurde nicht gefunden", "The requested file was not found");
     is_present($page, "Запрашиваемый файл не найден", "The requested file was not found");
     $cookie = biscottiDiKaox($page);
     $FreeForm = cut_str($page, 'id="dvifree">', '</form>');
     $act = "http://" . cut_str($page, 'form action="http://', '"');
     $uid = slice($FreeForm, 'name="uid" value="', '"', 2);
     $md5crypt = cut_str($FreeForm, '="md5crypt" value="', '"');
     // $uid2 = cut_str($FreeForm,'name="uid2" value="','"');
     $uid5 = cut_str($FreeForm, 'name="uid5" value="', '"');
     $name = cut_str($FreeForm, 'name="name" value="', '"');
     $pin = cut_str($FreeForm, ' name="pin" value="', '"');
     $realuid = cut_str($FreeForm, 'e="realuid" value="', '"');
     $realname = cut_str($FreeForm, '="realname" value="', '"');
     $host = cut_str($FreeForm, 'name="host" value="', '"');
     $ssserver = cut_str($FreeForm, '="ssserver" value="', '"');
     $sssize = cut_str($FreeForm, 'me="sssize" value="', '"');
     $post['uid'] = $uid;
     $post['md5crypt'] = $md5crypt;