Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding > Coding Tutorials
You last visited: Today at 14:02

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

Advertisement



[Tutorial] Hooking API's using C#

Discussion on [Tutorial] Hooking API's using C# within the Coding Tutorials forum part of the General Coding category.

Reply
 
Old   #1
 
elite*gold: 47
Join Date: Feb 2010
Posts: 385
Received Thanks: 1,528
Smile [Tutorial] Hooking API's using C#

Hello epvp, today i'm going to teach you how to hook MessageBox using C#


[ Requirement‎s & information ]


Visual Studio 20XX


Hooking - Wikipedia, the free encyclopedia
C# Skills

[ Practice ]

[ Screens ]

[ DLL Code ]

[ Inj3ct0r Code ]

[ Virustotal ]

Have fun ^^
Attached Files
File Type: zip API_Hooks.zip (552.8 KB, 546 views)
arkade is offline  
Thanks
23 Users
Old 05/06/2014, 12:26   #2
 
elite*gold: 0
Join Date: Apr 2014
Posts: 3
Received Thanks: 1
Sorry...very new at this. If I change the cfg to hook Notepad...it doesn't catch the save file msgbox when closing. Is that a real msgbox? Also...will the example work on a managed exe throwing a msgbox?

Nevermind..Got it! This is THE only easyhook C# example on the net that makes sense for newbie hooking.
Thanks. Now on to a ntquerryinformation hook for C#.
cablehead is offline  
Thanks
1 User
Old 06/08/2014, 19:10   #3
 
elite*gold: 0
Join Date: May 2013
Posts: 2
Received Thanks: 0
Thank you for this, Very helpful
DatSik. is offline  
Old 08/04/2014, 09:31   #4
 
elite*gold: 0
Join Date: Aug 2014
Posts: 2
Received Thanks: 0
nice! thanks for sharing.

could a person use this to override/replace a method with their own method that returns a Boolean answer?
OutcastLordofBacon is offline  
Old 10/25/2015, 06:43   #5
 
elite*gold: 0
Join Date: Oct 2015
Posts: 1
Received Thanks: 0
nice hooking man (y)
SScattered is offline  
Old 05/17/2018, 11:12   #6
 
elite*gold: 0
Join Date: May 2018
Posts: 1
Received Thanks: 0
Apologies for replying to an old thread but this is the only understandable tutorial that I have found.

I’m trying to hook a dll which is only loaded by the target when the API is required.

Does anyone have suggestions for delaying creating the hook until the dll is loaded?

Thanks
fl380 is offline  
Old 08/17/2020, 14:37   #7
 
elite*gold: 0
Join Date: Aug 2020
Posts: 6
Received Thanks: 0
Thank you, thats interesting!
ColeThedeveloper is offline  
Reply

Tags
hooking api c# csharp


Similar Threads Similar Threads
[Tutorial] Hooking, Detours, VTable etc.
08/21/2018 - Coding Tutorials - 5 Replies
Da man öfters hier im Forum die Frage aufkommen sieht "Wie male ich etwas auf ein Spiel" und "Wie sende ich Tastendrücke an mein spiel?!?111" Präsentiere ich hiermit stolz pünktlich zu Neujahr mein Tutorial rund ums Hooking, Detours, Searchpattern, VTables etc. 27 Seiten geballte Informationen mit 2 Beispielen für einen DirectInput und einen D3DHook. Download: HookingTutorial.rar | xup.in GL & HF
[tutorial]Injection & Function Hooking
11/06/2010 - Tutorials - 5 Replies
First let me say this: This is not written by me, i found it posted on game deception a while ago and just rediscoverd it on my hd. Thought it might be interesting for some ppl here. Credits go to whoever originally wrote it. This contains a demo project for vc 2003 and a tutorial. You can find the tutorial in the readme folder!!!!!! oh, if you don't trust me, don't download it....
[Request]Hooking tutorial C#
06/03/2010 - CO2 Programming - 4 Replies
I need a hooking tutorial for C#, thanks in advance :)



All times are GMT +1. The time now is 14:02.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.