INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Does MCWS Control/CommandLine allow the execution of arbitrary code?  (Read 1045 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3981

question as per subject, by "arbitrary code" I mean "any old exe that lives on the box"

I'm referring to this parameter

      Target: The target for the command line (uses launcher when empty) (default: )

If it does any execution of any exe, what format does this argument take? I tried a c:\foo\bar.exe (assume this exists) with appropriate encoding and received a failure result.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10786
Re: Does MCWS Control/CommandLine allow the execution of arbitrary code?
« Reply #1 on: October 29, 2017, 07:18:40 pm »

No, you can only pass arbitrary command lines to the MC23.exe launcher this way. The "Target" parameter is only provided to offer the flexibility of adding more future targets.
Logged
~ nevcairiel
~ Author of LAV Filters
Pages: [1]   Go Up