(b []byte)
| 127 | } |
| 128 | |
| 129 | func parseCommandShell(b []byte) ([]byte, []byte, uint16, error) { |
| 130 | buf := bytes.NewBuffer(b) |
| 131 | path, err := parseAnArg(buf) |
| 132 | args, err := parseAnArg(buf) |
| 133 | redirect := packet.ReadShort(buf) |
| 134 | return path, args, redirect, err |
| 135 | } |
| 136 | |
| 137 | func parseRunAs(b []byte) ([]byte, []byte, []byte, []byte, error) { |
| 138 | buf := bytes.NewBuffer(b) |
no test coverage detected