">=$short_name?>
xpath("ports/port[service/@name='$conf_service' or @portid='$conf_service']")[0];
$state = $scan_service->state["state"] == "open" ? "text-bg-primary" : "text-bg-danger";
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']?>
=$scan_service->service['name']?>
=$scan_service->service['name']?>
=$scan_service->service['name']?>
=$scan_service->service['name']?>