Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 17:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP] File is not a portable executable. DOS header does not contain 'MZ' signature

Discussion on [HELP] File is not a portable executable. DOS header does not contain 'MZ' signature within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 2
Received Thanks: 0
[HELP] File is not a portable executable. DOS header does not contain 'MZ' signature

Hi

When i open Assembly-CSharp.dll File on .NET Reflector, i got the error that say "Assembly-CSharp, File is not a portable executable. DOS header does not contain 'MZ' signature.". can someone help me with this and how to dump the game? it is possible to decrypt DLL file and make it execute-able but peoples won't help me, always give me bad explaination and ignore me.

The game is named Call Of Duty Heroes Android. I had modded it before and i always modify units damage so units can destroy the buildings instantly but now the game is encrypted for good and it is dead end for me.

I found the steps how to dump the game but i have no idea how to cut out DLL file with the big 900 MB file. i don't know what to do...


I found an article about dumping an Android game and decrypt classes.dex file so the codes can be human readable but i have no idea what program to use.



Link to encrypted DLL files:
evildog1 is offline  
Old 06/10/2015, 14:13   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
A DLL file is not supposed to be executed (except for Code-Injection like Creating Threads and Hooking Functions). It provides functions which are called by the program which loads the DLL. It doesn't contain the MZ signature because it is no executable.

So it's not possible to execute the file itself but its functions. If you want to find out the functions you may use analysis programs which tell you the functions the DLL contains.
alpines is offline  
Old 06/10/2015, 14:23   #3


 
Jeoni's Avatar
 
elite*gold: 966
Join Date: Apr 2010
Posts: 1,105
Received Thanks: 681
Quote:
Originally Posted by alpines View Post
It doesn't contain the MZ signature because it is no executable.
May I correct you on this one? A valid Windows DLL file does contain the 'MZ' signature just like an executable (.exe) file. Both belong to the group of portable executable (PE) files and start with a DOS header at file offset 0. And at the start of this structure there is the e_magic member which supposed to be the 'MZ'. As far as I know if you change that signature to something else, windows will deny loading the DLL when it's needed just like it denies to start the executable if the 'MZ' is missing on that one.
And in fact there are just minor differences between a DLL and an executable. As far as I know it's just some flag in the PE headers and the signature of the entry point function which is referenced in the PE headers. Furthermore an entry point is optional for DLL files thus the corresponding field in the headers could be 0. I don't think that there are more differences.

With best regards
Jeoni
Jeoni is offline  
Thanks
1 User
Old 06/11/2015, 12:26   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Quote:
Originally Posted by Jeoni View Post
...
Thanks for the correction. The more you know...
alpines is offline  
Reply


Similar Threads Similar Threads
create elf header file with linux...
01/26/2013 - C/C++ - 1 Replies
im newbie here for c++ but im still learn it.. im asking help for anyone who knows about "create elf header file" on linux...
[B] Header/Logo/Avatar/Signature & Homepage Design
02/21/2012 - Artist Trading - 2 Replies
Hallo! Ich würde meine Dienste gern anbieten wollen. Arbeite mit Photoshop und mit über 2000 Stocks. Zurzeit alles unentgeldlich, zu lern zwecken ;) einfach hier melden oder mich auf Skype anschreiben. Skype: cloud_fox94
Was ist Portable Executable (PE)?
01/09/2010 - General Coding - 2 Replies
Hi Liebe Community, Ich bin grad an son göttlichen reversing tutorial, aber komm ich da nicht mit, als sie/er PE erklärt und die funktion erzählt hat. Jedoch komme ich mit mein englisch nicht mehr mit. Könnte mir jemand erklären was das ist und die funktionen ? xD Danke im voraus!
Editor file. Kom + + Executable Src
12/29/2009 - Grand Chase Hacks, Bots, Cheats & Exploits - 39 Replies
Linguagem Src : Delphi Tutorial: how to use just Descrypter the file and open the file you want to edit then add in search oque will edit and to all he is substituting until more. hello people how long you know ... I am back I did a file editor for the elite's right to claims of the elite .... And I'm also disponsabilizando the source to see how you do a simple editor and of course I'm out of time to do a more advanced I will shortly be launched. I hope you enjoy.
Error: Version of executable file is different
10/20/2007 - Kal Online - 0 Replies
Hi all, I inject my dll with hook on send and recv function. It works fine so far. http://img250.imageshack.us/img250/5765/testnz4.j pg But when i log in after 10 sec i get kicked with this error http://img250.imageshack.us/img250/3192/kal2ge7.j pg



All times are GMT +1. The time now is 17:20.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.