Skip to content
This repository

Remote Command Executor: A OSS replacement for PsExec and RunAs - or Telnet without having to install a server. Take your pick :)

branch: master

Build break fixes.

Invalid loop scoping introduced in last patch (violates newer C++ standard loop scoping rules - I think older versions of VS relaxed this requirement).  Moving temp variable used inside loop into outer scope.

Macro expansion failure error.  Adding close paren and semi-colon like in other uses of the macro.

Solution didn't build in VS2010 (error: "The project file ' ' has been renamed or no longer in the project").  Project GUIDs in solution file weren't actually specified within each project.

Temp files not ignored by Git.  Adding .gitignore file for temporary files built by Visual Studio and MsBuild.
latest commit 45e902f957
Merlyn Morgan-Graham authored May 16, 2012
Octocat-spinner-32 ProcComs Build break fixes. May 16, 2012
Octocat-spinner-32 RemComSvc Build break fixes. May 16, 2012
Octocat-spinner-32 bin 2012 Patches, check README for details February 13, 2012
Octocat-spinner-32 .gitignore Build break fixes. May 16, 2012
Octocat-spinner-32 ProcFunctions.cpp first commit November 09, 2011
Octocat-spinner-32 ProcFunctions.h first commit November 09, 2011
Octocat-spinner-32 README.md 2012 Patches, check README for details February 13, 2012
Octocat-spinner-32 RemCom.cpp Build break fixes. May 16, 2012
Octocat-spinner-32 RemCom.dsp first commit November 09, 2011
Octocat-spinner-32 RemCom.dsw first commit November 09, 2011
Octocat-spinner-32 RemCom.h first commit November 09, 2011
Octocat-spinner-32 RemCom.rc Removing commented lines instead of leaving them commented. We have s… January 17, 2012
Octocat-spinner-32 RemCom.vcxproj Build break fixes. May 16, 2012
Octocat-spinner-32 Remote Command Executor.sln first commit November 09, 2011
Octocat-spinner-32 clean.cmd first commit November 09, 2011
Octocat-spinner-32 resource.h first commit November 09, 2011
README.md

RemCom

This is a fork of the RemCom project, since that project seems dead, and there are patches to be made.

For the most "official" documentation of this branch, see the wiki. The rest of this description is a placeholder for now.

Changes since fork:

From their site:


RemCom - The open source psexec

Terminal Services are expensive in terms of bandwidth, Utilities like GotoMyPC and remote control programs like PC Anywhere let you execute programs on remote systems, but they take time to set up and require that you install client software on the remote systems that you wish to access and are extremely costly when it comes to running just some administrative commands over a group of systems.

What is RemCom : RemCom is a small (10KB upx packed) remoteshell / telnet replacement that lets you execute processes on remote windows systems, copy files on remote systems, process there output and stream it back. It allows execution of remote shell commands directly with full interactive console without having to install any client software. On local machines it is also able to impersonate so can be used as a silent replacement for Runas command.

Platform and Language : RemCom is written in C++ and works on NT 4.0, Win2K, Windows XP and Server 2003 including x64 versions of Windows.

Project Insipiration : Mark Russinovich [sysinternals] Psexec.

Backgound: I started this this project to make my own RAT [Remote Administration Tool]. Before this for numerous tasks i used the sysinternals pstools, but my ability to use / extend it was always limited by its liscensing and usage terms. That is why started of writing my own version of something similar to psexec and RemCom was the result.

Some Features :

  • RemCom is open source :) (source available here).
  • You can run as many remote commands on the machine as you want
  • You can execute internal commands (net, netsh, ipconfig) directly : RemCom \foo-bar-system net start snmp
  • You can start a light "telnet" connection with a remote machine without any telnet server : RemCom.exe \foo-bar-system cmd
  • You can also copy any file on the remote machine and receive its output.
  • RemCom creates a small ( < 1 KB) service on the remote machine (which it extracts it from itself at runtime).
  • All communication is done via named pipes & RPC .
  • The application removes its traces of the connection and the service on successful disconnect (neat huh?). RemCom is also used in OCS Inventory NG. See this post.

Future Roadmap :

  • A Pretty UserInterface.
  • Multi Consoles in a single session.
  • A builtin option for fetching files.

Any comments, bugs, wishlists: email to: talha [dot] tariq [at] gmail [dot] com

Source & Download : The most recent version of RemCom is available here.

Something went wrong with that request. Please try again.