Advertisement
z3mb0d

Untitled

Jun 1st, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. <?php
  2. // Terimaksih Telah Mendownload Script Dari Amirtutorial.blogspot.com
  3. /////// DATA LOGIN WHM ANDA
  4. $whm_user = "amirtamvan"; // Username WHM
  5. $whm_pass = "amir123"; // Password untuk masuk ke whm
  6. $package_unli = "amirtamvan_unli";
  7. ////// END SETTING
  8.  
  9. $whm_host = "80.241.211.51";
  10.  
  11. function getVar($name, $def = '') {
  12. if (isset($_REQUEST[$name]))
  13. return $_REQUEST[$name];
  14. else
  15. return $def;
  16. }
  17.  
  18. // Domain name of new hosting account
  19. // To create subdomain just pass full subdomain name
  20. if (!isset($user_domain)) {
  21. $user_domain = getVar('domain');
  22. }
  23.  
  24. // Username of the new hosting account
  25. if (!isset($user_name)) {
  26. $user_name = getVar('user');
  27. }
  28.  
  29. // Password for the new hosting account
  30. if (!isset($user_pass)) {
  31. $user_pass = getVar('password');
  32. }
  33.  
  34. // New hosting account Package
  35. if (!isset($user_plan)) {
  36. $user_plan = getVar('package');
  37. }
  38.  
  39. // Contact email
  40. if (!isset($user_email)) {
  41. $user_email = getVar('email');
  42. }
  43.  
  44. // if parameters passed then create account
  45. if (!empty($user_name)) {
  46.  
  47. // create account on the cPanel server
  48. $script = "http://{$whm_user}:{$whm_pass}@{$whm_host}:2086/scripts/wwwacct";
  49. $params = "?plan={$user_plan}&domain={$user_domain}&username={$user_name}&password={$user_pass}&contactemail={$user_email}";
  50. $result = file_get_contents($script.$params);
  51.  
  52. // output result
  53. echo "HASIL: " . $result;
  54. }
  55. // otherwise show input form
  56. else {
  57. $frm = <<<EOD
  58. <!DOCTYPE html>
  59. <html lang="en">
  60. <head>
  61. <meta charset="utf-8">
  62. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  63. <meta name="viewport" content="width=device-width, initial-scale=1">
  64. <title> Terimaksih Telah Mendownload Script Dari Amirtutorial.blogspot.com </title>
  65. <meta name="description" content="Terimaksih Telah Mendownload Script Dari Amirtutorial.blogspot.com" />
  66. <meta name="robots" content="index, follow">
  67. <meta property="og:title" content="Terimaksih Telah Mendownload Script Dari Amirtutorial.blogspot.com" />
  68. <meta property="og:type" content="website" />
  69. <meta property="og:locale" content="en_US" />
  70. <meta property="og:site_name" content="Amirtutorial.blogspot.com" />
  71. </head>
  72. <body>
  73. <center>
  74. <h1><font color="red"> cPanel Creator Instant </font><font color="blue">(Jangan di Bug Tolol >:( )</font></h1>
  75. <h3> anda yang ingin membeli cPanel berbayar+murah, silahkan
  76. <a href="http://fb.com/akun.unikamir" target="blank">Klik Disini</a></h3>
  77. <hr>
  78. <hr>
  79. <form method="post">
  80. <table border="0">
  81. </table>
  82. </form>
  83. <br>
  84. <br><br>
  85. <hr>
  86. cP Creator &copy; 2017 <a href="http://m.facebook.com/groups/694214000693301" target="blank">Amir Tutorial kU</a> All rights reserved
  87. <hr>
  88. </center>
  89. </body>
  90. </html>
  91. EOD;
  92. echo $frm;
  93. }
  94. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement