Advertisement
Titeuf

[rapidleech][u] demo.ovh.eu.php

Nov 8th, 2013
1,236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. <table style="width:600px;margin:auto;">
  2. </td></tr>
  3. <tr><td align="center">
  4. <div id="info" style="width:100%;text-align:center;">Retrive upload ID</div>
  5. <?php
  6. $page = geturl("demo.ovh.eu", 80, "/en/", 0, 0, 0, 0, $_GET["proxy"], $pauth);is_page($page);
  7. $cookie = GetCookiesArr($page);
  8. if (!preg_match('@action="([^"]*)"@i', $page, $up)) html_error('Error: Cannot find upload server.', 0);
  9. if ($pos = strpos($up[1], '://') === false) {
  10. if (!empty($up[1]) && substr($up[1], 0, 1) == '/') $up[1] = "http://demo.ovh.eu".$up[1];
  11. else $up[1] = "http://demo.ovh.eu/".$up[1];
  12. }
  13.  
  14. $post = array();
  15. $post['step'] = urlencode(cut_str($page, 'name="step" value="', '"'));
  16.  
  17. $up_url = $up[1];
  18. ?>
  19. <script type="text/javascript">document.getElementById('info').style.display='none';</script>
  20. <?php
  21.  
  22. $url=parse_url($up_url);
  23. $upfiles=upfile($url["host"], 80, $url["path"].($url["query"] ? "?".$url["query"] : ""), 'http://demo.ovh.eu', $cookie, $post, $lfile, $lname, "upload_filename");
  24.  
  25. ?>
  26. <script type="text/javascript">document.getElementById('progressblock').style.display='none';</script>
  27. <?php
  28. is_page($upfiles);
  29.  
  30. if (!preg_match('@Location: https?://demo\.ovh\.eu/\w+/([^\r|\n]+)@i', $upfiles, $redir)) html_error('Download link not found.');
  31.  
  32. $page = geturl("demo.ovh.eu", 80, "/en/".$redir[1], $up_url, $cookie, 0, 0, $_GET["proxy"], $pauth);is_page($page);
  33. if (($timeleft = cut_str($page, "Your files will be available for: ", "<")) != false) echo "\n<table width='100%' border='0'>\n<tr><td width='100' nowrap='nowrap' align='right'>Your file will be available for:<td width='80%'><input value='".htmlentities($timeleft)."' class='upstyles-dllink' readonly='readonly' /></tr>\n</table>\n";
  34.  
  35. $download_link = "http://demo.ovh.eu/en/".$redir[1];
  36. $not_done=false;
  37.  
  38. //[10-03-2012] Written by Th3-822
  39. //[08-11-2013] Modify by Titeuf
  40.  
  41. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement