Search Tools Links Login

rexec client & windows server


Visual Basic 6, or VB Classic

Many unix servers also run a rexec daemon, which lets you execute a command on the server remotely. This project provides an rexec client, and a windows server, so the same client can execute commands on both windows and unix machines. The rexec client works flawlessly for my needs when connecting to SCO Unix, Solaris, and Red Hat Linux. I imagine it will work on any unix rexec server, but I've never seen any documentation on the rexec protocol, so I couldn't say for sure.
Please note, that the windows server component is nothing special. It was a quick job I wrote this morning, and it works with the rexec client I wrote. It allows full password protected access to the command prompt of the serving machine. If there is a need for it, I'll invest some time and add better security, multiple connection support, or ability to run as an NT service, or whatever else I think of.
It stores the password in an obscured and compressed field in the registry, so it is not humanly decipherable, but it requires a trivial amount of code to retreive it. It doesn't represent any significant form of security, but it does give complete access to the command prompt once you're logged in, so BE CAREFUL WHERE YOU USE IT! Also, there may be (large) discrepancies in the real rexec protocol and my implementation of it. If anyone has documetation on it, I wouldn't mind having a look.
If you find any bugs, or have some thoughts on this, feel free to write.

Original Author: Alan Toews

Inputs

server, username, password, port, and command to send

Returns

results displayed on the command prompt

Side Effects

probably has a few bugs in the server. Its not been tested too much.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 411 times

Categories

Visual Basic 6

Attachments

rexec clie226447122001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 17,761 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.