lan
can
=$site?>
=$scan->runstats->finished["summary"]?>
$conf_hosts) { ?>
=$conf_groupname?>
$conf_services) { echo " \n"; $scan_host = $scan->xpath("host[hostnames/hostname/@name='$conf_address' or address/@addr='$conf_address']")[0]; $address = count($scan_host->xpath("hostnames/hostname/@name")) ? $scan_host->xpath("hostnames/hostname/@name")[0] : $scan_host->xpath("address/@addr")[0]; if ($scan_host->status["state"] =="up") { ?>
=$scan_host->address["addr"]?>
">=strtok($scan_host->hostnames->hostname["name"], ".")?>
xpath("ports/port[service/@name='$conf_service' or @portid='$conf_service']")[0]; switch($scan_service->state["state"]) { case "open": $state = "primary"; break; case "closed": $state = "red"; break; default: $state = "yellow"; } switch($scan_service->service['name']) { case "microsoft-ds": case "netbios-ssn": $shares = $scan_host->xpath("hostscript/script[@id='smb-enum-shares']/table[not(contains(@key, '$'))]"); if (count($shares)) { ?>
=$scan_service->service['name']?>
'>=$share['key']?>
=$scan_service->service['name']?>
:=$scan_service['portid']?>
=$scan_service->service['name']?>
:=$scan_service['portid']?>
=$scan_service->service['name']?>
:=$scan_service['portid']?>
=$scan_service->service['name']?>
:=$scan_service['portid']?>
=$scan_service->service['name']?>
:=$scan_service['portid']?>
=$scan_host->address["addr"]?>
">=strtok($scan_host->hostnames->hostname["name"], ".")?>