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

Function TestKill_Command_Linux

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

Source from the content-addressed store, hash-verified

107}
108
109func TestKill_Command_Linux(t *testing.T) {
110 cmd := killCommand("Linux", &implantpb.Request{Args: []string{"1234"}})
111 if cmd != "kill -9 1234" {
112 t.Errorf("Linux kill: got %q", cmd)
113 }
114}
115
116func TestKill_Command_Windows(t *testing.T) {
117 cmd := killCommand("Windows", &implantpb.Request{Args: []string{"1234"}})

Callers

nothing calls this directly

Calls 1

killCommandFunction · 0.85

Tested by

no test coverage detected