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: 517
Rept. Given: 2,136
Rept. Rcvd 677 Times in 213 Posts
Thanks Given: 576
Thanks Rcvd at 809 Times in 163 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Base Encoding Library for Delphi XorRanger Source Code 0 04-30-2015 15:37
Delphi Hook Library Sir.V65j Source Code 0 09-08-2014 22:27
How create Static Library (lib) in delphi? Newbie_Cracker General Discussion 7 10-26-2011 22:33


All times are GMT +8. The time now is 03:55.


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