|
|
|
@ -41,13 +41,13 @@ int __cdecl main(int argc, char** argv)
|
|
|
|
|
_read_phys =
|
|
|
|
|
[&](void* addr, void* buffer, std::size_t size) -> bool
|
|
|
|
|
{
|
|
|
|
|
return my_proc.read_phys(addr, buffer, size);
|
|
|
|
|
return my_proc.read_phys(buffer, addr, size);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
_write_phys =
|
|
|
|
|
[&](void* addr, void* buffer, std::size_t size) -> bool
|
|
|
|
|
{
|
|
|
|
|
return my_proc.write_phys(addr, buffer, size);
|
|
|
|
|
return my_proc.write_phys(buffer, addr, size);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
std::printf("[+] sleeping 30 seconds...\n");
|
|
|
|
|