Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Instructions

kavika13 edited this page Nov 9, 2011 · 1 revision

From the command line usage information:

  Remote Command Executor
  Copyright 2006 The WiseGuyz [ http://talhatariq.wordpress.com ] 
  Author: Talha Tariq [talha.tariq@gmail.com]

------------------------------------------------------------------
| Usage: RemCom.exe [\\computer] [options] [cmd/exe arguments] |
------------------------------------------------------------------

Options:

 /user:UserName		UserName for Remote Connection
 /pwd:[password|*]	Password. * will delay the input (if required)

 /d:directory		Set working directory
			(Default: \\RemoteSystem"%SystemRoot%\System32")

 [/idle | /normal | /high | /realtime]	Priority class (use only one)
  /nowait		Don't wait for remote process to terminate

 /c			Copy the specified program to the remote machine's
   			"%SystemRoot%\System32" directory
   			Command's exe file must be absolute to local machine

   .........................................................................

Examples:

 RemCom.exe \\remote cmd	[Starts a "telnet" client]
 RemCom.exe \\remote /user:Username /pwd:Password cmd.exe	[Starts a "telnet" client]
 RemCom.exe \\localhost /user:Username /pwd:Password  "C:\InstallMe.bat"	[A replacement for RunAs Command]"

   .........................................................................

Notes:

-  A "." for Machine Name will be treated as localhost
-  Input is passed to remote machine when you press the ENTER.
-  Ctrl-C terminates the remote process
-  Command and file path arguments have to be absolute to remote machine
-  If you are using /c option, command exe file path must be absolute to
   local machine, but the arguments must be absolute to remote machine
-  A dot . for machine name is taken as localhost
-  Not providing any credentials, the Process will (impersonate and) run
   in the context of your account on the remote system, but will not have
   access to network resources 
-  Specify a valid user name in the Domain\User syntax if the remote process
   requires access to network resources or to run in a different account. 
-  The password is transmitted in clear text to the remote system.
-  You can enclose applications that have spaces in their name with 
   quotation marks  e.g. RemCom \\computername "c:\long name app.exe".\n-  Input is only passed to the remote system when you press the enter key 
-  Typing Ctrl-C terminates the remote process.            
-  Error codes returned by RemCom are specific to the applications you execute, not RemCom.
 
   .........................................................................

Clone this wiki locally