(osName string, req *implantpb.Request)
| 125 | } |
| 126 | |
| 127 | func catCommand(osName string, req *implantpb.Request) string { |
| 128 | path := firstArg(req) |
| 129 | if isWindows(osName) { |
| 130 | return fmt.Sprintf(`type "%s"`, path) |
| 131 | } |
| 132 | return fmt.Sprintf(`cat "%s"`, path) |
| 133 | } |
| 134 | |
| 135 | func envCommand(osName string, req *implantpb.Request) string { |
| 136 | if isWindows(osName) { |