MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / Execute

Method Execute

AdaptixServer/core/axscript/engine.go:75–84  ·  view source on GitHub ↗
(script string)

Source from the content-addressed store, hash-verified

73}
74
75func (e *ScriptEngine) Execute(script string) error {
76 e.mu.Lock()
77 defer e.mu.Unlock()
78
79 _, err := e.runtime.RunString(script)
80 if err != nil {
81 return fmt.Errorf("script execution error in '%s': %w", e.name, err)
82 }
83 return nil
84}
85
86//////////
87

Callers 4

LoadAgentScriptMethod · 0.95
LoadUserScriptMethod · 0.95
LoadAxScriptMethod · 0.80
LoadAxScriptChildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected