Re: Script for Remote Wake on Lan

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Wayne Jordan" <Wayne Jordan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:83BDAE2D-4619-499A-B101-DD42B69F8E28@xxxxxxxxxxxxxxxx
We use a product for managed services called Kaseya and I can run custom
scripts for almost any task I need, well if I were better at scripting I
could :-). My situation is I need to be able to run a script that will
execute the wol.exe /m:MacAddress. The script would be executed from a
server
inside the lan. The mac address is stored in kaseya which i can grab using
a
variable #vMachine.MacAddr#. Unfortunately the way it is formatted
"00-00-00-00-00" means i need to strip out the "-" before executing the
script. I will need to replace the variable with the actual mac address
before execution. I hope someone can help me or lead me in the right
direction. Thanks in advance for your help.

I'm a little unclear about the process flow. Does it go like so?
1. You're in Kaseya.
2. You click the WakeUp button.
3. Kaseya calls ??? with a parameter of 0a-bc-11-34-06-bb (for example).
4. Your script turn this address into 0abc113406bb.
5. Your script invokes this command: wol.exe /m:0abc113406bb.

What is the ??? bit?


.



Relevant Pages

  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)
  • Re: Small, understandable Forth
    ... intelligence from the word to the script. ... niclos file script files, but only in the directory in which they are ... \ there are required support vocabularies, ... RDROP EXECUTE DEFINITIONS; ...
    (comp.lang.forth)
  • Re: [Full-Disclosure] ColdFusion cross-site scripting security vulnerability of an error page
    ... > execute the arbitrary javascript and HTML code which the attacker ... > It is possible to display the contents transmitted from the client ... > cross-site scripting attack can be executed. ... the script will be executed when the script for an attack ...
    (Full-Disclosure)
  • CGIscript.net - csMailto.cgi - Remote Command Execution
    ... CGIscript.net - csMailto.cgi - Remote Command ... csMailto is a perl cgi formmail script developed by ... execute command on server and mail output to anyone ...
    (Bugtraq)
  • Re: Extracting data from an XML to put into a constant
    ... ExecuteGlobal "Const cnUB = 9" ... The following script causes the same error. ... Ordinary variables and constants defined with execute statements have ... no value until their defining statement is executed at run time. ...
    (microsoft.public.scripting.vbscript)