is_page($page);
    is_notpresent($page, 'cin_temp', 'Error logging in - are your logins correct?');
    preg_match_all('/Set-Cookie: (.*);/U', $page, $temp);
    $cookie = $temp[1];
    $cookies = implode(';', $cookie);
    ?>
<script>document.getElementById('login').style.display='none';</script>
<div id=info width=100% align=center>Retrive upload ID</div>
<?php 
    $ref = 'http://www.cinshare.com/upload/local';
    $Url = parse_url($ref);
    $page = geturl($Url["host"], defport($Url), $Url["path"] . ($Url["query"] ? "?" . $Url["query"] : ""), 'http://www.cinshare.com/', $cookies, 0, 0, $_GET["proxy"], $pauth);
    is_page($page);
    $rndid = cut_str($page, 'var fid = genRandId(', ')');
    $uid = cut_str($page, '<input id="uid" type="hidden" value="', '"');
    $ID = GRC();
    $servup = cut_str($page, "var curServer = '", "'");
    $post['Filename'] = $lname;
    $post['Upload'] = 'Submit Query';
    $url = parse_url($servup . "/upload/process/" . $ID . "/" . $uid);
    $upagent = "Shockwave Flash";
    $upfiles = upfile($url["host"], defport($url), $url["path"] . ($url["query"] ? "?" . $url["query"] : ""), 0, 0, $post, $lfile, $lname, "Filedata", 0, $upagent);
    is_page($upfiles);
    ?>
<script>document.getElementById('progressblock').style.display='none';</script>
<?php 
    $Url = parse_url('http://www.cinshare.com/upload/getLinks/' . $ID);
    $page = geturl($Url["host"], defport($Url), $Url["path"] . ($Url["query"] ? "?" . $Url["query"] : ""), 'http://www.cinshare.com/', 0, 0, 0, $_GET["proxy"], $pauth);
    $ddl = cut_str($page, 'value="http://www.cinshare.com/videos/watch/', '"');
    $download_link = "http://www.cinshare.com/videos/watch/" . $ddl;
    $delete_link = "http://www.cinshare.com/files/delete/" . $ID;
Example #2
0
<tr><td align=center>
<div id=login width=100% align=center>Login to Shareflare.net</div>
<?php 
    $page = geturl("shareflare.net", 80, "/", 0, 0, 0, 0, $_GET["proxy"], $pauth);
    is_page($page);
    preg_match("%var ACUPL_UPLOAD_SERVER = '(.*)';%i", $page, $acup);
    $ACUPL_UPLOAD_SERVER = $acup[1];
    $MAX_FILE_SIZE = cut_str($page, '<input type="hidden" name="MAX_FILE_SIZE" value="', '">');
    ?>
<script>document.getElementById('login').style.display='none';</script>
<div id=info width=100% align=center>Retrive test</div>
<script>document.getElementById('info').style.display='none';</script>
<?php 
    $url_up = $ACUPL_UPLOAD_SERVER;
    $acupl_UID = GRC_0();
    $acupl_UID1 = GRC();
    $fpost = array('MAX_FILE_SIZE' => $MAX_FILE_SIZE, 'owner' => '', 'pin' => '', 'base' => 'shareflare', 'host' => 'shareflare.net');
    $url = parse_url($url_up . '/marker=' . $acupl_UID . '_' . $acupl_UID1 . '');
    $upfiles = upfile($url["host"], $url["port"] ? $url["port"] : 80, $url["path"] . ($url["query"] ? "?" . $url["query"] : ""), "http://shareflare.net/index.php", 0, $fpost, $lfile, $lname, "file0");
    ?>
<script>document.getElementById('progressblock').style.display='none';</script>
<?php 
    is_page($upfiles);
    $Url = parse_url('http://shareflare.net/acupl_proxy.php?srv=' . $url_up . '&uid=' . $acupl_UID . '_' . $acupl_UID1 . '');
    $page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, $Url["path"] . ($Url["query"] ? "?" . $Url["query"] : ""), "http://shareflare.net/index.php", 0, 0, 0, $_GET["proxy"], $pauth);
    preg_match('%post_result": "(.*)", "now_time"%', $page, $result);
    $link_result = $result[1];
    $Url = parse_url($link_result);
    $page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, $Url["path"] . ($Url["query"] ? "?" . $Url["query"] : ""), "http://shareflare.net/index.php", 0, 0, 0, $_GET["proxy"], $pauth);
    preg_match("%http://shareflare.net/download/(.*)%", $page, $dllink);
    if (!$dllink[1]) {