aboutsummaryrefslogtreecommitdiff
path: root/Hunted/Hunted.cpp
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-11-01 14:51:25 +0100
committerToni Uhlig <matzeton@googlemail.com>2019-11-01 14:51:25 +0100
commit0364b7427f5eb1f5123a662611d922d65ad30754 (patch)
treeca8e80d2adc7b6b39466efd5b5cb0ca64faba0a2 /Hunted/Hunted.cpp
parent93d3d32e7145b9c100fbcb4ef382b8df13195f2e (diff)
ready for Hunt 1.12 update
Diffstat (limited to 'Hunted/Hunted.cpp')
-rw-r--r--Hunted/Hunted.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Hunted/Hunted.cpp b/Hunted/Hunted.cpp
index 9c06637..d1066fb 100644
--- a/Hunted/Hunted.cpp
+++ b/Hunted/Hunted.cpp
@@ -252,7 +252,7 @@ int wmain(int argc, wchar_t **argv)
*(UINT64 *)((BYTE *)cc + 31) = g_pEnvSys;
*(UINT64 *)((BYTE *)cc + 41) = dll.GetEntryPoint();
/* PATTERN: 48 89 4C 24 08 48 83 EC 48 +0x275 */
- UINT64 jumpBackAddr = (UINT64)md.DllBase + 0x708F5;
+ UINT64 jumpBackAddr = (UINT64)md.DllBase + 0x70875;
*(UINT64 *)((BYTE *)cc + 81) = jumpBackAddr;
printBuf(cc, sizeof cc, 32);
KMemoryBuf::Wpm<sizeof cc>(targetPID, (PVOID)targetAddr, &cc[0]);
@@ -261,7 +261,7 @@ int wmain(int argc, wchar_t **argv)
*(UINT64 *)((BYTE *)dd + 2) = (UINT64)targetAddr;
printBuf(dd, sizeof dd, 32);
/* PATTERN: 48 89 4C 24 08 48 83 EC 48 +0x9 */
- KMemoryBuf::Wpm<sizeof dd>(targetPID, (PVOID)((UINT64)md.DllBase + 0x70689), &dd[0]);
+ KMemoryBuf::Wpm<sizeof dd>(targetPID, (PVOID)((UINT64)md.DllBase + 0x70609), &dd[0]);
#if 0
Sleep(1000);
if (!ki.VUnlink(targetPID, targetAddr)) {