Click to See Complete Forum and Search --> : Execute Protected exe/bat files?
Cha0sBG
December 25th, 2008, 08:23 AM
Hey guys,
I have a bat file named "Trainshow.bat" or for other example "svchost.exe" that when i doubleclick it it doesn't execute.
It has some kind of protection or something i don't know ... it can be executed from the original program that needs it but not bare handed if u know what i mean . Is there a way to execute it from a MFC application ?
Thanks in advance.
PS: Merry Christmas to you all, All best wishes.
~Cha0sBG
ovidiucucu
December 26th, 2008, 02:01 AM
"Not everything which flies is good to be eaten". ;)
Just beware: do not double-click something without knowing what it does!
marceln
December 26th, 2008, 04:20 AM
In addition to what Ovidiu said, if you still want to run the batch file from a C++ application, you can do it with CreateProcess by passing NULL to the lpApplicationName parameter and "%comspec% /k "PathToBatchFile"" as the lpCommandLine parameter.
Cha0sBG
December 26th, 2008, 05:59 PM
not working ;) the bat is protected ;) here is a dl link:
http://rapidshare.com/files/176705128/bat.rar
u try to make it with CreateProcess and see ;)
marceln
December 26th, 2008, 06:02 PM
Come on... I just had a look at it... it is not a batch file. it is an executable who's extension was changed to bat.
if you want to try it then change its extension to exe and run it (at your own risk, of course).
Cha0sBG
December 26th, 2008, 06:35 PM
it's not something malicious it's an info tool for a game executed from a bot only... and it came as a bat file ... it's protected.... that's why i wanna know how to execute it. i know what's it do etc i can give a screen when i login with the bot but i wanna execute it w/o the bot. If i change it to .exe it still can't be executed.
marceln
December 26th, 2008, 06:41 PM
Well, in that case I can't help you. I can only say it is not a typical windows batch file.
Probably it is some sort of dll (a plugin, etc) and it should be loaded by some other application.
Good luck!
Cha0sBG
December 26th, 2008, 07:11 PM
well yeah it needs some parameters i guess :S
ovidiucucu
December 26th, 2008, 08:13 PM
it's not something malicious it's an info tool for a game executed from a bot only... and it came as a bat file ... it's protected.... that's why i wanna know how to execute it. i know what's it do etc i can give a screen when i login with the bot but i wanna execute it w/o the bot. If i change it to .exe it still can't be executed.
Just ask the guy(s) who made it.
Cha0sBG
December 26th, 2008, 09:43 PM
yee ask them .... well it's made to be executed only from the bot and i don't think the big bot company will answer me lol ;D
2: I've opened it with ollydbg and i saw it required valid parameters to be parsed to it to be executed. But i don't know how to execute it with parsing those parameters ... can u guys tell me ?
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.