".esc_html(__("Last vulnerability check result","wpinfecscanlite"))." (".esc_html($lastchecktime).")"; }else{ echo "

"; } ?>
get_contents($folder."/".$file); if($plugintxt){ $plugintxt = preg_replace("/\r\n|\r|\n/", "\n", $plugintxt); $plugintxt = explode("\n",$plugintxt); $readcount = 0; foreach($plugintxt as $plugintxtline) { $result = $plugintxtline; if(strpos($result,"Plugin Name:")!== false || strpos($result,"Plugin Name :")!== false){ $foundfile=true; $pluginname=explode(":",$result); $pluginname=trim($pluginname[1]); } if(strpos($result,"Version:")!== false || strpos($result,"Version :")!== false){ $foundfile=true; $pluginversion=explode(":",$result); $pluginversion=trim($pluginversion[1]); } $readcount++; if($readcount>20){ break; } } } } } if($foundfile){ break; } } if($pluginfolder!="" && $pluginname!="" && $pluginversion!=""){ $sitevdata[] = array(esc_html($pluginfolder),"plugin",esc_html($pluginversion),esc_html($pluginname)); } } $lastcheckdata = get_option( 'wpinfectlitescanner_valncheck', -1 ); if($lastcheckdata!=-1){ $checkeddata = json_decode($lastcheckdata,false); if($checkeddata){ foreach($checkeddata as $cdata){ $type = $cdata[1]; $version = $cdata[2]; $valn=$cdata[3]; $thisname = $cdata[4]; $valntxt = esc_html(__("No vulnerability found","wpinfecscanlite")); $cvetxt = "-"; $icon=""; if($valn!="0"){ $valntxt= esc_html(__("Vulnerability found","wpinfecscanlite")); $cvetxt = ""; $valnar=explode(",",$valn); for($vi=0;$vi".esc_html($cve)."
"; } } $icon=""; } echo "
"; } } }else{ ?>
".$icon." ".esc_html($thisname)." ".esc_html($type)." ".esc_html($version)." ".esc_html($valntxt)." ".$cvetxt."
-