Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../var/softacul.../wp63
File: plugin_deactivate.php
<?php
[0] Fix | Delete
[1] Fix | Delete
@unlink(__FILE__);
[2] Fix | Delete
[3] Fix | Delete
// Validate if the request is from Softaculous
[4] Fix | Delete
if($_REQUEST['pass'] != '[[autopass]]'){
[5] Fix | Delete
die("Unauthorized Access");
[6] Fix | Delete
}
[7] Fix | Delete
[8] Fix | Delete
require_once('wp-blog-header.php');
[9] Fix | Delete
require_once('wp-includes/pluggable.php');
[10] Fix | Delete
require_once('wp-admin/includes/plugin.php');
[11] Fix | Delete
[12] Fix | Delete
$plugins_to_deactivate = '[[plugins_to_deactivate]]';
[13] Fix | Delete
$plugins_to_deactivate = unserialize($plugins_to_deactivate);
[14] Fix | Delete
[15] Fix | Delete
$ret = array();
[16] Fix | Delete
[17] Fix | Delete
foreach($plugins_to_deactivate as $plugn_file){
[18] Fix | Delete
// null means success
[19] Fix | Delete
$ret[$plugn_file] = deactivate_plugins($plugn_file);
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
echo '<plugin_deactivate>'.serialize($ret).'</plugin_deactivate>';
[23] Fix | Delete
[24] Fix | Delete
exit(0);
[25] Fix | Delete
[26] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function