Jump to content

uploaded.to

- - - - -

[new] Uploaded.to Plugin


103 replies to this topic

#1 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 14 March 2011 - 11:20 PM

Hi,
Check out:
http://www.box.net/shared/tfe1kk173r

accounts.php

Quote

$premium_acc["uploaded_to"] = array('user' => 'your username', 'pass' => 'your password');

Support: Free + Premium download

ul_to.php content (host/download/up_to.php)

Quote

<?php
if (! defined ( 'RAPIDLEECH' ))
{
require_once ("index.html");
exit ();
}

require_once (HOST_DIR . 'download/' . "uploaded_to.php");
$link = str_replace("ul.to", "uploaded.to/file", $LINK);
$hostClass = new uploaded_to();
$hostClass->Download( $link );

/**************************************************\
Updated by rajmalhotra 07 Feb 2010
\**************************************************/
?>

How to report plugin broken or error on plugin
1. Your Rapidleech verson
2. Which links you get error
3. Description about the error you get

Edited by vdhdevil, 16 March 2011 - 11:24 AM.


#2 _R_V_T_™

    Rapidleecher

  • Super MOD
  • PipPipPipPip
  • 1,927 posts
  • Gender:Male
  • Location:Indonesia

Awards

Contributer Altruistic

Posted 15 March 2011 - 03:08 AM

View Postvdhdevil, on 14 March 2011 - 11:20 PM, said:

Hi,
Check out:
http://www.box.net/shared/tfe1kk173r

accounts.php

Support: Free + Premium download

How to report plugin broken or error on plugin
1. Your Rapidleech verson
2. Which links you get error
3. Description about the error you get



aaah thx mate, I'm havin' some trouble of this javascript thing, wanna ask ur guide but u've offline last night!

HOW TO REPORT BROKEN DOWNLOAD PLUGIN, CLICK THIS



USE YOUR EYES, YOUR BRAIN, YOUR HAND, MOVE YOUR FINGER AND TYPE ANYTHING YOU NEED IN SEARCH FUNCTION BEFORE YOU REQUEST SOME FEATURE, FIX OR ANYTHING RELATED TO RAPIDLEECH SCRIPT! IF YOU CAN'T FIND THINGS YOU NEED FOR, THEN YOU CAN POST THE THREAD ABOUT YOUR REQUEST/PROBLEM IN FORUM!


#3 darkra

    Advanced Member

  • Members
  • PipPipPip
  • 98 posts
  • Gender:Male

Posted 15 March 2011 - 03:28 AM

Works fine, thanks

#4 _R_V_T_™

    Rapidleecher

  • Super MOD
  • PipPipPipPip
  • 1,927 posts
  • Gender:Male
  • Location:Indonesia

Awards

Contributer Altruistic

Posted 15 March 2011 - 04:16 AM

mate, I test in ur private server, it seem the server cant receive the captcha as for localhost it work fine, as for premium, it only work with enable direct download, right?

HOW TO REPORT BROKEN DOWNLOAD PLUGIN, CLICK THIS



USE YOUR EYES, YOUR BRAIN, YOUR HAND, MOVE YOUR FINGER AND TYPE ANYTHING YOU NEED IN SEARCH FUNCTION BEFORE YOU REQUEST SOME FEATURE, FIX OR ANYTHING RELATED TO RAPIDLEECH SCRIPT! IF YOU CAN'T FIND THINGS YOU NEED FOR, THEN YOU CAN POST THE THREAD ABOUT YOUR REQUEST/PROBLEM IN FORUM!


#5 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 15 March 2011 - 05:06 AM

hm, i get a crazy mistake on free download, problem is solved.
Premium is fixed also due to they has just changed the format direct link
Support on enable and disable direct link also
Have fun ;)

#6 _R_V_T_™

    Rapidleecher

  • Super MOD
  • PipPipPipPip
  • 1,927 posts
  • Gender:Male
  • Location:Indonesia

Awards

Contributer Altruistic

Posted 15 March 2011 - 05:47 AM

View Postvdhdevil, on 15 March 2011 - 05:06 AM, said:

hm, i get a crazy mistake on free download, problem is solved.
Premium is fixed also due to they has just changed the format direct link
Support on enable and disable direct link also
Have fun ;)


mate, for premium now work fine (support direct download enabled/disabled), but for free, sometimes this error still cames (test in ur private server, I test in other server work fine).

Posted Image

I have ask th3-882, I quote from him :

Quote

I also put something to try to make the browser reload the image always


this is his code for free plugin :
<?php

if (!defined('RAPIDLEECH')) {
	require_once ("index.html");
	exit ();
}

class uploaded_to extends DownloadClass {

