Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Terimaksih Telah Mendownload Script Dari Amirtutorial.blogspot.com
- /////// DATA LOGIN WHM ANDA
- $whm_user = "amirtamvan"; // Username WHM
- $whm_pass = "amir123"; // Password untuk masuk ke whm
- $package_unli = "amirtamvan_unli";
- ////// END SETTING
- $whm_host = "80.241.211.51";
- function getVar($name, $def = '') {
- if (isset($_REQUEST[$name]))
- return $_REQUEST[$name];
- else
- return $def;
- }
- // Domain name of new hosting account
- // To create subdomain just pass full subdomain name
- if (!isset($user_domain)) {
- $user_domain = getVar('domain');
- }
- // Username of the new hosting account
- if (!isset($user_name)) {
- $user_name = getVar('user');
- }
- // Password for the new hosting account
- if (!isset($user_pass)) {
- $user_pass = getVar('password');
- }
- // New hosting account Package
- if (!isset($user_plan)) {
- $user_plan = getVar('package');
- }
- // Contact email
- if (!isset($user_email)) {
- $user_email = getVar('email');
- }
- // if parameters passed then create account
- if (!empty($user_name)) {
- // create account on the cPanel server
- $script = "http://{$whm_user}:{$whm_pass}@{$whm_host}:2086/scripts/wwwacct";
- $params = "?plan={$user_plan}&domain={$user_domain}&username={$user_name}&password={$user_pass}&contactemail={$user_email}";
- $result = file_get_contents($script.$params);
- // output result
- echo "HASIL: " . $result;
- }
- // otherwise show input form
- else {
- $frm = <<<EOD
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title> Terimaksih Telah Mendownload Script Dari Amirtutorial.blogspot.com </title>
- <meta name="description" content="Terimaksih Telah Mendownload Script Dari Amirtutorial.blogspot.com" />
- <meta name="robots" content="index, follow">
- <meta property="og:title" content="Terimaksih Telah Mendownload Script Dari Amirtutorial.blogspot.com" />
- <meta property="og:type" content="website" />
- <meta property="og:locale" content="en_US" />
- <meta property="og:site_name" content="Amirtutorial.blogspot.com" />
- </head>
- <body>
- <center>
- <h1><font color="red"> cPanel Creator Instant </font><font color="blue">(Jangan di Bug Tolol >:( )</font></h1>
- <h3> anda yang ingin membeli cPanel berbayar+murah, silahkan
- <a href="http://fb.com/akun.unikamir" target="blank">Klik Disini</a></h3>
- <hr>
- <hr>
- <form method="post">
- <table border="0">
- </table>
- </form>
- <br>
- <br><br>
- <hr>
- cP Creator © 2017 <a href="http://m.facebook.com/groups/694214000693301" target="blank">Amir Tutorial kU</a> All rights reserved
- <hr>
- </center>
- </body>
- </html>
- EOD;
- echo $frm;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement