All Projects → anhkgg → Superdllhijack

anhkgg / Superdllhijack

Licence: apache-2.0
SuperDllHijack:A general DLL hijack technology, don't need to manually export the same function interface of the DLL, so easy! 一种通用Dll劫持技术,不再需要手工导出Dll的函数接口了

Labels

Projects that are alternatives of or similar to Superdllhijack

Swr
React Hooks for data fetching
Stars: ✭ 20,348 (+3739.25%)
Mutual labels:  hook
Use Onclickoutside
React hook for listening for clicks outside of an element.
Stars: ✭ 361 (-31.89%)
Mutual labels:  hook
D3d8to9
A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
Stars: ✭ 419 (-20.94%)
Mutual labels:  hook
React Cool Onclickoutside
😎 🖱 React hook to listen for clicks outside of the component(s).
Stars: ✭ 295 (-44.34%)
Mutual labels:  hook
Plthook
Hook function calls by replacing PLT(Procedure Linkage Table) entries.
Stars: ✭ 351 (-33.77%)
Mutual labels:  hook
Kiero
Universal graphical hook for a D3D9-D3D12, OpenGL and Vulkan based games.
Stars: ✭ 374 (-29.43%)
Mutual labels:  hook
Mirage
kernel-mode Anti-Anti-Debug plugin. based on intel vt-x && ept technology
Stars: ✭ 272 (-48.68%)
Mutual labels:  hook
X Apm
应用管理 Xposed
Stars: ✭ 482 (-9.06%)
Mutual labels:  hook
Anymethodlog
Log any method call of object in Objective-C
Stars: ✭ 361 (-31.89%)
Mutual labels:  hook
Inputmethodholder
A keyboard listener for Android which by hooking the InputMethodManager. 通过hook监听系统键盘显示
Stars: ✭ 417 (-21.32%)
Mutual labels:  hook
Androidcomponentplugin
Android上简单实现四大组件的插件化,供学习使用
Stars: ✭ 316 (-40.38%)
Mutual labels:  hook
Monohook
hook C# method at runtime without modify dll file (such as UnityEditor.dll)
Stars: ✭ 348 (-34.34%)
Mutual labels:  hook
Androididchanger
Xposed Module for Changing Android Device Info
Stars: ✭ 394 (-25.66%)
Mutual labels:  hook
Use Editable
A small React hook to turn elements into fully renderable & editable content surfaces, like code editors, using contenteditable (and magic)
Stars: ✭ 291 (-45.09%)
Mutual labels:  hook
React Cool Dimensions
😎 📏 React hook to measure an element's size and handle responsive components.
Stars: ✭ 419 (-20.94%)
Mutual labels:  hook
Epic
Dynamic java method AOP hook for Android(continution of Dexposed on ART), Supporting 5.0~11
Stars: ✭ 3,434 (+547.92%)
Mutual labels:  hook
Rbtray
A fork of RBTray from http://sourceforge.net/p/rbtray/code/.
Stars: ✭ 365 (-31.13%)
Mutual labels:  hook
Dexcalibur
[Official] Android reverse engineering tool focused on dynamic instrumentation automation. Powered by Frida. It disassembles dex, analyzes it statically, generates hooks, discovers reflected methods, stores intercepted data and does new things from it. Its aim is to be an all-in-one Android reverse engineering platform.
Stars: ✭ 512 (-3.4%)
Mutual labels:  hook
React Cool Portal
😎 🍒 React hook for Portals, which renders modals, dropdowns, tooltips etc. to <body> or else.
Stars: ✭ 458 (-13.58%)
Mutual labels:  hook
Use Local Storage State
React hook that persists data in local storage
Stars: ✭ 392 (-26.04%)
Mutual labels:  hook

SuperDllHijack

中文版

A general DLL hijack technology, don't need to manually export the same function interface of the DLL, so easy!

Usage:

Create a DLL with the same name of the hijacked DLL(such as,target.dll), and rename the hijacked DLL to other name(such as, target.dll.1), then call SuperDllHijack function to do the hajick work.

Update:

2020-4-4

  1. fixed the bug of getting peb in x64。Thanks for @yves-yl@kiwings@6769

You can see more details in the example code.

VOID DllHijack1(HMODULE hMod)
{
	TCHAR tszDllPath[MAX_PATH] = { 0 };

	GetModuleFileName(hMod, tszDllPath, MAX_PATH);
	PathRemoveFileSpec(tszDllPath);
	PathAppend(tszDllPath, TEXT("target.dll.1"));

	SuperDllHijack(L"target.dll", tszDllPath);
}

BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
                     )
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
		DllHijack(hModule); break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
        break;
    }
    return TRUE;
}

There are the related articles about the technology:

  1. https://anhkgg.com/dllhijack/
  2. https://mp.weixin.qq.com/s/Nx4C2mx94V9vhvU8Eqfobg
  3. https://bbs.pediy.com/thread-248050.htm

Support me

img

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].