Jump to content

[help] remove dll from exe

- - - - -

  • Please log in to reply
11 replies to this topic

#1
Zero_Cool

Zero_Cool

    Learning Programmer

  • Members
  • PipPipPip
  • 65 posts
i got 2 files .dll and they are hooked in GS.exe now i need to remove them and its not cracking this 2 dll causing problems so i need to take them out please how can i do that

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
You're thinking about it backwards. GS.exe is hooking into the dll files, not the other way around. GS.exe is using functions that have their code in those .dll files. If you don't have them, it doesn't know what to do.

If you have the source code for all of them, you can recompile with static linking instead of dynamic linking.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Zero_Cool

Zero_Cool

    Learning Programmer

  • Members
  • PipPipPip
  • 65 posts
The GameServer.exe contain the dll files because i know some one and he removed the files from the exe but he wont tell me how :(
and what i have is only .pdb of the exe file that wont help me alot

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200

Zero_Cool said:

The GameServer.exe contain the dll files because i know some one and he removed the files from the exe but he wont tell me how :(
and what i have is only .pdb of the exe file that wont help me alot

If it really does have a DLL within, then the executable is really a packaged application and not a plain executable. You will have to discover how to unpack it, or prevent the library from being successfully unpacked.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
Zero_Cool

Zero_Cool

    Learning Programmer

  • Members
  • PipPipPip
  • 65 posts
the exe isnt packed its pure and unmodified

#6
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,252 posts
  • Location:C:\Countries\US
If they used NASM to make the executable, they might have used the incbin pseudo-instruction to include the DLL.

Executables, including DLLs, start with the 'MZ' word. Maybe you could look into the data section of the executable and find all the 'MZ's and investigate further wich one of those is the start of the DLL.

You can also take a look at this:
PE/COFF Specification

#7
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Zero_Cool: For future reference, EXEs are designed so that they can contain resources, such as icons, string tables, cursors, as well as arbitrary files. It's definitely possible--likely, even--that the DLL is embedded in the EXE, which is what we mean by packed.

To get that DLL out, use Resource Hacker (freeware). It's pretty intuitive and is a lot of fun for messing with your friends' heads when you modify their Microsoft Word. :D
sudo rm -rf /

#8
Zero_Cool

Zero_Cool

    Learning Programmer

  • Members
  • PipPipPip
  • 65 posts
and how exactly i take out the dll using this ?

#9
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Open the EXE with it and you should see all of the resources it contains in a panel on the left-hand side. Do you see any DLLs in there?
sudo rm -rf /

#10
Zero_Cool

Zero_Cool

    Learning Programmer

  • Members
  • PipPipPip
  • 65 posts

dargueta said:

Open the EXE with it and you should see all of the resources it contains in a panel on the left-hand side. Do you see any DLLs in there?
all i can see is a lot of folders but no dlls :(

#11
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
I am unsure if a DLL can be used as a resource within an existing executable, likely it is placed in to memory or a temporary file every time GS.exe is executed (a packer, this is what it does)

Try to view the dependencies of GS.exe with a dependency viewer (you need to find one online), to see what files it needs to load for what functions you wish to remove - if it lists a DLL that is not a system DLL, then it is likely the one you need to find.

If you could explain further what the two DLLs are doing and why it is causing the problem, it may make more sense, so far we are only guessing on what you are giving us.

Do the DLLs provide authentication functions that you are wanting to remove? How do you know they are there if you cannot see them?
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#12
Zero_Cool

Zero_Cool

    Learning Programmer

  • Members
  • PipPipPip
  • 65 posts
thats the all thing i do see them in the folder and its **** DLL pure garbage




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users