MCPcopy Create free account
hub / github.com/code-scan/Goal / GetPorts

Method GetPorts

Gsensor/Quake.go:111–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109}
110
111func (s *Quake) GetPorts() {
112 s.result = Result{}
113 // resp := s.send(`ip="` + s.Domain + `" && type=service`)
114 // Quakeresult := QuakeResult{}
115 // json.Unmarshal(resp, &Quakeresult)
116 // for _, v := range Quakeresult.Results {
117 // host := v[0]
118 // if strings.Contains(host, "://") {
119 // host = strings.Split(host, "://")[1]
120 // }
121 // s.result[host] = v[1]
122 // }
123}
124
125// 40fc40e2-ff0a-4487-8e7e-a833ba9291b1
126func (s *Quake) send(query string) []byte {

Callers 1

GetResultMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected