MCPcopy Create free account
hub / github.com/Cuerz/Go-Shellcode-Bypass / checkErr

Function checkErr

main.go:26–33  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

24)
25
26func checkErr(err error) {
27 if err != nil { // 如果内存调用出现错误,可以报出
28 if err.Error() != "The operation completed successfully." {
29 println(err.Error())
30 os.Exit(1)
31 }
32 }
33}
34
35func Readcode() string {
36 f, err := ioutil.ReadFile("encode.txt")

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected