{$fname}{$s[1]}$fsize{$s[2]}{$s[3]}{$s[7]}"; } fclose($handle); } } } return $r; } function get_av_statistic() { return function_exists("havp_get_av_statistic") ? havp_get_av_statistic() : "Function 'havp_get_av_statistic' not found."; } function get_av_viruslog() { return function_exists("havp_get_av_viruslog") ? havp_get_av_viruslog() : "Function 'havp_get_av_viruslog' not found."; } function get_scanlist() { return function_exists("havp_get_filescanlist") ? havp_get_filescanlist() : "Function 'havp_get_filescanlist()' not found."; } function get_scan_log() { $s = function_exists("havp_get_scan_log") ? havp_get_scan_log() : "Function 'havp_get_scan_log()' not found."; $s = str_replace("\n", "
", $s); return $s; } function pfsense_version_A() { return function_exists("pfsense_version_") ? pfsense_version_() : 1; } function havp_status() { $s = ""; if (HVDEF_HAVP_STATUS_FILE && file_exists(HVDEF_HAVP_STATUS_FILE)) $s = file_get_contents(HVDEF_HAVP_STATUS_FILE); return $s; } function clamd_status() { $s = ""; if (HVDEF_CLAM_STATUS_FILE && file_exists(HVDEF_CLAM_STATUS_FILE)) $s = file_get_contents(HVDEF_CLAM_STATUS_FILE); return $s; } function avupdate_status() { $s = "Not found."; if (HVDEF_UPD_STATUS_FILE && file_exists(HVDEF_UPD_STATUS_FILE)) $s = file_get_contents(HVDEF_UPD_STATUS_FILE); return str_replace( "\n", "
", $s ); } # ------------------------------------------------------------------------------ /* start service */ if($_POST['start'] != '') { #start_service($_POST['start']); if (file_exists(HVDEF_HAVP_STARTUP_SCRIPT)) { mwexec_bg (HVDEF_HAVP_STARTUP_SCRIPT . " start"); sleep(3); } } else /* restart service */ if($_POST['restart'] != '') { #restart_service($_POST['restart']); if (file_exists(HVDEF_HAVP_STARTUP_SCRIPT)) { mwexec_bg (HVDEF_HAVP_STARTUP_SCRIPT . " restart"); sleep(3); } } else /* stop service */ if($_POST['stop'] != '') { #stop_service($_POST['stop']); if (file_exists(HVDEF_HAVP_STARTUP_SCRIPT)) { mwexec_bg (HVDEF_HAVP_STARTUP_SCRIPT . " stop"); sleep(3); } } /* Scan start */ if ($_POST['scanpath'] != '') { $scandir = $_POST['scanpath']; if(function_exists("start_antivirus_scanner")) { start_antivirus_scanner($scandir); } else echo "No 'start_antivirus_scanner' function found."; } /* Start AV Update */ if ($_POST['startupdate'] != '') { if( function_exists("havp_update_AV")) { havp_update_AV(); } # else echo "No 'start_antivirus_scanner' function found."; } # ------------------------------------------------------------------------------ ?> $pgtitle

"; } ?>
Service Status   Version Settings
HTTP Antivirus Proxy ( )
Running"; else echo " Stopped"; ?>
"; echo " "; echo ""; } else echo ""; ?> "; ?>  Proxy Settings
Antivirus Server ( )
Running"; else echo " Stopped"; ?>
  "; ?>  Antivirus Settings
 
Antivirus Update Update status
"; ?>  Start Update
Antivirus Base Info
DatabaseDateSizeVer.SignaturesBuilder
 
File scanner Scanner status
 Path:

 Enter file path or catalog for scanning.
\n"; echo "\n"; echo "{$scan['descr']}\n"; echo ""; echo "
"; } ?>
"; ?>  Start Scanner
 
"; $count--; } } else echo ""; ?>
Last Viruses
{$ln[0]} {$ln[1]}{$ln[2]}{$ln[5]}{$ln[9]}
Not found