(osName string, req *implantpb.Request)
| 133 | } |
| 134 | |
| 135 | func envCommand(osName string, req *implantpb.Request) string { |
| 136 | if isWindows(osName) { |
| 137 | return "set" |
| 138 | } |
| 139 | return "env" |
| 140 | } |
| 141 | |
| 142 | func envResponse(output, osName string, req *implantpb.Request) *implantpb.Spite { |
| 143 | resp := parseEnvOutput(output) |