MCPcopy Create free account
hub / github.com/Adminisme/ServerScan / parsePorts

Method parsePorts

ServerScan Air/package/vscan/vscan.go:141–143  ·  view source on GitHub ↗
(data string)

Source from the content-addressed store, hash-verified

139}
140
141func (p *Probe) parsePorts(data string) {
142 p.Ports = data[len("ports")+1:]
143}
144
145func (p *Probe) parseSSLPorts(data string) {
146 p.SSLPorts = data[len("sslports")+1:]

Callers 1

fromStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected