Jump to content

uploaded.to

- - - - -

Pyramidfile.com Free User


3 replies to this topic

#1 rezasalami65

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts

Posted 14 July 2011 - 06:37 PM

hi
i use uploaded.to get captcha :D
enjoy

Attached File(s)



#2 _R_V_T_™

    Rapidleecher

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

Awards

Contributer Altruistic

Posted 14 July 2011 - 07:06 PM

check the plugin!

    private function DownloadFree($link) { //is "$post" array or not???
        $post["recaptcha_challenge_field"] = $_POST["recaptcha_challenge_field"];
        $post["recaptcha_response_field"] = $_POST["captcha"];
	$post['op']="download2";
        $post['id'] = $_POST['id'];
        $post['rand'] = $_POST['rand'];
        $post['referer'] = $link;//how do u get this???
        $post['method_free'] = "SLOW DOWNLOAD";
        $post['method_premium']="";
        $post['down_script']="1";
        $page = $this->GetPage($link, 0, $post, $link);//------> where do u get "$link" value? is different private function if u really want to know


        $data = array();
        $data["recaptcha_challenge_field"] = $ch;
        $data["step"] = "1";
        $data["link"] = urlencode($link); //------> is array variable that u declare!
	$data['id'] = $id;
	$data['rand'] = $rand;

Edited by _R_V_T_™, 14 July 2011 - 07:09 PM.

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 rezasalami65

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts

Posted 14 July 2011 - 09:52 PM

thx _R_V_T_
i have 2 mistake insert referer
and don't insert $post = array();
for GetPage in download class i have Problem but i try use it better
for this link $data["link"] = urlencode($link); //------> is array variable that u declare!
i see in debugger encode $linke then send it for server but maybe this is my mistake
i try fix it and insert better error for time wait plz check
<?php
if (!defined('RAPIDLEECH')) {
    require_once ("index.html");
    exit ();
}

class pyramidfiles_com extends DownloadClass {
	public function Download($link) {
        global $premium_acc ;
        if (($_REQUEST ["premium_acc"] == "on" && $_REQUEST ["premium_user"] && $_REQUEST ["premium_pass"]) || ($_REQUEST ["premium_acc"] == "on" && $premium_acc ["pyramidfiles_com"] ["user"] && $premium_acc ["pyramidfiles_com"] ["pass"])) {
         $this->DownloadPremium($link);
        } elseif ($_POST['step'] == "1") {
            $this->DownloadFree($link);
        } else {
            $this->Retrieve($link);
        }
    }

    public function Retrieve($link) {
	    $page = $this->GetPage($link);
        is_present($page, "File Not Found","File Not Found");
        $id = cut_str($page, 'name="id" value="','"');
        $FileName = cut_str($page, 'name="fname" value="','"');
        $referer = cut_str($page, 'name="referer" value="','"');
        $post = array();
        $post['op'] = "download1";
        $post['usr_login'] = "";
        $post['id'] = $id;
        $post['fname'] = $FileName;
        $post['referer'] = $referer;
        $post['method_free'] = "SLOW DOWNLOAD";
        $page = $this->GetPage($link, 0, $post, $link);
		$rand = cut_str($page, 'name="rand" value="', '"');
		$referer = cut_str($page, 'referer" value="', '"');

		is_present($page, "/404", "File not found");
        if (!preg_match('#(\d+)</span> seconds#', $page, $count)) {
			preg_match('#You have to wait(.+)next download#', $page, $error);
            html_error("{$error['0']}");
        }
        insert_timer($count[1]);
		$page = $this->GetPage("http://www.google.com/recaptcha/api/challenge?k=6Le3GMESAAAAAKYtS8j1hpV-LPAp2y5PbM9Q6MSz");
        is_present($page, "Expired session", "Expired session . Go to main page and reattempt", 0);
	    $ch = cut_str($page, "challenge : '", "'");
        $img = "http://www.google.com/recaptcha/api/image?c=" . $ch;
        $page = $this->GetPage($img);
        $headerend = strpos($page, "\r\n\r\n");
        $pass_img = substr($page, $headerend + 4);
        write_file($options['download_dir'] . "pyramidfiles_captcha.jpg", $pass_img);
        $data = array();
        $data["recaptcha_challenge_field"] = $ch;
        $data["step"] = "1";
        $data["link"] = $link;
	    $data['id'] = $id;
		$data['rand'] = $rand;
		$this->EnterCaptcha($options['download_dir'] . "pyramidfiles_captcha.jpg", $data, "10");
        exit;
		
		}

    private function DownloadFree($link) {
		$post = array();
        $post["recaptcha_challenge_field"] = $_POST["recaptcha_challenge_field"];
        $post["recaptcha_response_field"] = $_POST["captcha"];
		$post['op']="download2";
        $post['id'] = $_POST['id'];
        $post['rand'] = $_POST['rand'];
        $post['method_free'] = "SLOW DOWNLOAD";
        $post['method_premium']="";
        $post['down_script']="1";
        $page = $this->GetPage($link, 0, $post);
	    is_present($page, "Wrong captcha", "Wrong captcha", 0);
		preg_match('/Location: (.+)/', $page, $dlink);
		$link = trim ($dlink['1']) ;
		$Url = parse_url($link);
		$FileName =  basename($Url["path"]);
		$this->RedirectDownload($link, $FileName);  
				
			}
    private function DownloadPremium($link) {
									 echo "is not suport now ";}
}

// rezasalami65  [14-7-2011]
?>


#4 _R_V_T_™

    Rapidleecher

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

Awards

Contributer Altruistic

Posted 15 July 2011 - 03:38 AM

View Postrezasalami65, on 14 July 2011 - 09:52 PM, said:

thx _R_V_T_
i have 2 mistake insert referer
and don't insert $post = array();
for GetPage in download class i have Problem but i try use it better
for this link $data["link"] = urlencode($link); //------> is array variable that u declare!
i see in debugger encode $linke then send it for server but maybe this is my mistake
i try fix it and insert better error for time wait plz check
<?php
if (!defined('RAPIDLEECH')) {
    require_once ("index.html");
    exit ();
}

class pyramidfiles_com extends DownloadClass {
	public function Download($link) {
        global $premium_acc ;
        if (($_REQUEST ["premium_acc"] == "on" && $_REQUEST ["premium_user"] && $_REQUEST ["premium_pass"]) || ($_REQUEST ["premium_acc"] == "on" && $premium_acc ["pyramidfiles_com"] ["user"] && $premium_acc ["pyramidfiles_com"] ["pass"])) {
         $this->DownloadPremium($link);
        } elseif ($_POST['step'] == "1") {
            $this->DownloadFree($link);
        } else {
            $this->Retrieve($link);
        }
    }

    public function Retrieve($link) {
	    $page = $this->GetPage($link);
        is_present($page, "File Not Found","File Not Found");
        $id = cut_str($page, 'name="id" value="','"');
        $FileName = cut_str($page, 'name="fname" value="','"');
        $referer = cut_str($page, 'name="referer" value="','"');
        $post = array();
        $post['op'] = "download1";
        $post['usr_login'] = "";
        $post['id'] = $id;
        $post['fname'] = $FileName;
        $post['referer'] = $referer;
        $post['method_free'] = "SLOW DOWNLOAD";
        $page = $this->GetPage($link, 0, $post, $link);
		$rand = cut_str($page, 'name="rand" value="', '"');
		$referer = cut_str($page, 'referer" value="', '"');

		is_present($page, "/404", "File not found");
        if (!preg_match('#(\d+)</span> seconds#', $page, $count)) {
			preg_match('#You have to wait(.+)next download#', $page, $error);
            html_error("{$error['0']}");
        }
        insert_timer($count[1]);
		$page = $this->GetPage("http://www.google.com/recaptcha/api/challenge?k=6Le3GMESAAAAAKYtS8j1hpV-LPAp2y5PbM9Q6MSz");
        is_present($page, "Expired session", "Expired session . Go to main page and reattempt", 0);
	    $ch = cut_str($page, "challenge : '", "'");
        $img = "http://www.google.com/recaptcha/api/image?c=" . $ch;
        $page = $this->GetPage($img);
        $headerend = strpos($page, "\r\n\r\n");
        $pass_img = substr($page, $headerend + 4);
        write_file($options['download_dir'] . "pyramidfiles_captcha.jpg", $pass_img);
        $data = array();
        $data["recaptcha_challenge_field"] = $ch;
        $data["step"] = "1";
        $data["link"] = $link;
	    $data['id'] = $id;
		$data['rand'] = $rand;
		$this->EnterCaptcha($options['download_dir'] . "pyramidfiles_captcha.jpg", $data, "10");
        exit;
		
		}

    private function DownloadFree($link) {
		$post = array();
        $post["recaptcha_challenge_field"] = $_POST["recaptcha_challenge_field"];
        $post["recaptcha_response_field"] = $_POST["captcha"];
		$post['op']="download2";
        $post['id'] = $_POST['id'];
        $post['rand'] = $_POST['rand'];
        $post['method_free'] = "SLOW DOWNLOAD";
        $post['method_premium']="";
        $post['down_script']="1";
        $page = $this->GetPage($link, 0, $post);
	    is_present($page, "Wrong captcha", "Wrong captcha", 0);
		preg_match('/Location: (.+)/', $page, $dlink);
		$link = trim ($dlink['1']) ;
		$Url = parse_url($link);
		$FileName =  basename($Url["path"]);
		$this->RedirectDownload($link, $FileName);  
				
			}
    private function DownloadPremium($link) {
									 echo "is not suport now ";}
}

// rezasalami65  [14-7-2011]
?>



where do u get "$link" value in Private Function DownloadFree? in Entercaptcha function u've declared as an array right?
        $data["link"] = $link;


then where's the $post after $_POST['step'] == "1"???
        $post["recaptcha_challenge_field"] = $_POST["recaptcha_challenge_field"];
        $post["recaptcha_response_field"] = $_POST["captcha"];
		$post['op']="download2";
        $post['id'] = $_POST['id'];
        $post['rand'] = $_POST['rand'];
        $post['referer'] = $link; //------->  where do u get this??? u didn't add this in EnterCaptcha function
        $post['method_free'] = "SLOW DOWNLOAD";
        $post['method_premium']="";
        $post['down_script']="1";
        $page = $this->GetPage($link, 0, $post, $link); //---------> SEE THIS, HOW DO U GET "$link" VALUE?

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!