	public function Download($link) {
		if ($_POST['step'] == "1") {
			$this->DownloadFree($link);
		} else {
			$this->PrepareFree($link);
		}
	}

	private function PrepareFree($link) {
		global $Referer;
		$page = $this->GetPage($link);

		is_present($page, "uploaded.to/404", "File not found");

		if (!preg_match('/Current waiting period: <span>(\d+)<\/span>/i', $page, $cD)) {
			html_error("Error: Timer not found.");
		}

		insert_timer($cD[1], "Please wait.", "", true);

		if (!preg_match('/Recaptcha\.create\("([^"]+)/i', $this->GetPage('http://uploaded.to/js/download.js'), $rc)) {
			html_error("Error: CAPTCHA not found.");
		}

		$linkcaptcha = "http://www.google.com/recaptcha/api/challenge?k=" . $rc[1];

		$page = $this->GetPage($linkcaptcha, 0, 0, $link);
		$ch = cut_str($page, "challenge : '", "'");

		$data = array();
		$data['step'] = "1";
		$data['link'] = urlencode($link);
		$data['referer'] = urlencode($Referer);
		$data['recaptcha_challenge_field'] = $ch;

		//Download captcha img.
		$page = $this->GetPage("http://www.google.com/recaptcha/api/image?c=" . $ch, 0, 0, $link);
		$capt_img = substr($page, strpos($page, "\r\n\r\n") + 4);
		$imgfile = DOWNLOAD_DIR . "uploaded_to_captcha.jpg";

		if (file_exists($imgfile)) {
			unlink($imgfile);
		}
		if (! write_file($imgfile, $capt_img)) {
			html_error("Error: Can't save CAPTCHA image.");
		}

		$this->EnterCaptcha($imgfile . '?' . time(), $data, 20);
		exit;
	}

	private function DownloadFree($link) {
		$post = array();
		$post['recaptcha_challenge_field'] = $_POST["recaptcha_challenge_field"];
		$post['recaptcha_response_field'] = $_POST["captcha"];

		$page = $this->GetPage(str_replace('/file/', '/io/ticket/captcha/', $link), 0, $post, $link);

		if (preg_match('/\{err:"([^"]+)"\}/i', $page, $err)) {
			$errors = array('captcha' => 'Entered CAPTCHA was incorrect',
				'limit-host' => '"For technical reasons, a download is currently not possible". Try again',
				'limit-dl' => "You've reached your download limit (a file every 60 minutes). Try again later",
				'limit-parallel' => "You're already downloading a file",
				'limit-size' => 'This file is too big (> 1 GB) to download it for free');

			foreach ($errors as $n => $v) {
				is_present($err[1], $n, "Error: $v.");
			}

			html_error("Error validating CAPTCHA.");
		}

		if (!preg_match("@url:'(http://.+/dl/\?id=\w+)@i", $page, $dl)) {
			html_error("Error: Download link not found.");
		}

		$this->RedirectDownload($dl[1], 'ul.to_dl');
		exit;
	}
}

//[14-Mar-2011] by Th3-822 - [Free DL] Plugin rewritten for new layout.

?>


now, the error message getting captcha doesnt appear again.

PS : mind if u combined with ur plugin? thx in advance for ur help!

Edited by __S_e7e_N.7x__, 16 March 2011 - 06:27 AM.

HOW TO REPORT BROKEN DOWNLOAD PLUGIN, CLICK THIS



USE YOUR EYES, YOUR BRAIN, YOUR HAND, MOVE YOUR FINGER AND TYPE ANYTHING YOU NEED IN SEARCH FUNCTION BEFORE YOU REQUEST SOME FEATURE, FIX OR ANYTHING RELATED TO RAPIDLEECH SCRIPT! IF YOU CAN'T FIND THINGS YOU NEED FOR, THEN YOU CAN POST THE THREAD ABOUT YOUR REQUEST/PROBLEM IN FORUM!


#7 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 15 March 2011 - 06:55 AM

yes, that error means the captcha image can't be saved

#8 skyone

    Advanced Member

  • Members
  • PipPipPip
  • 35 posts

Posted 15 March 2011 - 05:22 PM

working thanks you so much :)

#9 _R_V_T_™

    Rapidleecher

  • Super MOD
  • PipPipPipPip
  • 1,927 posts
  • Gender:Male
  • Location:Indonesia

Awards

Contributer Altruistic

Posted 16 March 2011 - 07:28 AM

mate, there's some weird thing happen, I think the regex for getting download link need to renew, the plugin work but apparently it download different file???

sample link http://ul.to/e6966em0
Filename : uploaded_member.zip
size : 2,16 KB

test with premium (disable direct download)

Posted Image

test with premium (enable direct download)

