Whoops! There was an error.
ErrorException (E_NOTICE)
Trying to get property 'num_rows' of non-object ErrorException thrown with message "Trying to get property 'num_rows' of non-object" Stacktrace: #3 ErrorException in /home/admin/web/touchdownworld.cz/public_html/security/modules/ban-system.php:5 #2 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /home/admin/web/touchdownworld.cz/public_html/security/modules/ban-system.php:5 #1 include in /home/admin/web/touchdownworld.cz/public_html/security/project-security.php:13 #0 include_once in /home/admin/web/touchdownworld.cz/public_html/index.php:62
3
ErrorException
/home/admin/web/touchdownworld.cz/public_html/security/modules/ban-system.php5
2
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/home/admin/web/touchdownworld.cz/public_html/security/modules/ban-system.php5
1
include
/home/admin/web/touchdownworld.cz/public_html/security/project-security.php13
0
include_once
/home/admin/web/touchdownworld.cz/public_html/index.php62
/home/admin/web/touchdownworld.cz/public_html/security/modules/ban-system.php
<?php
//Ban System
$table       = $prefix . 'bans';
$querybanned = $mysqli->query("SELECT ip FROM `$table` WHERE ip='$ip' LIMIT 1");
if ($querybanned->num_rows > 0) {
    $bannedpage_url = $projectsecurity_path . "/pages/banned.php";
    echo '<meta http-equiv="refresh" content="0;url=' . $bannedpage_url . '" />';
    exit;
}

//IP Ranges
$table       = $prefix . 'bans-ranges';
$querybanned = $mysqli->query("SELECT ip_range FROM `$table` WHERE ip_range='$ip_range' LIMIT 1");
if ($querybanned->num_rows > 0) {
    $bannedpage_url = $projectsecurity_path . "/pages/banned.php";
    echo '<meta http-equiv="refresh" content="0;url=' . $bannedpage_url . '" />';
    exit;
}

//Blocking Country
$table = $prefix . 'settings';
$query = $mysqli->query("SELECT `countryban_blacklist` FROM `$table` WHERE id='1' LIMIT 1");
$row   = $query->fetch_assoc();

