Comments (5)
Process of processing delayed input tables ... it load target module then set member ModuleHandleRVA to target module base, the following code seem does nothing?
from gh-injector-library.
maybe insert code follow line 986 ? :
*pIAT = pFunc;
from gh-injector-library.
The delay load IAT works differently than the "normal" IAT. It's a list of callbacks generated by the compiler that when called check if the required module is loaded. If not it loads the module and resolves the addresses. Then it forwards the call to the desired function.
LdrGetProcedureAddress however needs a buffer to work which is why I'm just passing pFunc to it. I'm using LdrGetProcedureAddress only to verify that the desired function exists.
from gh-injector-library.
I did some more research it seems like the offset in the IAT itself gets redirected to the delayed import. So I should be able to patch it.
from gh-injector-library.
ntRet = f->LdrGetProcedureAddress(ReCa<void *>(hDll), import, IMAGE_ORDINAL(pNameTable->u1.Ordinal), ReCa<void **>(pIAT));
Works fine, not sure how I missed this before. Thanks!
from gh-injector-library.
Related Issues (20)
- injection keep failing HOT 4
- Cannot run the program HOT 1
- Won't run on Windows 11 HOT 2
- Shellcode Injector execution time exceeded SR_REMOTE_TIMEOUT HOT 1
- How do i get it to inject into a game called PolyGon HOT 1
- Feature Request, Manual Map from file in memory HOT 8
- support uwp apps
- How to handle Error code: 0x1010000C HOT 10
- This shit crashes with csgo now 😡😡😡😡 HOT 1
- My injector closes when I finish injecting. HOT 4
- Shell failed with 0x0040000A HOT 5
- GetDownloadProgress Doesn't work correctly... HOT 8
- Manual map injection keep failing HOT 3
- Don't know how to make it run HOT 4
- Error! HOT 5
- BUG??? HOT 1
- From memory mapping and handle hijacking not supported HOT 4
- Issues injecting HOT 7
- Error code: 0x00000012 HOT 1
- Handle Hijacking often makes windows shut down to critical error in 1 minute. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gh-injector-library.