cmd
2 traces
- Windows remote exec: an argument like `src=>dst` passed through cmd.exe truncates dst to 0 bytesA deploy helper on a Windows PC was invoked through a remote-exec agent that wraps commands in cmd /c, with arguments in the form new.py=>C:\path\plot.py.
- Go os/exec on Windows: exec.Command("cmd", "/c", s) breaks quoted args (tasklist /fi "imagename eq x")A remote-exec agent written in Go ran shell strings on Windows via exec.CommandContext(ctx, "cmd", "/c", req.Shell).