Running Two Exe Files, Second one as virtual

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
Majid
Posts: 138
Joined: Mon Nov 29, 2010 2:54 pm
Location: Iran
Contact:

Running Two Exe Files, Second one as virtual

Post by Majid »

Hi

I have two console application which I should pass them two lines of command prompt.

Example:

exe1 /save text.txt
exe2 text.txt /renameto /"new.txt"

Now I have protected exe1 with enigma and I have imported exe2 as a virtual file in virtual box and in its properties I have set "pass command line" to "text.txt /renameto /"new.txt"", then I have packed it.

I want to only pass first exe file command and it executes second exe file's command automatically which it is located in virtual box now.

For Example for the New protected file:

protectedexe1 /save text.txt

I jut run it and after that it automatically runs exe2 in vitual box and pass its related command line.

is this possible?
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Running Two Exe Files, Second one as virtual

Post by Enigma »

Hi Majid,

With the current functionality it is impossible to do, but it would be possible using plugins for Enigma Protector.

First of all, you can't Pass Command line to virtual files, this feature still does not work for exe files (currently, purpose of this feature is different).

To pass command line to first exe you may use feature Miscellaneous - Command Line.

To run second exe and pass a command line to it you need to use plugins system. You may develop a very simple pluing that will second virtual exe (just by calling of WinExec, or ShellEexcute, or CreateProcess) with necessary command line.
Post Reply