Posted Image

test with free download (ur free download code)

Posted Image

test with free download (Th3-882 free download code)

Posted Image

It seem all redirect to different filename!

Edited by __S_e7e_N.7x__, 16 March 2011 - 10:05 AM.

HOW TO REPORT BROKEN DOWNLOAD PLUGIN, CLICK THIS



USE YOUR EYES, YOUR BRAIN, YOUR HAND, MOVE YOUR FINGER AND TYPE ANYTHING YOU NEED IN SEARCH FUNCTION BEFORE YOU REQUEST SOME FEATURE, FIX OR ANYTHING RELATED TO RAPIDLEECH SCRIPT! IF YOU CAN'T FIND THINGS YOU NEED FOR, THEN YOU CAN POST THE THREAD ABOUT YOUR REQUEST/PROBLEM IN FORUM!


#10 _R_V_T_™

    Rapidleecher

  • Super MOD
  • PipPipPipPip
  • 1,927 posts
  • Gender:Male
  • Location:Indonesia

Awards

Contributer Altruistic

Posted 16 March 2011 - 10:36 AM

Added info, I think I know where the problem, it seem we have to change from http://ul.to/e6966em0 into http://uploaded.to/file/e6966em0, hmmm should we update the ul_to.php plugin too??? Becuz if we take a look at the ul_to.php code, it redirect correctly. (Please correct me if I'm wrong).

ul_to.php
<?php
if (! defined ( 'RAPIDLEECH' ))
{
	require_once ("index.html");
	exit ();
}

	require_once (HOST_DIR . 'download/' . "uploaded_to.php");

	$id = substr( $LINK, 13, 6 ); //SHOULD WE CHANGE THIS LINE?
	$link = "http://uploaded.to/file/".$id;
		
	$hostClass = new uploaded_to();
	$hostClass->Download( $link );

/**************************************************\  
Updated by rajmalhotra 07 Feb 2010
\**************************************************/
?>

HOW TO REPORT BROKEN DOWNLOAD PLUGIN, CLICK THIS



USE YOUR EYES, YOUR BRAIN, YOUR HAND, MOVE YOUR FINGER AND TYPE ANYTHING YOU NEED IN SEARCH FUNCTION BEFORE YOU REQUEST SOME FEATURE, FIX OR ANYTHING RELATED TO RAPIDLEECH SCRIPT! IF YOU CAN'T FIND THINGS YOU NEED FOR, THEN YOU CAN POST THE THREAD ABOUT YOUR REQUEST/PROBLEM IN FORUM!


#11 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 16 March 2011 - 10:49 AM

right,
the up_to.php is out of date
should we change

Quote

<?php
if (! defined ( 'RAPIDLEECH' ))
{
require_once ("index.html");
exit ();
}

require_once (HOST_DIR . 'download/' . "uploaded_to.php");
$link = str_replace("ul.to", "uploaded.to/file", $LINK);
$hostClass = new uploaded_to();
$hostClass->Download( $link );

/**************************************************\
Updated by rajmalhotra 07 Feb 2010
\**************************************************/
?>

it will work
Enjoy :)

#12 _R_V_T_™

    Rapidleecher

  • Super MOD
  • PipPipPipPip
  • 1,927 posts
  • Gender:Male
  • Location:Indonesia

Awards

Contributer Altruistic

Posted 16 March 2011 - 11:08 AM

Hmmm, I think u should included ul_to.php update plugin too in the first post, thx in advance for ur help!

HOW TO REPORT BROKEN DOWNLOAD PLUGIN, CLICK THIS



USE YOUR EYES, YOUR BRAIN, YOUR HAND, MOVE YOUR FINGER AND TYPE ANYTHING YOU NEED IN SEARCH FUNCTION BEFORE YOU REQUEST SOME FEATURE, FIX OR ANYTHING RELATED TO RAPIDLEECH SCRIPT! IF YOU CAN'T FIND THINGS YOU NEED FOR, THEN YOU CAN POST THE THREAD ABOUT YOUR REQUEST/PROBLEM IN FORUM!


#13 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 16 March 2011 - 11:26 AM

thank you friend, updated the first post ;)

#14 Plati

    Member

  • Members
  • PipPip
  • 17 posts

Posted 17 March 2011 - 07:01 AM

Retrieving download page
Error 0x01: Plugin is out of date
:(

#15 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 17 March 2011 - 07:49 AM

View PostPlati, on 17 March 2011 - 07:01 AM, said:

Retrieving download page
Error 0x01: Plugin is out of date
:(

Quote

How to report plugin broken or error on plugin
1. Your Rapidleech verson
2. Which links you get error
3. Description about the error you get

You downloaded a dead link