MCPcopy Index your code
hub / github.com/FloatTech/ZeroBot-Plugin / sh

Function sh

plugin/hs/run.go:97–107  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

95}
96
97func sh(s string) string {
98 data, err := web.RequestDataWith(web.NewDefaultClient(), "https://hs.fbigame.com", reqconf[0], reqconf[1], reqconf[2], nil)
99 if err == nil {
100 url := hs + para + "&hash=" + strings.SplitN(strings.SplitN(helper.BytesToString(data), `var hash = "`, 2)[1], `"`, 2)[0] + "&search=" + s
101 r, err := web.RequestDataWith(web.NewDefaultClient(), url, reqconf[0], reqconf[1], reqconf[2], nil)
102 if err == nil {
103 return helper.BytesToString(r)
104 }
105 }
106 return ""
107}
108
109func kz(s string) string {
110 data, err := web.RequestDataWith(web.NewDefaultClient(), "https://hs.fbigame.com", reqconf[0], reqconf[1], reqconf[2], nil)

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected