MCPcopy
hub / github.com/shadow1ng/fscan / Summary

Method Summary

plugins/services/smb_protocol.go:60–73  ·  view source on GitHub ↗

Summary 返回SMB信息摘要

()

Source from the content-addressed store, hash-verified

58
59// Summary 返回SMB信息摘要
60func (t *SMBTarget) Summary() string {
61 var parts []string
62 parts = append(parts, t.Protocol.String())
63
64 if t.OSVersion != "" {
65 parts = append(parts, t.OSVersion)
66 }
67
68 if t.ComputerName != "" {
69 parts = append(parts, t.ComputerName)
70 }
71
72 return strings.Join(parts, " ")
73}
74
75// SMB协议数据包定义
76var (

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected