New Release v.1.0.0.16

New features available for version 1.0.0.16 .

Wake on LAN feature.

Running rsmg /WOL either from command line ie.: rsmg.exe /wol or by adding /WOL to your desktop shortcut.

You need to know the MAC address of the NIC you want to wake up and also it has to be enabled on the device’s BIOS.

Also you need to give the loopback address of your network. ie.: if my IP is 192.168.1.2 then the loopback address for this subnet is 192.168.1.255. It’s a little more complicated in theory but this is out of scope for what we are trying to do.

To find the MAC address on the machine you want to wake up you can use ipconfig /all from command line. It’s the same address you use for reservations on routers and DHCP.

ie.: If your MAC address looks like this EC-9A-74-F9-BC-8D or EC:9A:74:F9:BC:8D you need to enter EC9A74F9BC8D as MAC address.

WakeUp On LAN is in reality just a packet containg 8 bit of data destined to the MAC address of the desired NIC turned into decimal format.

This addition is based on the work of Olish.

 

remotely download a file

To remotely download a file add !1 before the internet file and path  you wish to download.

if run with /client then your message would be !1http:\\www.domain.com\myfile.zip

from command line the saeme process applies

ie.: rmsg.exe 192.168.1.2 “!1http:\\www.domain.com\myfile.zip”

Because it will use http protocol to download the file, many anti-virus will attempt to block certain kind of files. To bypass it downloads the file as download.dat in temp directory. To remotely call the file you need to use %temp%\download.dat if the default settings are not in use in the remote machine or the active user has no rights over temp dir but uses his profile temp instead.

execute remotely commands

To execute remotely commands add :: before your message and then write the command line to be executed.

If run with /client then write on your message ::command

if run from command line write rmsg.exe IP “::command”

ie.: rsmsg.exe 192.168.1.2 “::ipconfig /flushdns”

on the recieving terminal the server module will execute cmd.exe /c “command line” on the -1 session of windows (it will not appear on the user’s screen). However it will run the command with highest available priviledges w/out misbehaving for using the -1 session.

To run commands with higher priviledges either run rsmsg with admin rights or send the command with runas administrator …etc.

open webpage remotely

To open a web page on the remote machine you can add before your message ~~

If run using the /client switch, just add before the message ~~

ie.: ~~http://www.google.com

If you use it from command line the applicable call would be

rmsg.exe 192.168.1.2 “~~http:\\www.google.com”

The same interface can also be used to call a webpage w/out http:\\ in front.

rmsg.exe 192.168.1.2 “~~www.google.com” is also a valid call.

You can also use the same interface to call media files to play.

rsmg.exe 192.168.1.2 “~~C:\mp3\mymusic.mp3″

By default rmsg will attempt to call the default program associated with the extension of the file. If no default program is given it will attempt to run cmd.exe /c “start file” so as to prompt for the user to select an applicable program.

client mode / server mode

To run rsmg as a client create a shortcut and add /client as a switch.

Upon running rmsg you will be prompted to write recieving IP and then write your message. Both IPv4 and IPv6 are valid IPs for sending your message.

Please note to use Ipv6 address the receiving terminal must have an Ipv6 address as a primary address. rmsg by default listens on the primary IP of the terminal, so as not to leave open a security hole for another application to use.

To run rsmg as a server just doubleclick or execute rsmg.exe . If you have an active firewall, it will require of the user to allow it to create an exception.

If you wish to install rsmg to run at terminal’s startup, create a shortcut and add switch /install. If you run /install a second time it will return the active path written forstartup execution.

To uninstall it from startup, add /uninstall as a switch to a shortcut and double-click on it.