Remote command execution with netcat on Windows
A tiny script which allows remote command execution on Windows PCs.
ncRemRun.cmd on the target PC(s).
Make sure the PC has netcat (
nc.exe) in the same directory or
You can configure the port in the script.
client_ui.cmd. It's an interactive script which will ask for the hostname and commands.
client_cli.cmd "<hostname>" "<command>".
Send a GET request (with wget or PowerShell or cURL or whatever):
- No auth or encryption. This was made to be used with a renderfarm in a safe and trusted environment on a secured network.
- The script will ignore duplicate commands. If you want to run the same command multiple times, send the command "
null" between each iteration.