Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Megaupload Direct download Link

    Is it possible to create a php script that can go fetch the direct download link from files on Megupload I have been looking through their source and see this.

    Code:
    <script language="Javascript">
    		x4649=46;
    		function countdown() 
    	{
    		if ((0 <= 100) || (0 > 0))
    		{
    			x4649--;
    			if(x4649 == 0)
    			{
    				if (0)
    				document.getElementById("downloadhtml").innerHTML = '<a href="" class="downloadlink" onclick="loadingdownload();">Click here to download</font></a>';
    			
    				if (0)
    document.getElementById("download_html").innerHTML = '<a href="Array" class="downloadhtml" onclick="loadingdownload();">Click here to download</font></a>';
    var g = String.fromCharCode(Math.abs(-100));
    var j = '4' + String.fromCharCode(Math.sqrt(2304));
    document.getElementById("dlbutton").innerHTML = '<a href="http://www481.megaupload.com/files/09b5e' + j + g + '1723b16ce3fd9a1c6d2d402d/EEDSCR..www.iwillsearch4u.com.avi" onclick="loadingdownload();"><IMG SRC="" WIDTH="165" HEIGHT="39" BORDER="0" ALT="" id="dlimage" onmouseover="dlimg.src=this.src;this.src=dlimgover.src;" onmouseout="this.src=dlimg.src;"></a>';document.getElementById('dlcounter').style.display = 'none';document.getElementById('dlcounterimg').style.display = 'none';document.getElementById('dlimage').src = dlimg.src;
    
    			}
    			if(x4649 > 0)
    			{
    				document.getElementById("dlcounter").innerHTML = 'Please wait <b>'+x4649+'</b> seconds';
    				setTimeout('countdown()',1000);
    			}
    		}
    	}
    	countdown();
    	function loadingdownload()
    	{	
    		document.getElementById('dlcounter').innerHTML = 'Loading download..';
    		document.getElementById('dlcounter').style.display = '';
    		document.getElementById('dlcounterimg').style.display = '';
    		document.getElementById('dlbutton').style.display = 'none';
    			}
    	function popup(url,name,wwidth,wheight) 
    	{
    		window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=no,status=no,resizable=yes, toolbar=no');
    	}
    	function popup2(url,name,wwidth,wheight) 
    	{
    		window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=yes,status=no,resizable=yes, toolbar=no');
    	}
    	function popup3(url,name,wwidth,wheight) 
    	{
    		window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=yes,status=yes,resizable=yes, toolbar=yes,location=yes,menubar=yes,left=0,top=0');
    	}				
    	</script>
    With The highlighted part in blue being the direct link but missing a few numbers ( + j + g + ) So does anybody no if it is possible?

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    please read the forum rules
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •