User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Binary Injection into Existing MMF2 exe

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Binary Injection into Existing MMF2 exe

    Is it possible to "inject" binary data into an existing exe file? I know you can add binary data into the existing file, but is there a way to do this in real-time, on a MMF2 executable?

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    That is very very specific.

    what 'EXACTLY!' are you hoping for?

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    Yes you can do that. An exe file is just like any other file, except that I'm not sure you can do it on the file that you're currently running, because I don't think you'd be able to edit it while you're running it at the same time.

    One work around might be to copy the file that is open, edit it, save it as a new file, run the new file and then close the current one.

  4. #4
    No Products Registered

    Join Date
    Aug 2006
    Location
    Stockholm, Sweden
    Posts
    479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    You "can" edit exe's that are running, if they are loaded into RAM and you have the proper permissions to do so.

    Basically, it could mean that the EXE you want to alter need to be started by the EXE that's going to alter it.

    If you'd like to alter an EXE before it's run, then just grab a HEX-editor and have a ball... ^_^

    It sounds like a cool idea for an extension (I don't know for what purpose though), but there are several tools to let you mickle with the binary code of software, or whatever it's got loaded up into RAM.

    Try looking for "disassemblers" or "debuggers".

    There are also many tutorials on youtube for this.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    England
    Posts
    820
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    Hate to be a kill joy but doesn't it say in the MMF license agreement that you can't alter the exe files generated from it?

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    Quote Originally Posted by Steven
    Hate to be a kill joy but doesn't it say in the MMF license agreement that you can't alter the exe files generated from it?
    Really?

    Oops.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    I think someone made a program which appended data onto the end of itself (an MMF 1.5 EXE) using the Binary object. Clickteam didn't have a problem with that.

  8. #8
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    Haha!
    I just made a little Lua Compiler yesterday, and Jamie, I think it was Andos, I used his tutorial for the idea :p
    It works just like this:
    http://looki.lo.funpic.de/!scr/lua.png

    What this basically does is:
    - Load *Compilation* file that will be our runtime, it's included using "Binary data"
    - Append code
    - Append long, 4 bytes, that will hold the code's length so we can read the code
    - Save to exe

    And that's how I read it in the Compilation exe itself:
    http://looki.lo.funpic.de/!scr/lua2.png


    Hope I could help you.. can't find Andos' example right now

    Oh, and don't mind the blowfish encryption. I just use it so there's no plain text at the end of the exe and you could edit it with ease :P

    Just in case you want to see what is possible: http://looki.lo.funpic.de/Compiler.exe

    press "Check", no errors should occur. then press Compile, and run Output.exe

  9. #9
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    Very nice! This is close to what I was looking for; thanks Looki.

    I was looking for a way to compile EXEs. I'll just use LUA.

    Is it possible I can get the source of the compiler?

  10. #10
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Binary Injection into Existing MMF2 exe

    wizkidweb, I'll release a light version of it, which just attaches a string and loads it very soon, on request by Falkon

    EDIT: there you go

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Non-existing direction
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th February 2014, 11:21 PM
  2. Using existing code in a new app
    By soarerv8 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 23rd January 2013, 05:02 AM
  3. converting existing games to ios
    By sinister in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 29th July 2011, 09:46 AM
  4. Editing of existing Samples
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 22nd December 2010, 07:14 PM
  5. Uninstall an existing installation
    By FishFPG in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 21st June 2010, 07:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •