Go Back   HajarBos Community > Scripts > OpenSource Script > Rapidleech

Donation Goal
Goal amount for this month: 30 USD, Received: 0 USD (0%)
Donate NowDonate HajarBos
Donate to support HajarBos Network, all donation will be use for server cost

Megaupload Download plugin [16 April 2011]

This is a discussion on Megaupload Download plugin [16 April 2011] inside Rapidleech forums : This is working Megaupload Download plugin tested by me megaupload_com.php PHP Code: <?php if (!  defined  (  'RAPIDLEECH'  )) {     require_once ( "index.html" ...


Post New ThreadReply
 
Bookmark and Share LinkBack Thread Tools Rate Thread
Old 04-15-2011, 06:43 PM   #1
Site Manager
 
dendik's Avatar
 
Website:
Join Date: May 2010
Location: Surabaya
Posts: 503
Rep Power: 10
dendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond repute
Multi Megaupload Download plugin [16 April 2011]

This is working Megaupload Download plugin tested by me

megaupload_com.php

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

class 
megaupload_com extends DownloadClass {
    
    public function 
Download($link) {
        global 
$premium_acc,$mu_cookie_user_value;
        
$matches "";
        
$Url parse_url(trim($link));
        if (
preg_match "/f=(\w+)/"$Url ["query"], $matches )) {
            
$page $this->GetPage("http://www.megaupload.com/xml/folderfiles.php?folderid=" $matches [1]);
            if (! 
preg_match_all "/url=\"(http[^\"]+)\"/"$page$matches )) html_error 'link not found' );
            
            if (! 
is_file "audl.php" )) html_error 'audl.php not found' );
            echo 
"<form action=\"audl.php?GO=GO\" method=post>\n";
            echo 
"<input type=hidden name=links value='" implode "\r\n"$matches [1] ) . "'>\n";
            foreach ( array ( 
"useproxy""proxy""proxyuser""proxypass" ) as $v )
                echo 
"<input type=hidden name=$v value=" $_GET [$v] . ">\n";
            echo 
"<script language=\"JavaScript\">void(document.forms[0].submit());</script>\n</form>\n";
            
flush ();
            exit ();
        }
        if ( (
$_REQUEST ["premium_acc"] == "on" && $_REQUEST ["premium_user"] && $_REQUEST ["premium_pass"]) ||
            (
$_REQUEST ["premium_acc"] == "on" && $premium_acc ["megaupload_com"] ["user"] && $premium_acc ["megaupload_com"] ["pass"] ) ||
            (
$mu_cookie_user_value))        
        {
            
$this->DownloadPremium($link);
        }else
                if( 
$_POST['pass_pre'] == "ok") { 
                    global 
$Referer;
                    
$post ["filepassword"] = $_POST ['password'];
                    
$cookie=$_POST['cookie'];
                    
$page $this->GetPage($link$cookie$post$Referer );
                    if (
stristr($page,'password protected')) 
                    {
                    echo  (
"<center><font color=red><b>Wrong password .Please re-enter</b></font></center>");
                    
$this->DownloadPremium($link);exit;
                    } 
                    
is_page($page);
                    if (
stristr $page"Location:" )) {
                        
$Href trim cut_str $page"Location: ""\n" ) );
                        
$Url parse_url html_entity_decode($HrefENT_QUOTES'UTF-8') );
                        
$FileName basename $Url ["path"] );                
                        
$this->RedirectDownload($Href,$FileName,encrypt($premium_cookie));exit;
                    }
                } else {
                    if( 
$_POST['pass_free'] == "ok") { 
                        global 
$Referer;
                        
$post ["filepassword"] = $_POST ['password'];
                        
$page $this->GetPage($link0$post$Referer );
                        
is_page($page);
                        if (
stristr($page,'password protected')) {
                            echo  (
"<center><font color=red><b>Wrong password .Please re-enter</b></font></center>");
                            
$this->DownloadFree($link);
                            exit;
                        } 
                        
$countDown trim cut_str $page"count=",";" ) );
                        
insert_timer$countDown"<b>Megaupload Free User</b>.","",true );
                        if (
preg_match('/http:\/\/(.*)" class="down_butt1"/'$page$match)) {
                            
$Href "http://$match[1]";
                            
$Url parse_url html_entity_decode($HrefENT_QUOTES'UTF-8') );
                            if (! 
is_array $Url )) {
                            
html_error "Download link not found");
                            }
                            
$FileName basename $Url ["path"] );
                            
$this->RedirectDownload($Href,$FileName);exit;
                        }
                    } else {
                            
$this->DownloadFree($link);
                    }
                }
    }
    private function 
DownloadFree($link) {
         
$Referer;

        
$page $this->GetPage($link,0,0,$Referer);
        
is_page($page);

        if (
stristr($page,'password protected')) {
            
?>
            <form method="post">
            <div>The file Megaupload you're trying to download is password protected. Please enter the password to proceed.</div> 
            <input type="hidden" name="link" value="<?php echo $link?>" />
            <input type="hidden" name="pass_free" value="ok" />
            <input type="text" name="password" id="password"/><input type="submit" value="Proceed" />
            </form>
            <?php
            
exit;
        }
        
//$countDown = trim ( cut_str ( $page, "count=",";" ) );
        //insert_timer( $countDown, "<b>Megaupload Free User</b>.","",true );
        //Don't edit this random $countDown to 0.
        
$countDown rand(510);
        
sleep($countDown);
        
        
is_present $page"The file you are trying to access is temporarily unavailable" );
        
        
preg_match('/http:\/\/(.*)" class="down_butt1"/'$page$match);
        if (isset(
$match[1])) {
            
$Href 'http://'.$match[1];
            
$Url parse_url html_entity_decode($HrefENT_QUOTES'UTF-8') );
            if (! 
is_array $Url )) {
                
html_error "Download link not found");
            }
            
$FileName basename $Url ["path"] );
            
$this->RedirectDownload($Href,$FileName);
            exit ();
        }
    }
    private function 
DownloadPremium($link) {
        global 
$Referer$premium_acc$mu_cookie_user_value;

        
$post = array ();
        
$post ['login'] = 1;
        
$post ["username"] = $_GET ["premium_user"] ? $_GET ["premium_user"] : $premium_acc ["megaupload_com"] ["user"];
        
$post ["password"] = $_GET ["premium_pass"] ? $_GET ["premium_pass"] : $premium_acc ["megaupload_com"] ["pass"];
        
$page $this->GetPage('http://www.megaupload.com/?c=account',0,$post,'http://www.megaupload.com/?c=account');
        
is_page($page);
        
$premium_cookie trim cut_str $page"Set-Cookie:"";" ) );           
        if (
$mu_cookie_user_value) {
                
$premium_cookie 'user=' $mu_cookie_user_value;
        } elseif (
$_GET ["mu_acc"] == "on" && $_GET ["mu_cookie"]) {
                
$premium_cookie 'user=' $_GET ["mu_cookie"];
        } elseif (! 
stristr $premium_cookie"user" )) {
                
html_error "Cannot use premium account");
        }
        
$page $this->GetPage($link,$premium_cookie,0,$Referer);
        
is_page $page );
        if (
stristr($page,'password protected')) {
            
?>
            <form method="post">
            <div>The file Megaupload you're trying to download is password protected. Please enter the password to proceed.</div> 
            <input type="hidden" name="link" value="<?php echo $link?>" />
            <input type="hidden" name="cookie" value="<?php echo $premium_cookie;?>" />
            <input type="hidden" name="pass_pre" value="ok" />
            <input type="text" name="password" id="password"/><input type="submit" value="Proceed" />
            </form>
            <?php
            
exit;
        }
                        
        if (
stristr $page"Location:" )) {
            
$Href trim cut_str $page"Location: ""\n" ) );
            
$Url parse_url html_entity_decode($HrefENT_QUOTES'UTF-8') );
            
$FileName basename $Url ["path"] );                
            
$this->RedirectDownload($Href,$FileName,encrypt($premium_cookie));
        } elseif (
$page cut_str $page'class="down_ad_pad1">''" class="down_ad_butt1"' )) {
            
$Href cut_str $page'href="''"' );
            
$Referer $link;
            
$Url parse_url html_entity_decode($HrefENT_QUOTES'UTF-8') );
            
$FileName basename $Url ["path"] );                
            
$this->RedirectDownload($Href,$FileName,encrypt($premium_cookie));
        } else {
            
html_error "Download link not found");
        }
    }
}

// Updated by rajmalhotra on 10 Jan 2010 MegaUpload captcha is downloaded on server, then display
// Fixed by rajmalhotra on 20 Jan 2010 Fixed for Download link not found in happy hour
// Fixed by VinhNhaTrang 13.10.2010
// Fixed by VinhNhaTrang 30.11.2010
// Fixed by thangbom40000 on 2010.12.1, fix for free user and premium download, no time to wait with free user.
 
?>
Attached Files
File Type: zip megaupload_com_DL.zip (2.1 KB, 2 views)
__________________
  • Help us grow ,Donate to HajarBos
  • Please Hit the button if you like my post
dendik is offline   Reply With Quote
Old 04-18-2011, 04:12 PM   #2
Member
 
Join Date: Apr 2011
Posts: 14
Rep Power: 0
keoiori is on a distinguished road
Default hello

How to use this php code???
keoiori is offline   Reply With Quote
Old 05-20-2011, 07:18 AM   #3
Member
 
Join Date: May 2011
Posts: 10
Rep Power: 0
moviesdd is on a distinguished road
Default

Same here, how do I use this?
moviesdd is offline   Reply With Quote
Old 05-20-2011, 05:45 PM   #4
Site Manager
 
dendik's Avatar
 
Website:
Join Date: May 2010
Location: Surabaya
Posts: 503
Rep Power: 10
dendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond reputedendik has a reputation beyond repute
Default

Quote:
Originally Posted by keoiori View Post
How to use this php code???
Quote:
Originally Posted by moviesdd View Post
Same here, how do I use this?
This code is use for Rapidleech plugin,if you own Rapidleech servers
__________________
  • Help us grow ,Donate to HajarBos
  • Please Hit the button if you like my post
dendik is offline   Reply With Quote
Reply

Tags
2011, april, download, megaupload


Thread Tools
Rate This Thread
Rate This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duckload Upload Plugin members (16 April 2010) dendik Rapidleech 0 04-16-2011 05:15 PM
Filesonic Upload Plugin member (16 April 2011) dendik Rapidleech 0 04-16-2011 04:27 PM
Freakshare Upload plugin [16 April 2011] dendik Rapidleech 0 04-15-2011 06:54 PM
FileServe Upload Plugin for members [16 April 2011] dendik Rapidleech 0 04-15-2011 06:48 PM
Megaupload Upload plugin [16 April 2011] dendik Rapidleech 0 04-15-2011 06:38 PM


All times are GMT +1. The time now is 10:55 AM.
Hosted by Dikz Network
Copyright © 2010 HajarBos Network

Flasher Community DikzNet Dendik.id Dikz Network Deal N Get
DDLRank Katz DDL Your link DikzNet Forum Whois Checker

Free Full Premium Downloads