$table1 = $prefix . 'bans-country';
$query1 = $mysqli->query("SELECT * FROM `$table1`");
$table2 = $prefix . 'bans-other';
$query2 = $mysqli->query("SELECT * FROM `$table2` WHERE type = 'isp'");
if ($query1->num_rows > 0 OR $query2->num_rows > 0) {
    $url = 'http://extreme-ip-lookup.com/json/' . $ip;
    $ch  = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
    curl_setopt($ch, CURLOPT_ENCODING, 'gzip,deflate');
    curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
    @curl_setopt($ch, CURLOPT_REFERER, "https://google.com");
    @$ipcontent = curl_exec($ch);
    curl_close($ch);
Arguments
  1. "Trying to get property 'num_rows' of non-object"
    
/home/admin/web/touchdownworld.cz/public_html/security/modules/ban-system.php
<?php
//Ban System
$table       = $prefix . 'bans';
$querybanned = $mysqli->query("SELECT ip FROM `$table` WHERE ip='$ip' LIMIT 1");
if ($querybanned->num_rows > 0) {
    $bannedpage_url = $projectsecurity_path . "/pages/banned.php";
    echo '<meta http-equiv="refresh" content="0;url=' . $bannedpage_url . '" />';
    exit;
}

//IP Ranges
$table       = $prefix . 'bans-ranges';
$querybanned = $mysqli->query("SELECT ip_range FROM `$table` WHERE ip_range='$ip_range' LIMIT 1");
if ($querybanned->num_rows > 0) {
    $bannedpage_url = $projectsecurity_path . "/pages/banned.php";
    echo '<meta http-equiv="refresh" content="0;url=' . $bannedpage_url . '" />';
    exit;
}

//Blocking Country
$table = $prefix . 'settings';
$query = $mysqli->query("SELECT `countryban_blacklist` FROM `$table` WHERE id='1' LIMIT 1");
$row   = $query->fetch_assoc();

$table1 = $prefix . 'bans-country';
$query1 = $mysqli->query("SELECT * FROM `$table1`");
$table2 = $prefix . 'bans-other';
$query2 = $mysqli->query("SELECT * FROM `$table2` WHERE type = 'isp'");
if ($query1->num_rows > 0 OR $query2->num_rows > 0) {
    $url = 'http://extreme-ip-lookup.com/json/' . $ip;
    $ch  = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
    curl_setopt($ch, CURLOPT_ENCODING, 'gzip,deflate');
    curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
    @curl_setopt($ch, CURLOPT_REFERER, "https://google.com");
    @$ipcontent = curl_exec($ch);
    curl_close($ch);
Arguments
  1. 8
    
  2. "Trying to get property 'num_rows' of non-object"
    
  3. "/home/admin/web/touchdownworld.cz/public_html/security/modules/ban-system.php"
    
  4. 5
    
  5. array:45 [
      "_GET" => []
      "_POST" => []
      "_COOKIE" => []
      "_FILES" => []
      "app" => Application {#2}
      "kernel" => Kernel {#30}
      "response" => Response {#515}
      "request" => Request {#43
        #json: null
        #convertedFiles: null
        #userResolver: Closure($guard = null) {#451 …5}
        #routeResolver: Closure() {#459 …5}
        +attributes: ParameterBag {#45}
        +request: ParameterBag {#51}
        +query: ParameterBag {#51}
        +server: ServerBag {#47}
        +files: FileBag {#48}
        +cookies: ParameterBag {#46}
        +headers: HeaderBag {#49}
        #content: null
        #languages: null
        #charsets: null
        #encodings: null
        #acceptableContentTypes: array:4 [
          0 => "text/html"
          1 => "application/xhtml+xml"
          2 => "application/xml"
          3 => "*/*"
        ]
        #pathInfo: "/"
        #requestUri: "/"
        #baseUrl: ""
        #basePath: null
        #method: "GET"
        #format: null
        #session: Store {#489}
        #locale: null
        #defaultLocale: "en"
        -isHostValid: true
        -isForwardedValid: true
        basePath: ""
        format: "html"
      }
      "GLOBALS" => &6 array:45 [
        "_GET" => & []
        "_POST" => & []
        "_COOKIE" => & []
        "_FILES" => & []
        "app" => & Application {#2}
        "kernel" => & Kernel {#30}
        "response" => & Response {#515}
        "request" => & Request {#43}
        "GLOBALS" => &6 array:45 [&6]
        "__composer_autoload_files" => & array:19 [
          "0e6d7bf4a5811bfa5cf40c5ccd6fae6a" => true
          "25072dd6e2470089de65ae7bf11d3109" => true
          "f598d06aa772fa33d905e87be6398fb1" => true
          "0d59ee240a4cd96ddbb4ff164fccea4d" => true
          "667aeda72477189d0494fecd327c3641" => true
          "320cde22f66dd4f5d3fd621d3e88b98f" => true
          "def43f6c87e4f8dfd0c9e1b1bab14fe8" => true
          "2c102faa651ef8ea5874edb585946bce" => true
          "7b11c4dc42b3b3023073cb14e519683c" => true
          "c964ee0ededf28c96ebd9db5099ef910" => true
          "a0edc8309cc5e1d60e3047b5df6b7052" => true
          "37a3dc5111fe8f707ab4c132ef1dbc62" => true
          "538ca81a9a966a6716601ecf48f4eaef" => true
          "f0906e6318348a765ffb6eb24e0d0938" => true
          "58571171fd5812e6e447dce228f52f4d" => true
          "6124b4c8570aa390c21fafd04a26c69f" => true
          "801c31d8ed748cfa537fa45402288c95" => true
          "0d8253363903f0ac7b0978dcde4e28a0" => true
          "92c1b38d4675fce54491776e674b6d3a" => true
        ]
        "_SERVER" => & array:72 [
          "UNIQUE_ID" => "X7-rL6XgEkbwvUh5jnRyDQAAAAI"
          "PERL5LIB" => "/usr/share/awstats/lib:/usr/share/awstats/plugins"
          "HTTPS" => "on"
          "HTTP_HOST" => "touchdownworld.cz"
          "HTTP_X_FORWARDED_FOR" => "3.238.147.211"
          "HTTP_CONNECTION" => "close"
          "HTTP_USER_AGENT" => "CCBot/2.0 (https://commoncrawl.org/faq/)"
          "HTTP_ACCEPT" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
          "HTTP_ACCEPT_LANGUAGE" => "en-US,en;q=0.5"
          "HTTP_IF_MODIFIED_SINCE" => "Tue, 27 Oct 2020 03:04:20 GMT"
          "HTTP_ACCEPT_ENCODING" => "br,gzip"
          "PATH" => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
          "SERVER_SIGNATURE" => ""
          "SERVER_SOFTWARE" => "Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.3.12"
          "SERVER_NAME" => "touchdownworld.cz"
          "SERVER_ADDR" => "45.150.76.62"
          "SERVER_PORT" => "443"
          "REMOTE_ADDR" => "3.238.147.211"
          "DOCUMENT_ROOT" => "/home/admin/web/touchdownworld.cz/public_html"
          "REQUEST_SCHEME" => "https"
          "CONTEXT_PREFIX" => ""
          "CONTEXT_DOCUMENT_ROOT" => "/home/admin/web/touchdownworld.cz/public_html"
          "SERVER_ADMIN" => "info@touchdownworld.cz"
          "SCRIPT_FILENAME" => "/home/admin/web/touchdownworld.cz/public_html/index.php"
          "REMOTE_PORT" => "38450"
          "GATEWAY_INTERFACE" => "CGI/1.1"
          "SERVER_PROTOCOL" => "HTTP/1.0"
          "REQUEST_METHOD" => "GET"
          "QUERY_STRING" => ""
          "REQUEST_URI" => "/"
          "SCRIPT_NAME" => "/index.php"
          "PHP_SELF" => "/index.php"
          "REQUEST_TIME_FLOAT" => 1606413103.719
          "REQUEST_TIME" => 1606413103
          "APP_NAME" => "Laravel"
          "APP_ENV" => "local"
          "APP_KEY" => "base64:0w45AhTZxVkuS5Vyz+t/NPa7rgtMyUYNdQv1hAA7x3k="
          "APP_DEBUG" => "true"
          "APP_URL" => "https://touchdownworld.cz"
          "LOG_CHANNEL" => "stack"
          "DB_CONNECTION" => "mysql"
          "DB_HOST" => "localhost"
          "DB_PORT" => "3306"
          "DB_DATABASE" => "admin_tdwportal"
          "DB_USERNAME" => "admin_tdwportal"
          "DB_PASSWORD" => "GQV1iQey8E"
          "BROADCAST_DRIVER" => "log"
          "CACHE_DRIVER" => "file"
          "QUEUE_CONNECTION" => "sync"
          "SESSION_DRIVER" => "file"
          "SESSION_LIFETIME" => "120"
          "REDIS_HOST" => "127.0.0.1"
          "REDIS_PASSWORD" => "null"
          "REDIS_PORT" => "6379"
          "MAIL_DRIVER" => "smtp"
          "MAIL_HOST" => "smtp.mailtrap.io"
          "MAIL_PORT" => "2525"
          "MAIL_USERNAME" => "null"
          "MAIL_PASSWORD" => "null"
          "MAIL_ENCRYPTION" => "null"
          "AWS_ACCESS_KEY_ID" => ""
          "AWS_SECRET_ACCESS_KEY" => ""
          "AWS_DEFAULT_REGION" => "us-east-1"
          "AWS_BUCKET" => ""
          "PUSHER_APP_ID" => ""
          "PUSHER_APP_KEY" => ""
          "PUSHER_APP_SECRET" => ""
          "PUSHER_APP_CLUSTER" => "mt1"
          "MIX_PUSHER_APP_KEY" => ""
          "MIX_PUSHER_APP_CLUSTER" => "mt1"
          "DISQUS_ENABLED" => "false"
          "DISQUS_USERNAME" => "Plusagency"
        ]
        "_ENV" => & array:38 [
          "APP_NAME" => "Laravel"
          "APP_ENV" => "local"
          "APP_KEY" => "base64:0w45AhTZxVkuS5Vyz+t/NPa7rgtMyUYNdQv1hAA7x3k="
          "APP_DEBUG" => "true"
          "APP_URL" => "https://touchdownworld.cz"
          "LOG_CHANNEL" => "stack"
          "DB_CONNECTION" => "mysql"
          "DB_HOST" => "localhost"
          "DB_PORT" => "3306"
          "DB_DATABASE" => "admin_tdwportal"
          "DB_USERNAME" => "admin_tdwportal"
          "DB_PASSWORD" => "GQV1iQey8E"
          "BROADCAST_DRIVER" => "log"
          "CACHE_DRIVER" => "file"
          "QUEUE_CONNECTION" => "sync"
          "SESSION_DRIVER" => "file"
          "SESSION_LIFETIME" => "120"
          "REDIS_HOST" => "127.0.0.1"
          "REDIS_PASSWORD" => "null"
          "REDIS_PORT" => "6379"
          "MAIL_DRIVER" => "smtp"
          "MAIL_HOST" => "smtp.mailtrap.io"
          "MAIL_PORT" => "2525"
          "MAIL_USERNAME" => "null"
          "MAIL_PASSWORD" => "null"
          "MAIL_ENCRYPTION" => "null"
          "AWS_ACCESS_KEY_ID" => ""
          "AWS_SECRET_ACCESS_KEY" => ""
          "AWS_DEFAULT_REGION" => "us-east-1"
          "AWS_BUCKET" => ""
          "PUSHER_APP_ID" => ""
          "PUSHER_APP_KEY" => ""
          "PUSHER_APP_SECRET" => ""
          "PUSHER_APP_CLUSTER" => "mt1"
          "MIX_PUSHER_APP_KEY" => ""
          "MIX_PUSHER_APP_CLUSTER" => "mt1"
          "DISQUS_ENABLED" => "false"
          "DISQUS_USERNAME" => "Plusagency"
        ]
        "_REQUEST" => & []
        "host" => & "localhost"
        "user" => & "admin_tdwsec"
        "password" => & "8u44VTpPaZ"
        "database" => & "admin_tdwsec"
        "prefix" => & ""
        "mysqli" => & mysqli {#436}
        "site_url" => & "https://touchdownworld.cz"
        "projectsecurity_path" => & "https://touchdownworld.cz/security"
        "wtable" => & "ip-whitelist"
        "wquery" => & mysqli_result {#438}
        "ip" => & "3.238.147.211"
        "wftable" => & "file-whitelist"
        "wfquery" => & mysqli_result {#435}
        "script_name" => & "index.php"
        "table" => & "bans"
        "squery" => & mysqli_result {#434}
        "srow" => & array:15 [
          "id" => "1"
          "email" => "security@touchdownworld.cz"
          "username" => "Deil"
          "password" => "faf5ed1ad12eaff243aff49af847f9382e5c034e427d7facadc127f11f036da4"
          "realtime_protection" => "1"
          "mail_notifications" => "1"
          "ip_detection" => "2"
          "countryban_blacklist" => "1"
          "live_traffic" => "1"
          "jquery_include" => "1"
          "badword_replace" => "[Censored]"
          "error_reporting" => "5"
          "display_errors" => "0"
          "fixed_layout" => "0"
          "boxed_layout" => "0"
        ]
        "useragent_data" => & UserAgentPSec {#437}
        "ipnums" => & array:4 [
          0 => "3"
          1 => "238"
          2 => "147"
          3 => "211"
        ]
        "ip_range" => & "3.238.147"
        "page" => & "/index.php"
        "browser" => & "Unknown"
        "browsersh" => & "Unknown"
        "browser_code" => & "null"
        "os" => & ""
        "ossh" => & " "
        "os_code" => & "null"
        "useragent" => & "CCBot/2.0 (https://commoncrawl.org/faq/)"
        "referer" => & null
        "date" => & "26 November 2020"
        "time" => & "17:51"
        "querybanned" => & false
      ]
      "__composer_autoload_files" => array:19 [
        "0e6d7bf4a5811bfa5cf40c5ccd6fae6a" => true
        "25072dd6e2470089de65ae7bf11d3109" => true
        "f598d06aa772fa33d905e87be6398fb1" => true
        "0d59ee240a4cd96ddbb4ff164fccea4d" => true
        "667aeda72477189d0494fecd327c3641" => true
        "320cde22f66dd4f5d3fd621d3e88b98f" => true
        "def43f6c87e4f8dfd0c9e1b1bab14fe8" => true
        "2c102faa651ef8ea5874edb585946bce" => true
        "7b11c4dc42b3b3023073cb14e519683c" => true
        "c964ee0ededf28c96ebd9db5099ef910" => true
        "a0edc8309cc5e1d60e3047b5df6b7052" => true
        "37a3dc5111fe8f707ab4c132ef1dbc62" => true
        "538ca81a9a966a6716601ecf48f4eaef" => true
        "f0906e6318348a765ffb6eb24e0d0938" => true
        "58571171fd5812e6e447dce228f52f4d" => true
        "6124b4c8570aa390c21fafd04a26c69f" => true
        "801c31d8ed748cfa537fa45402288c95" => true
        "0d8253363903f0ac7b0978dcde4e28a0" => true
        "92c1b38d4675fce54491776e674b6d3a" => true
      ]
      "_SERVER" => array:72 [
        "UNIQUE_ID" => "X7-rL6XgEkbwvUh5jnRyDQAAAAI"
        "PERL5LIB" => "/usr/share/awstats/lib:/usr/share/awstats/plugins"
        "HTTPS" => "on"
        "HTTP_HOST" => "touchdownworld.cz"
        "HTTP_X_FORWARDED_FOR" => "3.238.147.211"
        "HTTP_CONNECTION" => "close"
        "HTTP_USER_AGENT" => "CCBot/2.0 (https://commoncrawl.org/faq/)"
        "HTTP_ACCEPT" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
        "HTTP_ACCEPT_LANGUAGE" => "en-US,en;q=0.5"
        "HTTP_IF_MODIFIED_SINCE" => "Tue, 27 Oct 2020 03:04:20 GMT"
        "HTTP_ACCEPT_ENCODING" => "br,gzip"
        "PATH" => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
        "SERVER_SIGNATURE" => ""
        "SERVER_SOFTWARE" => "Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.3.12"
        "SERVER_NAME" => "touchdownworld.cz"
        "SERVER_ADDR" => "45.150.76.62"
        "SERVER_PORT" => "443"
        "REMOTE_ADDR" => "3.238.147.211"
        "DOCUMENT_ROOT" => "/home/admin/web/touchdownworld.cz/public_html"
        "REQUEST_SCHEME" => "https"
        "CONTEXT_PREFIX" => ""
        "CONTEXT_DOCUMENT_ROOT" => "/home/admin/web/touchdownworld.cz/public_html"
        "SERVER_ADMIN" => "info@touchdownworld.cz"
        "SCRIPT_FILENAME" => "/home/admin/web/touchdownworld.cz/public_html/index.php"
        "REMOTE_PORT" => "38450"
        "GATEWAY_INTERFACE" => "CGI/1.1"
        "SERVER_PROTOCOL" => "HTTP/1.0"
        "REQUEST_METHOD" => "GET"
        "QUERY_STRING" => ""
        "REQUEST_URI" => "/"
        "SCRIPT_NAME" => "/index.php"
        "PHP_SELF" => "/index.php"
        "REQUEST_TIME_FLOAT" => 1606413103.719
        "REQUEST_TIME" => 1606413103
        "APP_NAME" => "Laravel"
        "APP_ENV" => "local"
        "APP_KEY" => "base64:0w45AhTZxVkuS5Vyz+t/NPa7rgtMyUYNdQv1hAA7x3k="
        "APP_DEBUG" => "true"
        "APP_URL" => "https://touchdownworld.cz"
        "LOG_CHANNEL" => "stack"
        "DB_CONNECTION" => "mysql"
        "DB_HOST" => "localhost"
        "DB_PORT" => "3306"
        "DB_DATABASE" => "admin_tdwportal"
        "DB_USERNAME" => "admin_tdwportal"
        "DB_PASSWORD" => "GQV1iQey8E"
        "BROADCAST_DRIVER" => "log"
        "CACHE_DRIVER" => "file"
        "QUEUE_CONNECTION" => "sync"
        "SESSION_DRIVER" => "file"
        "SESSION_LIFETIME" => "120"
        "REDIS_HOST" => "127.0.0.1"
        "REDIS_PASSWORD" => "null"
        "REDIS_PORT" => "6379"
        "MAIL_DRIVER" => "smtp"
        "MAIL_HOST" => "smtp.mailtrap.io"
        "MAIL_PORT" => "2525"
        "MAIL_USERNAME" => "null"
        "MAIL_PASSWORD" => "null"
        "MAIL_ENCRYPTION" => "null"
        "AWS_ACCESS_KEY_ID" => ""
        "AWS_SECRET_ACCESS_KEY" => ""
        "AWS_DEFAULT_REGION" => "us-east-1"
        "AWS_BUCKET" => ""
        "PUSHER_APP_ID" => ""
        "PUSHER_APP_KEY" => ""
        "PUSHER_APP_SECRET" => ""
        "PUSHER_APP_CLUSTER" => "mt1"
        "MIX_PUSHER_APP_KEY" => ""
        "MIX_PUSHER_APP_CLUSTER" => "mt1"
        "DISQUS_ENABLED" => "false"
        "DISQUS_USERNAME" => "Plusagency"
      ]
      "_ENV" => array:38 [
        "APP_NAME" => "Laravel"
        "APP_ENV" => "local"
        "APP_KEY" => "base64:0w45AhTZxVkuS5Vyz+t/NPa7rgtMyUYNdQv1hAA7x3k="
        "APP_DEBUG" => "true"
        "APP_URL" => "https://touchdownworld.cz"
        "LOG_CHANNEL" => "stack"
        "DB_CONNECTION" => "mysql"
        "DB_HOST" => "localhost"
        "DB_PORT" => "3306"
        "DB_DATABASE" => "admin_tdwportal"
        "DB_USERNAME" => "admin_tdwportal"
        "DB_PASSWORD" => "GQV1iQey8E"
        "BROADCAST_DRIVER" => "log"
        "CACHE_DRIVER" => "file"
        "QUEUE_CONNECTION" => "sync"
        "SESSION_DRIVER" => "file"
        "SESSION_LIFETIME" => "120"
        "REDIS_HOST" => "127.0.0.1"
        "REDIS_PASSWORD" => "null"
        "REDIS_PORT" => "6379"
        "MAIL_DRIVER" => "smtp"
        "MAIL_HOST" => "smtp.mailtrap.io"
        "MAIL_PORT" => "2525"
        "MAIL_USERNAME" => "null"
        "MAIL_PASSWORD" => "null"
        "MAIL_ENCRYPTION" => "null"
        "AWS_ACCESS_KEY_ID" => ""
        "AWS_SECRET_ACCESS_KEY" => ""
        "AWS_DEFAULT_REGION" => "us-east-1"
        "AWS_BUCKET" => ""
        "PUSHER_APP_ID" => ""
        "PUSHER_APP_KEY" => ""
        "PUSHER_APP_SECRET" => ""
        "PUSHER_APP_CLUSTER" => "mt1"
        "MIX_PUSHER_APP_KEY" => ""
        "MIX_PUSHER_APP_CLUSTER" => "mt1"
        "DISQUS_ENABLED" => "false"
        "DISQUS_USERNAME" => "Plusagency"
      ]
      "_REQUEST" => []
      "host" => "localhost"
      "user" => "admin_tdwsec"
      "password" => "8u44VTpPaZ"
      "database" => "admin_tdwsec"
      "prefix" => ""
      "mysqli" => mysqli {#436}
      "site_url" => "https://touchdownworld.cz"
      "projectsecurity_path" => "https://touchdownworld.cz/security"
      "wtable" => "ip-whitelist"
      "wquery" => mysqli_result {#438}
      "ip" => "3.238.147.211"
      "wftable" => "file-whitelist"
      "wfquery" => mysqli_result {#435}
      "script_name" => "index.php"
      "table" => "bans"
      "squery" => mysqli_result {#434}
      "srow" => array:15 [
        "id" => "1"
        "email" => "security@touchdownworld.cz"
        "username" => "Deil"
        "password" => "faf5ed1ad12eaff243aff49af847f9382e5c034e427d7facadc127f11f036da4"
        "realtime_protection" => "1"
        "mail_notifications" => "1"
        "ip_detection" => "2"
        "countryban_blacklist" => "1"
        "live_traffic" => "1"
        "jquery_include" => "1"
        "badword_replace" => "[Censored]"
        "error_reporting" => "5"
        "display_errors" => "0"
        "fixed_layout" => "0"
        "boxed_layout" => "0"
      ]
      "useragent_data" => UserAgentPSec {#437}
      "ipnums" => array:4 [
        0 => "3"
        1 => "238"
        2 => "147"
        3 => "211"
      ]
      "ip_range" => "3.238.147"
      "page" => "/index.php"
      "browser" => "Unknown"
      "browsersh" => "Unknown"
      "browser_code" => "null"
      "os" => ""
      "ossh" => " "
      "os_code" => "null"
      "useragent" => "CCBot/2.0 (https://commoncrawl.org/faq/)"
      "referer" => null
      "date" => "26 November 2020"
      "time" => "17:51"
      "querybanned" => false
    ]
    
/home/admin/web/touchdownworld.cz/public_html/security/project-security.php
<?php
include "config.php";
include "modules/core.php";

//Checking if the visitor is in the Whitelist
$wtable  = $prefix . 'ip-whitelist';
$wquery  = $mysqli->query("SELECT ip FROM `$wtable` WHERE ip='$ip' LIMIT 1");
$wftable = $prefix . 'file-whitelist';
$wfquery = $mysqli->query("SELECT path FROM `$wftable` WHERE path='$script_name' LIMIT 1");
if ($wquery->num_rows <= 0 && $wfquery->num_rows <= 0) {
    
    //Ban System
    include "modules/ban-system.php";
    
    $table  = $prefix . 'settings';
    $squery = $mysqli->query("SELECT * FROM `$table` LIMIT 1");
    $srow   = $squery->fetch_assoc();
    
    //Error Reporting
    if ($srow['error_reporting'] == 1) {
        @error_reporting(0);
    }
    if ($srow['error_reporting'] == 2) {
        @error_reporting(E_ERROR | E_WARNING | E_PARSE);
    }
    if ($srow['error_reporting'] == 3) {
        @error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
    }
    if ($srow['error_reporting'] == 4) {
        @error_reporting(E_ALL & ~E_NOTICE);
    }
    if ($srow['error_reporting'] == 5) {
        @error_reporting(E_ALL);
    }
    
    //Displaying Errors
    if ($srow['display_errors'] == 1) {
        @ini_set('display_errors', '1');
    } else {
        @ini_set('display_errors', '0');
Arguments
  1. "/home/admin/web/touchdownworld.cz/public_html/security/modules/ban-system.php"
    
/home/admin/web/touchdownworld.cz/public_html/index.php
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
include_once "security/config.php";
include_once "security/project-security.php"; 
Arguments
  1. "/home/admin/web/touchdownworld.cz/public_html/security/project-security.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
UNIQUE_ID
"X7-rL6XgEkbwvUh5jnRyDQAAAAI"
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
HTTPS
"on"
HTTP_HOST
"touchdownworld.cz"
HTTP_X_FORWARDED_FOR
"3.238.147.211"
HTTP_CONNECTION
"close"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_IF_MODIFIED_SINCE
"Tue, 27 Oct 2020 03:04:20 GMT"
HTTP_ACCEPT_ENCODING
"br,gzip"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.3.12"
SERVER_NAME
"touchdownworld.cz"
SERVER_ADDR
"45.150.76.62"
SERVER_PORT
"443"
REMOTE_ADDR
"3.238.147.211"
DOCUMENT_ROOT
"/home/admin/web/touchdownworld.cz/public_html"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/admin/web/touchdownworld.cz/public_html"
SERVER_ADMIN
"info@touchdownworld.cz"
SCRIPT_FILENAME
"/home/admin/web/touchdownworld.cz/public_html/index.php"
REMOTE_PORT
"38450"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1606413103.719
REQUEST_TIME
1606413103
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:0w45AhTZxVkuS5Vyz+t/NPa7rgtMyUYNdQv1hAA7x3k="
APP_DEBUG
"true"
APP_URL
"https://touchdownworld.cz"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin_tdwportal"
DB_USERNAME
"admin_tdwportal"
DB_PASSWORD
"GQV1iQey8E"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
AWS_ACCESS_KEY_ID
""
AWS_SECRET_ACCESS_KEY
""
AWS_DEFAULT_REGION
"us-east-1"
AWS_BUCKET
""
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
DISQUS_ENABLED
"false"
DISQUS_USERNAME
"Plusagency"
Key Value
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:0w45AhTZxVkuS5Vyz+t/NPa7rgtMyUYNdQv1hAA7x3k="
APP_DEBUG
"true"
APP_URL
"https://touchdownworld.cz"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin_tdwportal"
DB_USERNAME
"admin_tdwportal"
DB_PASSWORD
"GQV1iQey8E"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
AWS_ACCESS_KEY_ID
""
AWS_SECRET_ACCESS_KEY
""
AWS_DEFAULT_REGION
"us-east-1"
AWS_BUCKET
""
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
DISQUS_ENABLED
"false"
DISQUS_USERNAME
"Plusagency"
0. Whoops\Handler\PrettyPageHandler