Advertisement
Guest User

Untitled

a guest
May 18th, 2020
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 15.05.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. include '../includes/functions.php';
  15. $rAction = strtoupper($_GET['action']);
  16. if (isset($_GET['id']) && (strlen($_GET['id']) == 32)) {
  17. $rChannel = $_GET['id'];
  18. $rScript = $_GET['type'];
  19.  
  20. if ($rAction == 'START') {
  21. $rTime = time();
  22. addPersistence($rScript, $rChannel);
  23. exec(MAIN_DIR . 'php/bin/php ' . MAIN_DIR . 'includes/' . $rScript . '.php START ' . $rChannel . ' > ' . MAIN_DIR . ('logs/build/' . $rChannel . '_' . $rTime . '.log 2>&1 &'));
  24. echo json_encode(['status' => true]);
  25. exit();
  26. }
  27. else if ($rAction == 'STOP') {
  28. removePersistence($rScript, $rChannel);
  29. exec(MAIN_DIR . 'php/bin/php ' . MAIN_DIR . 'includes/' . $rScript . '.php STOP ' . $rChannel . ' > /dev/null &');
  30. echo json_encode(['status' => true]);
  31. exit();
  32. }
  33. }
  34. else if ($rAction == 'GET_WHITELIST') {
  35. $rReturn = [];
  36. $rWhitelist = explode("\n", file_get_contents(MAIN_DIR . 'config/whitelist.conf'));
  37.  
  38. foreach ($rWhitelist as $rIP) {
  39. $rSplit = explode(' ', preg_replace('/\\s+/', ' ', $rIP));
  40. ...............................................................................
  41. ...............................................
  42. ...........................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement