Remote command execution with netcat on Windows
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
LICENSE
README.md
client_cli.cmd
client_ui.cmd
nc.exe
ncRemRun.cmd

README.md

ncRemRun

Remote command execution with netcat on Windows

About

A tiny script which allows remote command execution on Windows PCs.

Usage

Server:

Run ncRemRun.cmd on the target PC(s).
Make sure the PC has netcat (nc.exe) in the same directory or %PATH%.
You can configure the port in the script.

Clients:

Option 1:

Run client_ui.cmd. It's an interactive script which will ask for the hostname and commands.

Option 2:

Run client_cli.cmd "<hostname>" "<command>".

Option 3:

Send a GET request (with wget or PowerShell or cURL or whatever):
hostname/<command-goes-here>

Notes

  1. No auth or encryption. This was made to be used with a renderfarm in a safe and trusted environment on a secured network.
  2. The script will ignore duplicate commands. If you want to run the same command multiple times, send the command "null" between each iteration.
  3. ¯\_(ツ)_/¯