diff --git a/SCopilot/templates/SCopilot.html b/SCopilot/templates/SCopilot.html index 3a6d02c..5c67ec1 100644 --- a/SCopilot/templates/SCopilot.html +++ b/SCopilot/templates/SCopilot.html @@ -80,23 +80,25 @@

Security Copilot Report - Jie

基本信息

{{ .data.Target }}

- {{ if .ipInfo.Cdn }} - cdn - {{ end }} + {{ if .ipInfo }} + {{ if .ipInfo.Cdn }} + cdn + {{ end }} - {{ if .ipInfo.Value }} - {{ .ipInfo.Value }} - {{ .ipInfo.Type }} - {{ end }} -

- {{ if .ipInfo.AllRecords }} -
- -
+ {{ if .ipInfo.Value }} + {{ .ipInfo.Value }} + {{ .ipInfo.Type }} + {{ end }} +

+ {{ if .ipInfo.AllRecords }} +
+ +
+ {{ end }} {{ end }}
@@ -120,11 +122,13 @@

端口信息

- {{ range $port, $service := .ipInfo.PortService }} - - {{ $port }} - {{ $service }} - + {{ if .ipInfo }} + {{ range $port, $service := .ipInfo.PortService }} + + {{ $port }} + {{ $service }} + + {{ end }} {{ end }} @@ -142,12 +146,9 @@

端口信息