MCPcopy Create free account
hub / github.com/SummerSec/SpringExploit / GetDnslog

Method GetDnslog

cmd/commons/utils/dnslog.go:35–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func (d *Dnslog) GetDnslog() bool {
36 uuid := d.Id()
37 //uuid := "dnslog"
38 log.Debugln("uuid: ", uuid)
39 d.SetId(uuid)
40 t := d.Pre()
41 log.Debugln("type: ", t)
42 url := dnslogPre + t + skysa + uuid + token
43 time.Sleep(time.Second * 3)
44 log.Debugf("url: %s", url)
45 resp, _ := req.R().Get(url)
46 log.Debugln(resp.String())
47 if resp.String() == "True" {
48 return true
49 }
50 return false
51}

Callers 2

mainFunction · 0.95
SendPocMethod · 0.95

Calls 3

IdMethod · 0.95
SetIdMethod · 0.95
PreMethod · 0.95

Tested by

no test coverage detected