Edit File by line
/home/barbar84/www/wp-conte.../plugins/minioran.../controll...
File: dashboard.php
<?php
[0] Fix | Delete
[1] Fix | Delete
[2] Fix | Delete
[3] Fix | Delete
//all the variables and links
[4] Fix | Delete
$wpns_database = new MoMmpDB;
[5] Fix | Delete
$wpns_count_ips_blocked = $wpns_database->get_count_of_blocked_ips();
[6] Fix | Delete
$wpns_count_ips_whitelisted = $wpns_database->get_number_of_whitelisted_ips();
[7] Fix | Delete
$wpns_attacks_blocked = $wpns_database->get_count_of_attacks_blocked();
[8] Fix | Delete
[9] Fix | Delete
$mo_wpns_handler = new MoMmpHandler();
[10] Fix | Delete
$sqlC = $mo_wpns_handler->get_blocked_attacks_count("SQL");
[11] Fix | Delete
$rceC = $mo_wpns_handler->get_blocked_attacks_count("RCE");
[12] Fix | Delete
$rfiC = $mo_wpns_handler->get_blocked_attacks_count("RFI");
[13] Fix | Delete
$lfiC = $mo_wpns_handler->get_blocked_attacks_count("LFI");
[14] Fix | Delete
$xssC = $mo_wpns_handler->get_blocked_attacks_count("XSS");
[15] Fix | Delete
$totalAttacks = $sqlC+$lfiC+$rfiC+$xssC+$rceC;
[16] Fix | Delete
$total_malicious=$wpns_database->count_malicious_files();
[17] Fix | Delete
if($total_malicious > 999){
[18] Fix | Delete
$total_malicious=($total_malicious/1000);
[19] Fix | Delete
$total_malicious= round($total_malicious,1)."k";
[20] Fix | Delete
}
[21] Fix | Delete
include $mmp_dirName . 'views'.DIRECTORY_SEPARATOR.'dashboard.php';
[22] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function