VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

CMDServer and Client, Remote Execution, Termination and CMD Interpreter

Knoton  (15 Submissions)   Complete Applications   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

CMDServer is a Server that you can connect with CMDClient to perform Remote Execution,
Remote Termination of processes and most tasks in the Command Interpreter.
CMDServer can only run on NT Systems (NT,Win2K,XP)
Due to the user validation the server does on remote connection attempts, the server must
run on a machine there the loggedin user has adminstrative rights.
Use CMDClient from any computer that can reach CMDServer to perform all
Commands available from the commandprompt and those listed below
CONNECT IP/Host[:Port] (Connect to CMDServer on Port = 512)
EXIT (Close connection)
REXIT (Close down cmdServer)
CMDHELP (Show this help)
GETRUNAPP (Show running apps)
REXEC [FullPath/]Filename.ext [parameters] (Execute remote application)
RTERM HWND (Close running app)
CLS (Clear Screen)
When a user want to make a remote connection to the server the user will be prompt for
Username and password, the user most have administrator rights on the server.
OBSERVE that if you remotly start an application via cmd the server will not return until
the application is terminated.
Use REXEC instead
This is a stripdown version of what I am currently developing for my work that is running as a NT Service among other things...
Huge credit goes to Mattias Sjögren for the command interpreter part, I also has got big help from www.allapi.com, the people here on VBC. Thank you all :-)
constructive feedback is always welcome. It helps me grow as a developer :-)

Rate CMDServer and Client, Remote Execution, Termination and CMD Interpreter (6(6 Vote))

Download CMDServer and Client, Remote Execution, Termination and CMD Interpreter

CMDServer and Client, Remote Execution, Termination and CMD Interpreter Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters