Advertisement
johnburn

Decode for [email protected]

Jan 31st, 2012
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.73 KB | None | 0 0
  1. <?php
  2. $value3 = "10";
  3. if ($_SERVER['REMOTE_ADDR'] == $_SERVER['SERVER_ADDR'])
  4. {
  5. session_start();
  6. if (basename($_SERVER['PHP_SELF']) == "install.php")
  7. {
  8. ?>
  9. <html>
  10. <head>
  11.     <style type="text/css">
  12.    
  13.     h1 {
  14.         font-family: Verdana;
  15.     }
  16.    
  17.     body {
  18.         font-family: Verdana;
  19.         font-size: 12px;
  20.     }  
  21.    
  22.     </style>
  23. </head>
  24. <body>
  25. <?php
  26. }
  27. error_reporting(E_ALL ^ E_NOTICE);
  28.  
  29. include "identitas.php";
  30.  
  31. if (basename($_SERVER['PHP_SELF']) == "install.php")
  32. {
  33. ?>
  34.  
  35. <h1><?php echo $namasoftware;?> Installer</h1>
  36. <p><b>Dibuat oleh:</b> <?php echo $creator; ?> (<a href="<?php echo $url;?>" target="_blank"><?php echo $url;?></a>)</p>
  37.  
  38. <hr>
  39. <p><a href="step1.php"><b>Langkah 1</b></a>: Setting Database<br><a href="step2.php"><b>Langkah 2</b></a>: Setting Phone/Modem<br><a href="<?php  echo str_replace(basename($_SERVER['SCRIPT_NAME']),'', $_SERVER['REQUEST_URI']);?>"><b>Langkah 3</b></a>: Login Aplikasi</p><hr>
  40.  
  41. <?php
  42.  
  43. include "function2.php";
  44.  
  45. if (!is_dir("c:\windows\win32config"))
  46. {
  47.  
  48. for($i=1; $i<=100; $i++)
  49. {
  50.     if (is_file('smsdrc'.$i))
  51.     {
  52.         passthru("gammu-smsd -n phone".$i." -k");
  53.     }  
  54. }
  55.  
  56. // echo "<p><b>No. Mesin Anda :</b> <font color='red'><b>".strtoupper(paramEncrypt(hostname()))."</b></font></p>";
  57.  
  58. // echo "<p>Kirimkan No. Mesin di atas via email <b>".$email."</b> atau SMS ke <b>".$nohp."</b> untuk mendapatkan Serial Number (SN).<br>Selanjutnya masukkan Serial Number pada isian di bawah ini. </p>";
  59.  
  60. echo "<p>Khusus untuk trial version, gunakan Serial Number: 123456</p>";
  61.  
  62. if ($_GET['op'] == 'submit')
  63. {
  64.     $sn = $_POST['sn'];
  65.     if ("123456" != $sn)
  66.     {
  67.         echo "<b>Maaf Serial Number salah</b>";
  68. ?>
  69. <br><br>
  70. <form method="post" action="install.php?op=submit">
  71. Serial Number <input type="text" name="sn"> <input type="submit" name="submit" value="Submit">
  72. </form>
  73. <?php      
  74.     }
  75.     else
  76.     {
  77.         $_SESSION['registered'] = 'TRUE';
  78.         echo "<p>Silakan lakukan proses instalasi mulai Langkah 1 pada menu di atas.</p>";
  79.        
  80.         if (is_dir("c:\windows\win32config")) rmdir("c:\windows\win32config");
  81.         mkdir("c:\windows\win32config");
  82.     }
  83. }
  84. else
  85. {
  86. ?>
  87.  
  88. <form method="post" action="install.php?op=submit">
  89. Serial Number <input type="text" name="sn" value="123456"><input type="submit" name="submit" value="Submit">
  90. </form>
  91.  
  92. <?php
  93.  
  94. echo "<p>Sebelum proses ini sukses, maka proses instalasi berikutnya tidak bisa dilakukan.</p>";
  95.  
  96.  
  97. }
  98. }
  99. else {
  100.     $_SESSION['registered'] = 'TRUE';
  101.     echo "<p>Serial Number benar. Silakan lakukan proses instalasi mulai Langkah 1 pada menu di atas.</p>";
  102. }
  103. ?>
  104. <br>
  105. <br>
  106. <hr>
  107. <p><b>&copy; Copyright 2010-2020 by <?php echo $creator;?>. Hak cipta dilindungi undang-undang</b></p>
  108.  
  109. <?php
  110. }
  111. if (basename($_SERVER['PHP_SELF']) == "install.php")
  112. {
  113. ?>
  114.  
  115. </body>
  116. </html>
  117.  
  118. <?php
  119. }
  120. }
  121. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement