OldSchoolHack

Registrieren / Anmelden Deutsch

N3XT Path Of Exile MapHack

  • Kategorie: Other FPS Games
  • Entwickler:
  • Hochgeladen von: KN4CK3R
  • Hinzugefügt am:
  • System: Windows
Download (5.53 KB)

VirusTotal Ergebnis: 2/55

virustotal

N3XT Path Of Exile MapHack Screenshot

Beschreibung

Simple Path Of Exile map hack that will reveal the entire map!

The map hack is 100% open source, coded in C++ from scratch, it was mainly done to learn more about game hacking and how PoE worked. We decided to make it open source as we would like to see many more hacks be open source, especially in the PoE hacking scene.

CPP Code:
  1. #include <windows.h>
  2. #include <iostream>
  3. #include <stdlib.h>
  4.  
  5. #define MAPOFFSET 0x004D5FA0
  6. #define OFFSET0 0x00000028
  7. #define OFFSET1 0x00000034
  8. #define OFFSET2 0x00000040
  9. #define OFFSET3 0x0000004C
  10.  
  11. void MapEdit(DWORD base);
  12. void RedirectIOToConsole();
  13. void MapRestore(DWORD base);
  14. VOID WINAPI ThreadProc(HMODULE hModule);
  15.  
  16. BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
  17. {
  18. switch (ul_reason_for_call)
  19. {
  20. case DLL_PROCESS_ATTACH:
  21. DisableThreadLibraryCalls(hModule);
  22. HANDLE thread_Handle = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)ThreadProc, hModule, 0, NULL);
  23. break;
  24. }
  25. return TRUE;
  26. }
  27.  
  28. VOID WINAPI ThreadProc(HMODULE hModule)
  29. {
  30. MessageBox(NULL, L"PRESS OK WHEN YOU HAVE LOGGED IN", L"N3XT Map Hack", MB_OK);
  31.  
  32. DWORD BASE = (DWORD)(GetModuleHandleA("PathOfExile.exe"));
  33. printf("Press F5 to restore and unload the hack\n");
  34. MapEdit(BASE);
  35.  
  36. bool loop = true;
  37.  
  38. while (loop)
  39. {
  40. if (GetAsyncKeyState(VK_F5) & 1)
  41. {
  42. loop = false;
  43. MapRestore(BASE);
  44. FreeLibraryAndExitThread(hModule, 0);
  45. }
  46. Sleep(300);
  47. }
  48. }
  49.  
  50. void MapEdit(DWORD base)
  51. {
  52. DWORD loc1, loc2, loc3, loc0;
  53.  
  54. base += MAPOFFSET;
  55. loc0 = (base + OFFSET0);
  56. loc1 = (base + OFFSET1);
  57. loc2 = (base + OFFSET2);
  58. loc3 = (base + OFFSET3);
  59.  
  60. MEMORY_BASIC_INFORMATION mbi;
  61. VirtualQuery((LPCVOID)base, &mbi, sizeof(mbi));
  62. VirtualProtect(mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect);
  63.  
  64. *(DWORD*)loc0 = 0x240C8BE8;
  65. *(DWORD*)loc1 = 0xE8D9240C;
  66. *(DWORD*)loc2 = 0xE8D9240C;
  67. *(DWORD*)loc3 = 0xE8D9240C;
  68.  
  69. VirtualProtect(mbi.BaseAddress, mbi.RegionSize, mbi.Protect, &mbi.Protect);
  70. }
  71.  
  72. void MapRestore(DWORD base)
  73. {
  74. DWORD loc1, loc2, loc3, loc0;
  75.  
  76. base += MAPOFFSET;
  77. loc0 = (base + OFFSET0);
  78. loc1 = (base + OFFSET1);
  79. loc2 = (base + OFFSET2);
  80. loc3 = (base + OFFSET3);
  81.  
  82. MEMORY_BASIC_INFORMATION mbi;
  83. VirtualQuery((LPCVOID)base, &mbi, sizeof(mbi));
  84. VirtualProtect(mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect);
  85.  
  86. *(DWORD*)loc0 = 0x240C8B00;
  87. *(DWORD*)loc1 = 0x00D9240C;
  88. *(DWORD*)loc2 = 0x00D9240C;
  89. *(DWORD*)loc3 = 0x00D9240C;
  90.  
  91. VirtualProtect(mbi.BaseAddress, mbi.RegionSize, mbi.Protect, &mbi.Protect);
  92. }
  93.  
  94. void RedirectIOToConsole()
  95. {
  96. FILE *conin, *conout;
  97. AllocConsole();
  98. freopen_s(&conin, "conin$", "r", stdin);
  99. freopen_s(&conout, "conout$", "w", stdout);
  100. freopen_s(&conout, "conout$", "w", stderr);
  101. }

Download N3XT Path Of Exile MapHack
In diesem Thema gibt es keine Beiträge.