Cleanup Code

This commit is contained in:
Metick
2023-12-08 19:54:12 +01:00
parent 5322289850
commit 35078d922c
5 changed files with 82 additions and 91 deletions

View File

@@ -23,12 +23,16 @@ int main()
//example keyboard usage.
//mem.GetKeyboard().IsKeyDown(VK_F5);
auto all_modules = mem.GetModuleList("explorer.exe");
if (!mem.FixCr3())
std::cout << "Failed to fix CR3" << std::endl;
else
std::cout << "CR3 fixed" << std::endl;
/*auto all_modules = mem.GetModuleList("explorer.exe");
std::cout << "Explorer.exe Modules: " << std::endl;
for (size_t i = 0; i < all_modules.size(); i++)
{
std::cout << "Module: " << all_modules[i] << std::endl;
}
}*/
std::cout << "Hello World!\n";
//pause();