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 offline
Co-Administrator
 
Join Date: Jan 2011
Location: United States
Posts: 512
Rept. Given: 2,115
Rept. Rcvd 672 Times in 210 Posts
Thanks Given: 518
Thanks Rcvd at 760 Times in 158 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 4 Users Gave Reputation+1 to chessgod101 For This Useful Post:
b30wulf (11-23-2020), chants (11-28-2020), MarcElBichon (11-23-2020), niculaita (11-23-2020)
The Following 10 Users Say Thank You to chessgod101 For This Useful Post:
barukai (11-26-2020), binarylaw (11-27-2020), chants (11-28-2020), emo (11-25-2020), LordGarfio (12-02-2020), Nacho_dj (11-23-2020), niculaita (11-23-2020), Rasmus (11-23-2020), tonyweb (11-23-2020), virus (12-04-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 19:58.


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