".esc_html($hackmonitorchanged_error)."";
}
?>
".esc_html($wpinfecscanlite_hackmonitorchanged_error)."";
}
?>
|
|
|
0){
$blockips = array_reverse($blockips);
for( $i=0;$i".esc_html(__("Unblock","wpinfecscanlite"))."";
echo "| ".esc_html($blockip[0])." | ".esc_html($blockip[1])." | ".$ipblockbutton." |
";
}
}
}
?>
".esc_html(__("No data found.","wpinfecscanlite"))."";
}
$limitcount = 30;
?>
prefix . 'infectscannerlitenfblock';
$query = $wpdb->prepare("SHOW TABLES LIKE %s",$table_name);
if($wpdb->get_var($query) != $table_name) {
$secfunc=new wpinfectlitescanner_WPInfectSecurity();
$secfunc->wpinfectlitescan_db404install();
}
$nfblockres = false;
$nfblockres_num_rows = 0;
if($wpdb->get_var($query) == $table_name) {
$query = $wpdb->prepare("SELECT * FROM `%1s` ORDER BY lastdetect DESC limit %d",$table_name,$limitcount);
$nfblockres = $wpdb->get_results($query);
$query = $wpdb->prepare("SELECT COUNT(*) FROM `%1s`",$table_name);
$nfblockres_num_rows = $wpdb->get_var($query);
}
if($nfblockres_num_rows>$limitcount){
echo "
Page: ";
for($i=0;$i".esc_html($i+1)." ";
}
echo "
";
}
?>
|
|
|
|
|
|
|
$row) {
$ip = $row->ipv4;
if(empty($ip)){
$ip = $row->ipv6;
}
$accessedfile= $row->filepath.$row->filename;
$accessedfile=str_replace('//','/',$accessedfile);
$detecttime = $row->lastdetect;
$hacktype = $row->hacktype;
$getdata = $row->getquery;
$postdata = $row->postquery;
$showquery = $getdata;
if(strlen($postdata)>1){
$showquery = $postdata;
}
//$showquery=print_r(json_decode($showquery, true), TRUE);
$showquery=str_replace('"','',$showquery);
$showquery=str_replace('{','',$showquery);
$showquery=str_replace('}','',$showquery);
$showquery=str_replace(':','=',$showquery);
$showquery = htmlspecialchars (mb_strimwidth($showquery, 0, 200, '...'));
$detectcount = $row->detectcount;
$ipblockbutton = "";
if(! empty($blockips)){
for( $i=0;$i".esc_html(__("Unblock","wpinfecscanlite"))."";
break;
}
}
}
echo "| ".esc_html($detecttime)." | ".esc_html($hacktype)." | ".esc_html($ip)." | ".esc_html($accessedfile)." | ".esc_html($showquery)." | ".esc_html($detectcount)." | ".$ipblockbutton." |
";
}
}
?>
".esc_html(__("No data found.","wpinfecscanlite"))."";
}
?>