|
Perfect Rapidshare Leecher
Elite Scripts
 |
|
02-06-2009, 07:24 AM
|
#1 (permalink)
|
Newbie
Join Date: Feb 2009
Posts: 4
Thanks: 2
Thanked 17 Times in 3 Posts
|
Perfect Rapidshare Leecher
Made this in free time , was not getting perfect place for posting :P ....
This is simple and perfect working php snippet for rs leeching.Its simple to understand and i hope you will learn something from this
Code:
<?php
//This file is developed by Xtreame Coder .
//This is Simple Logic For Rapidshare Leecher ...
/**
* @author Xtreame Coder
* @copyright 2008
*/
$rs_username="[userid]";
$rs_password="[password]";
if($_POST['link'])
{
$rs=$_REQUEST['link'];
$dat=explode(".html",$rs);
$dat=$dat[0];
$dat=explode("/files/",$dat);
$dat=explode("/",$dat[1]);
$id=$dat[0];
$name=$dat[1];
if(($id)&&($name))
{
set_time_limit(0);
$link="http://rapidshare.com/files/$id/$name";
$server=@file_get_contents($link);
preg_match_all('/<font style="color:#8E908F;">(.*)<\/font>/i',$server,$size);
$size=$size[1][0];$size=str_replace("| ","",$size);$size=str_replace(" KB","",$size);
$size=$size*1024;
preg_match_all('/http:\/\/rs(.*).rapidshare.com\//i',$server,$server);
$server=$server[1][0];
if($server)
{
$download="http://$rs_username:$rs_password@rs$server.rapidshare.com/files/$id/$name";
header("Cache-Control: public");
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=$name");
header("Accept-Ranges: bytes");
header("Connection: Keep-Alive");
header("HTTP/1.1 206 Partial Content");
header("Content-Length: $size");
$extension=explode(".",$name);
$extension=$extension[count($extension)-1];
header("Content-Type: file/$extension");
@readfile($download);
}
else
{
echo "File not available.";
}
}
else
{
echo "Invalid Link.";
}
//header("Content-Disposition: attachment; filename=Adobe.exe");
// readfile("http://6657035:petross@rs215.rapidshare.com/files/121553784/nfsb.part01.rar");
}
else
{
?>
<center>
<br /><h2>Private Rapidshare Downloader By XC</h2><br /><br />
<form action="<? echo $_SERVER[PHP_SELF]; ?>" method="POST">
Rapidshare Link : <input type="text" name="link" size="50"/><input type="submit" value="Download"/>
</form> <br><br><br>Developed By Xtreame Coder
</center>
<?
}
?>
|
|
|
|
The Following 15 Users Say Thank You to exploits For This Useful Post:
|
ajujo (03-10-2009), alvis168 (02-27-2009), Blix (07-12-2009), caovuong (04-28-2009), cyric (03-09-2009), Digi (06-24-2009), giaythuytinh176 (06-27-2009), lav (03-27-2009), metalgod2099 (06-25-2009), mkei85 (02-06-2009), momarel (03-29-2009), Nick (02-06-2009), sarangbeast (02-27-2009), Setto (05-13-2009), xnetwork (03-13-2009) |
02-06-2009, 08:09 AM
|
#2 (permalink)
|
Administrator
Join Date: May 2008
Location: LA, California
Posts: 3,638
Thanks: 1,489
Thanked 7,166 Times in 1,235 Posts
|
i don't know what to say, but it works 
awesome job
__________________
KEEP CLICKING >>
SHAREMAFIA
(Please Don't PM me regarding requests)
|
|
|
02-06-2009, 09:09 AM
|
#3 (permalink)
|
Grown up Punk
Join Date: Jul 2008
Posts: 123
Thanks: 0
Thanked 35 Times in 23 Posts
|
Do we still need RS account? or it is working like rapidleech?
|
|
|
02-06-2009, 09:25 AM
|
#4 (permalink)
|
Grown up Punk
Join Date: May 2008
Posts: 542
Thanks: 146
Thanked 805 Times in 191 Posts
|
Yes you need RS Premium account. Its like ftp request. Only premium user can download it as direct link.
Love your script. I am learn something new today...

|
|
|
02-06-2009, 12:48 PM
|
#5 (permalink)
|
Grown up Punk
Join Date: Jul 2008
Posts: 123
Thanks: 0
Thanked 35 Times in 23 Posts
|
What's the differences then if we actually have RS account? so the files will not be stored in the server?
|
|
|
02-06-2009, 12:55 PM
|
#6 (permalink)
|
Newbie
Join Date: Feb 2009
Posts: 4
Thanks: 2
Thanked 17 Times in 3 Posts
|
Quote:
|
What's the differences then if we actually have RS account? so the files will not be stored in the server?
|
No files will not be stored on server, its rs 2 user and php act as proxy which is having rs login
|
|
|
02-17-2009, 08:17 PM
|
#7 (permalink)
|
Grown up Punk
Join Date: Oct 2008
Posts: 187
Thanks: 77
Thanked 66 Times in 35 Posts
|
gr8 script, thnx 
i'll try it asap
|
|
|
02-18-2009, 03:46 AM
|
#8 (permalink)
|
Newbie
Join Date: Sep 2008
Posts: 21
Thanks: 7
Thanked 1 Time in 1 Post
|
bt no resume support  any fix ???
|
|
|
02-27-2009, 01:56 AM
|
#9 (permalink)
|
Leecher
Join Date: Jul 2008
Posts: 53
Thanks: 1
Thanked 15 Times in 8 Posts
|
I wud love if any one provide me script which saves file in the sever. No rapidshot please. With an friendly layout. Please pm me if anyone wud love to share. Thanks
|
|
|
02-27-2009, 04:22 AM
|
#10 (permalink)
|
Newbie
Join Date: Feb 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
|
XC welcome to Sharemafia brother!!! ^_^
|
|
|
 |
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|