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

Function TestEnv_Command_Windows

internal/bridge/module_shell_test.go:103–107  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

101}
102
103func TestEnv_Command_Windows(t *testing.T) {
104 if cmd := envCommand("Windows", nil); cmd != "set" {
105 t.Errorf("Windows env: got %q", cmd)
106 }
107}
108
109func TestKill_Command_Linux(t *testing.T) {
110 cmd := killCommand("Linux", &implantpb.Request{Args: []string{"1234"}})

Callers

nothing calls this directly

Calls 1

envCommandFunction · 0.85

Tested by

no test coverage detected