Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-23-2020, 00:56
chessgod101's Avatar
chessgod101 chessgod101 is online now
Co-Administrator
 
Join Date: Jan 2011
Location: United States
Posts: 511
Rept. Given: 2,114
Rept. Rcvd 671 Times in 210 Posts
Thanks Given: 517
Thanks Rcvd at 751 Times in 157 Posts
chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699
One Time API Redirection Library in Delphi (x86)

This is a simple injectable library I created to redirect a specified API to execute code at a particular point in memory. I use it a lot for complicated protections in order to get my own code into the process memory.

Source:

Code:
https://github.com/chessgod101/One-Time-API-Redirection-Library
The code use is simple. Simply modify the following CONST values to the API

CONST RedirAPI:AnsiString='YOURAPIHERE'; //api to be redirected
CONST DLLOFAPI:WideString='YOURDLLHERE.DLL'; //dll containing that api

You add your code to the DoYourStuff function.

I included a simple PatchMemoryByte function for your convenience.

Future Goals:
  • Create a library with x64 support.
  • Release my injection loader library after cleaning up the source code.
__________________
"Real knowledge is to know the extent of one's ignorance." Confucius
Reply With Quote
The Following 3 Users Gave Reputation+1 to chessgod101 For This Useful Post:
b30wulf (11-23-2020), MarcElBichon (11-23-2020), niculaita (11-23-2020)
The Following 4 Users Say Thank You to chessgod101 For This Useful Post:
Nacho_dj (11-23-2020), niculaita (11-23-2020), Rasmus (11-23-2020), tonyweb (11-23-2020)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT +8. The time now is 10:53.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2020 )