Exetools

Exetools (https://forum.exetools.com/index.php)
-   Source Code (https://forum.exetools.com/forumdisplay.php?f=46)
-   -   One Time API Redirection Library in Delphi (x86) (https://forum.exetools.com/showthread.php?t=19708)

chessgod101 11-23-2020 00:56

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.


All times are GMT +8. The time now is 11:29.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX