Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 868d58f

Browse files
gi_agent.dll is now called pirt
1 parent 393d4f8 commit 868d58f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎include/kptnhook/handler.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <ntifs.h>
33

44
constexpr UNICODE_STRING KNOWN_DLLS[] = {
5-
RTL_CONSTANT_STRING(L"gi_agent.dll")
5+
RTL_CONSTANT_STRING(L"pirt.dll")
66
};
77

88
void on_image_load(PUNICODE_STRING img_name, HANDLE proc, PIMAGE_INFO info);

‎src/hook.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void hook32(void* func, void* target) {
4747
target = addroffset(void, target, STUB_SIZE32);
4848

4949
void* module_file = target;
50-
const wchar_t module_file_str[] = L"gi_agent.dll";
50+
const wchar_t module_file_str[] = L"pirt.dll";
5151
write_wstr(&target, module_file_str);
5252

5353
// write UNICODE_STRING for module_file
@@ -100,7 +100,7 @@ void hook64(void* func, void* target) {
100100
target = addroffset(void, target, STUB_SIZE64);
101101

102102
void* module_file = target;
103-
const wchar_t module_file_str[] = L"gi_agent.dll";
103+
const wchar_t module_file_str[] = L"pirt.dll";
104104
write_wstr(&target, module_file_str);
105105

106106
// write UNICODE_STRING for module_file

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /