Code: Select all
C:\win\>main.exe www.client1.com licenseID1
osx$ ./main www.client1.com licenseID1
Code: Select all
C:\win\>main.exe www.client1.com licenseID1
osx$ ./main www.client1.com licenseID1
Include the main.exe (for example into a datasection), then write the included second exe to ${tmp}/main.exe and execute it with the passed arguments. Keywords are WriteData, DataSection, IncludeBinary, RunProgram and ExamineEnvironmentVariables. The Problem is that some trojans try the same and therefore antivirus software might pick that up - either due to behaviour (disguising a hidden executable/payload) or by disallowing execution from ${TMP} completely.shamun wrote:I have a main.exe which need to have argument like following to execute.
Is there anyway to make another 1.exe which holds main.exe. And when 1.exe is executed it extract the main.exe from it and pass the arguments?Code: Select all
C:\win\>main.exe www.client1.com licenseID1 osx$ ./main www.client1.com licenseID1
Maybe you should explain exactly why you want to do that !Bitplazer wrote:The Problem is that some trojans try the same...