Advertisement
Guest User

Untitled

a guest
May 16th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. <?php
  2. /*
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.5.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 22.06.2018
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. require '../system/function.php';
  15. require '../system/function_2.php';
  16. require '../system/database.php';
  17.  
  18. if ($check_install != 0) {
  19. exit();
  20. }
  21.  
  22. if (isset($_POST['db_host']) && isset($_POST['db_name']) && isset($_POST['db_user']) && isset($_POST['db_pass']) && isset($_POST['username']) && isset($_POST['password']) && isset($_POST['email']) && isset($_POST['repeat']) && isset($_POST['domain']) && isset($_POST['title']) && isset($_POST['language']) && isset($_POST['purchase']) && !empty($_POST['db_host']) && !empty($_POST['db_name']) && !empty($_POST['db_user']) && !empty($_POST['username']) && !empty($_POST['password']) && !empty($_POST['email']) && !empty($_POST['repeat']) && !empty($_POST['domain']) && !empty($_POST['title']) && !empty($_POST['language']) && !empty($_POST['purchase'])) {
  23. $DB_HOST = $_POST['db_host'];
  24. $DB_NAME = $_POST['db_name'];
  25. $DB_USER = $_POST['db_user'];
  26. $DB_PASS = $_POST['db_pass'];
  27. $mysqli = @new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
  28.  
  29. if (mysqli_connect_errno()) {
  30. echo 2;
  31.  
  32. exit();
  33. }
  34.  
  35. if (!function_exists('curl_init')) {
  36. echo 99;
  37.  
  38. exit();
  39. }
  40.  
  41. echo processinstall();
  42. echo "\t";
  43. } else {
  44. echo 3;
  45.  
  46. exit();
  47. }
  48.  
  49. function boomCurl($f = array())
  50. {
  51. $url = 'https://boomcoding.com/api/install.php';
  52. $curl = curl_init();
  53. curl_setopt($curl, CURLOPT_URL, $url);
  54. curl_setopt($curl, CURLOPT_POST, true);
  55. curl_setopt($curl, CURLOPT_POSTFIELDS, $f);
  56. curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  57. curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  58. curl_setopt($curl, CURLOPT_HEADER, false);
  59. curl_setopt($curl, CURLOPT_REFERER, $_SERVER['HTTP_HOST']);
  60. $result = curl_exec($curl);
  61. curl_close($curl);
  62.  
  63. return $result;
  64. }
  65.  
  66. function processInstall()
  67. {
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement