MCPcopy Create free account
hub / github.com/TideSec/GoBypassAV / PathExists

Function PathExists

SandBox/main.go:141–150  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

139 return false, nil
140}
141func PathExists(path string) (bool, error) {
142 _, err := os.Stat(path)
143 if err == nil {
144 return true, nil
145 }
146 if os.IsNotExist(err) {
147 return false, nil
148 }
149 return false, err
150}
151func fack(path string) {
152 b, _ := PathExists(path)
153 if b {

Callers 1

fackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected