Solved Hook inject function

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

nb81

Newbie
Full Member
Oct 26, 2013
29
238
0
Hi,

I have a game launcher, that injects a dll to the game process. I wonder is there a possibility tomake it inject not just the game's dll but mine?

This is what I have in Olly: Img
I think here is the function that injects the game dll into the game.

If I'm right, how can I manage to make this working?

Thanks!
 

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
Download PETools (https://sourceforge.net/projects/pe-tools/). Start it up, go to Tools -> PE Editor, select your .exe which you want to modify. After opening it a new window should appear, in that go for "Directories" -> Import Directory, click the "...". This should view all imports, make a right click -> Add Imports, then enter your DLLs name (which has to be in the .exe's folder afterwards), as API name you enter the exported function from your DLL which you define by
"_declspec(dllexport) void".
Hope this was detailed enough..
 

brinkz

Coder
Meme Tier VIP
Sep 3, 2012
209
1,688
12
Hi,

I have a game launcher, that injects a dll to the game process. I wonder is there a possibility tomake it inject not just the game's dll but mine?

This is what I have in Olly: Img
I think here is the function that injects the game dll into the game.

If I'm right, how can I manage to make this working?

Thanks!
Just a quick question, why would you?
 

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
So you mean sth like "self injecting" your DLL? You could modify the Import Table..
 

nb81

Newbie
Full Member
Oct 26, 2013
29
238
0
Yeah "self injecting" it. So when I click "Play" then my, and the game's dll would inject.

How can I modify the import table?
 

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
Yeah "self injecting" it. So when I click "Play" then my, and the game's dll would inject.

How can I modify the import table?
Export a function in your dll, it can be empty, then look for a tool which is capable of modifying the Import Table.. Search for a PE editor..
 

nb81

Newbie
Full Member
Oct 26, 2013
29
238
0
Export a function in your dll, it can be empty, then look for a tool which is capable of modifying the Import Table.. Search for a PE editor..
I think you're missunderstanding me. There is a game and a launcher for it. The launcher injects a dll(that is needed to play multiplayer) into the game. It would be good if my dll could be injected through the launcher, at the same time the multiplayer dll does.
 

NTvalk

Hacker
Meme Tier VIP
Jul 6, 2013
499
3,108
8
I think you're missunderstanding me. There is a game and a launcher for it. The launcher injects a dll(that is needed to play multiplayer) into the game. It would be good if my dll could be injected through the launcher, at the same time the multiplayer dll does.
He didn't misunderstand you, you can edit the imports of the launcher or the exports of a dll that already gets injected.
 

nb81

Newbie
Full Member
Oct 26, 2013
29
238
0
Okay, I'am totally confused. In what way can I modify it? I downloaded some PE Editors but none of then have a feature to modify the imports/exports, only allows you to view them.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods