MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / shadowPluginDir

Function shadowPluginDir

internal/pluginhost/loader_windows.go:182–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180}
181
182func shadowPluginDir() (string, error) {
183 dir := filepath.Join(os.TempDir(), "cliproxy-pluginhost", shadowPluginProcessDirName(os.Getpid()))
184 if errMkdir := os.MkdirAll(dir, 0o700); errMkdir != nil {
185 return "", errMkdir
186 }
187 return dir, nil
188}
189
190func shadowPluginProcessDirName(pid int) string {
191 return fmt.Sprintf("%s%d", shadowPluginProcessDirPrefix, pid)

Callers 2

shadowCopyPluginFunction · 0.85

Calls 1

Tested by 1