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

Function TestPwd_Command_Windows

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

Source from the content-addressed store, hash-verified

75}
76
77func TestPwd_Command_Windows(t *testing.T) {
78 if cmd := pwdCommand("Windows", nil); cmd != "cd" {
79 t.Errorf("Windows pwd: got %q", cmd)
80 }
81}
82
83func TestCat_Command_Linux(t *testing.T) {
84 cmd := catCommand("Linux", &implantpb.Request{Args: []string{"/etc/passwd"}})

Callers

nothing calls this directly

Calls 1

pwdCommandFunction · 0.85

Tested by

no test coverage detected