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

Method GetBuildId

Gsensor/SecurityTrailsSensor.go:90–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 return true
89}
90func (s *SecurityTrails) GetBuildId() {
91 ret, err := s.httpReq("https://securitytrails.com/list/apex_domain/baidu.com")
92 s.http.IgnoreSSL()
93 s.http.SetHeader("Host", "securitytrails.com")
94 if err != nil {
95 log.Println("[!] ", s.GetInfo(), " GetBuildId Error: ", err)
96 }
97 resp := strings.Split(string(ret), `"buildId":"`)
98 if len(resp) > 1 {
99 s.buildId = strings.Split(resp[1], `"`)[0]
100 }
101}
102
103// 子域名查询
104func (s *SecurityTrails) GetSubDomain(page int) {

Callers 1

LoginMethod · 0.95

Calls 4

httpReqMethod · 0.95
GetInfoMethod · 0.95
IgnoreSSLMethod · 0.80
SetHeaderMethod · 0.80

Tested by

no test coverage detected