diff options
author | segfault <segfault@secmail.pro> | 2019-03-25 07:47:12 +0100 |
---|---|---|
committer | segfault <segfault@secmail.pro> | 2019-03-25 07:47:12 +0100 |
commit | 2d1a148d6edf60e38b99545daa7b4c1570696b36 (patch) | |
tree | ae321e8c88180365c793afab0846b2b7e9930cf5 /injector.c | |
parent | a0c75fa3bca05d3a3556e091df68bc732d6ca63a (diff) |
Torum stuff added
Signed-off-by: segfault <segfault@secmail.pro>
Diffstat (limited to 'injector.c')
-rw-r--r-- | injector.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -341,7 +341,7 @@ static int search_patch_near_entry(pe_buffer *pe, patch_ctx *pa) relAddr = calc_relative_offset(entryVA + i, shellVA); printf("Patching RelJMP at 0x%08lX: 0x%08lX\n", - (unsigned long)entryVA + i - 1, + (unsigned long)entryVA + i, (unsigned long)relAddr); *(uint32_t *)(&insts8[i+1]) = relAddr; return 0; |