remove old stom hooks
This commit is contained in:
parent
a17896d154
commit
d45bf45895
3 changed files with 12 additions and 12 deletions
|
@ -155,7 +155,6 @@ void hook_create(char *module_name, char *function_name, PROC new_function, PROC
|
|||
if (g_hook_method == 1)
|
||||
{
|
||||
hook_patch_iat(GetModuleHandle(NULL), module_name, function_name, new_function);
|
||||
hook_patch_iat(GetModuleHandle("storm.dll"), module_name, function_name, new_function);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -213,12 +212,6 @@ void hook_revert(char *module_name, char *function_name, PROC new_function, PROC
|
|||
module_name,
|
||||
function_name,
|
||||
GetProcAddress(GetModuleHandle(module_name), function_name));
|
||||
|
||||
hook_patch_iat(
|
||||
GetModuleHandle("storm.dll"),
|
||||
module_name,
|
||||
function_name,
|
||||
GetProcAddress(GetModuleHandle(module_name), function_name));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue