From 5bbda279685f52693d4f5d9cb1500e295e06fc1e Mon Sep 17 00:00:00 2001 From: auth12 <67507608+auth12@users.noreply.github.com> Date: Sat, 1 Aug 2020 11:15:55 -0700 Subject: Started security. --- client/src/util/syscalls.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/util/syscalls.cpp') diff --git a/client/src/util/syscalls.cpp b/client/src/util/syscalls.cpp index 96036a3..a755d22 100644 --- a/client/src/util/syscalls.cpp +++ b/client/src/util/syscalls.cpp @@ -9,9 +9,9 @@ syscalls::syscalls() { m_call_table = VirtualAlloc(0, 0x100000, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE); std::memset(m_call_table, 0x90, 0x100000); - io::log("syscalls call table : {:#x}", uintptr_t(m_call_table)); + io::log("syscalls call table : {:x}", uintptr_t(m_call_table)); - static auto nt = pe::virtual_image("ntdll.dll"); + static auto nt = pe::ntdll(); for (auto& exp : nt.exports()) { auto addr = exp.second; -- cgit v1.2.3