Skip to content

Commit d469797

Browse files
committed
Added services labels to host details for OT protocols
1 parent 84a4435 commit d469797

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/lua/host_details.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,14 @@ else
924924
print(' <span class="badge bg-success">' ..
925925
i18n("details.label_rdp_server") .. '</span>')
926926
end
927+
if (host.services.modbus) then
928+
print(' <span class="badge bg-success">' ..
929+
i18n("details.label_modbus_server") .. '</span>')
930+
end
931+
if (host.services.s7comm) then
932+
print(' <span class="badge bg-success">' ..
933+
i18n("details.label_s7comm_server") .. '</span>')
934+
end
927935
end
928936

929937
if (host["dhcp_server"] == true) then

0 commit comments

Comments
 (0)