RemCom
RemCom copied to clipboard
Remote Command Executor: A OSS replacement for PsExec and RunAs - or Telnet without having to install a server. Take your pick :)
Remote command output should be written as binary stream and should not be processed using printf. This disturbs the remote command binary output.
We should replace its usage by some safe function like stprintf_s or the string buffer io stream class usage. This is causing the buffer overflow if the command line is...
Can we have just file copy mode for remcom ? without executing the same file. This version can copy a file and execute the same.
We should have a way to capture stderr, stdout and stdin channels and redirect to file. Also remcom should have silent mode so that above channels are not clobbered with...
there should be a way to just check the remcom errors without executing any command on remote machine. - so all prerequisites like remote ip, user id, pw, admin shares...
Project should use /GT rather than /GD so that static libraries are linked. In some cases remote machine may not have the vc runtime installed.
Issue 1. In interactive mode the remote command output is processed for special characters like clear screen. This causes genuine characters being processed in non interactive session. Hence binary file...
The space should not be inserted if szArguments is empty. in remcom.cpp. ``` if ( !IsCmdLineParameter(_T("c")) ) _stprintf( pMsg->szCommand, _T("\"%s\" %s"), lpszCommandExe, szArguments ); else { TCHAR drive[_MAX_DRIVE]; TCHAR dir[_MAX_DIR];...
Remcom client writes its own output mainly to stdout and remote command stdout and stderr is written too to remcom client stdout. The result is that remote command stdout and...