Sign in to follow this  
Followers 0
Unc3nZureD

Starting an exe on an other way. [ADVANCED]

5 posts in this topic

I have a quite hard question, I don't know if it's possible but I ask it :)

Is that possible to run an included exe from my compiled AutoIT exe? (Exe in the exe). It's because I'm planning to start a game-server, but its exe isn't protected well. I want to include it a much better protected file, Into my script.

Just to sum everything:

- Start my script

- It starts an included exe without installing it to anywhere

- Thats all

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I believe it is, run from memory examples are on the forums.

EDIT:

But doing what you are saying will protect your inside exe as much as

a chocolate fire guard will protect children from being burnt.

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Ok, I know it's not the best protection, but I think better than the basic. Simply start a HexEdit and modify what u just want...

And I'll try the " run from memory examples". Thanks

Edited by Unc3nZureD

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I can't make it...

Here's the file: http://www.mediafire.com/?lbzv89c42zei751

The thread that I'm trying:

I tried to run the following:

Global $sModule = "C:Start.exe" ; change to yours wanted

Global $hModule = FileOpen($sModule, 16)
If @error Then Exit

Global $bBinary = FileRead($hModule)
FileClose($hModule)

Global Const $MAX_LINESIZE = 4095
Global $iNewLine, $j
Global $iChinkSize = 32
Global $sBinary


For $i = 1 To BinaryLen($bBinary) Step $iChinkSize

    $j += 1

    If 4*($j * $iChinkSize) > $MAX_LINESIZE - 129 Then
        $iNewLine = 1
    EndIf

    If $iNewLine Then
        $iNewLine = 0
        $j = 0
        $sBinary = StringTrimRight($sBinary, 5)
        $sBinary &= @CRLF & '$bBinary &= "' & StringTrimLeft(BinaryMid($bBinary, $i, $iChinkSize), 2) & '" & _' & @CRLF
        ContinueLoop
    EndIf

    If $i = 1 Then
        $sBinary &= '$bBinary = "' & BinaryMid($bBinary, $i, $iChinkSize) & '" & _' & @CRLF
    Else
        $sBinary &= '       "' & StringTrimLeft(BinaryMid($bBinary, $i, $iChinkSize), 2) & '" & _' & @CRLF
    EndIf

Next

$sBinary = StringTrimRight($sBinary, 5)

ClipPut($sBinary)

ConsoleWrite($sBinary)

But it does noting. Just run in the background and never stops. I tried with the notepad and it works well. Any Idea why?

Until I do this I can't step to the other things thats are written there :S

Tried another method, it says:

Executable you tried is not relocatable.

Edited by Unc3nZureD

Share this post


Link to post
Share on other sites

The way I read the thread (when I did) it was composed in such a way that, someone

who did not really know what they are doing (such as myself), and script kiddies with

nothing more that malicious intent will struggle to follow it.

Where a more capable programmer will follow it with ease.

At least that's what I made of it, and it seems pretty deliberate.

So sorry, I have no Idea.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0