Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. #include <Windows.h>
  2. #include <process.h>
  3. #include <fstream>
  4. bool c4s, NORECOIL, Nospread, grenades,noreload;
  5.  
  6.  
  7. #define Knives (i == 5 || i == 35 || i == 74 || i == 120 || i == 132 || i == 176 || i == 177 || i == 178 || i == 182 || i == 189 || i == 195 || i == 196 || i == 197 || i == 198 || i == 199 || i == 223 || i == 224 || i == 225 || i == 226 || i == 227 || i == 228 || i == 239 || i == 244 || i == 261 || i == 269 || i == 270 || i == 271 || i == 302 || i == 303 || i == 304 || i == 305 || i == 306 || i == 307 || i == 345 || i == 346 || i == 372 || i == 376 || i == 381 || i == 404 || i == 405 || i == 406 || i == 407 || i == 408 || i == 409 || i == 417 || i == 437 || i == 455 || i == 456 || i == 457 || i == 488 || i == 517 || i == 518 || i == 540 || i == 541 || i == 548 || i == 561 || i == 576 || i == 584 || i == 587 || i == 620 || i == 647 || i == 693 || i == 700 || i == 718 || i == 719)
  8.  
  9. void Kareem()
  10. {
  11. while(1)
  12. {
  13. if(GetModuleHandleW(L"CShell.dll") && GetModuleHandleW(L"ClientFx.fxd"))
  14. {
  15. Sleep(100);
  16.  
  17. DWORD CShell = (DWORD)GetModuleHandleW(L"CShell.dll");
  18. DWORD pWeaponMgr = *(DWORD*)(CShell + 0xC27FD0);
  19. DWORD c4 = *(DWORD*)( CShell + 0xBBEA98);
  20.  
  21.  
  22.  
  23.  
  24. for( int y=0;y<10;y++)
  25. if(pWeaponMgr)
  26. {
  27. for(int i=0; i<663; i++)
  28. {
  29. DWORD rWeapon = *(DWORD*)(pWeaponMgr+(4*i));
  30. if(rWeapon)
  31. {
  32. for(int y=0; y<6; y++)
  33. for( int y=0;y<10;y++)
  34. {
  35. // *(float*)(rWeapon + 0xA64) = 360.0f;//Knife 360
  36. // *(float*)(rWeapon + 0xAAC) = 360.0f;//Knife 360
  37. //*(float*)(rWeapon + 0xA88) = 360.0f;//Knife 360
  38. //*(float*)(rWeapon + 0xAD0) = 360.0f;//Knife 360
  39. *(float*)(rWeapon + 0xA70) = 3;//FastKnife
  40. *(float*)(rWeapon + 0xAB8) = 3;//FastKnife
  41. *(float*)(rWeapon + 0xA94) = 3;//FastKnife
  42. *(float*)(rWeapon + 0xADC) = 3;//FastKnife
  43. for( int y=0;y<10;y++)
  44. *(float*)( rWeapon + 0x352C ) = 0;
  45. *(float*)( rWeapon + 0x3530 ) = 0;
  46. *(float*)( rWeapon + 0x3534 ) = 0;
  47. *(float*)( rWeapon + 0x3538 ) = 0;
  48. *(float*)( rWeapon + 0x353C ) = 0;
  49. *(float*)( rWeapon + 0x3540 ) = 0;
  50. *(float*)( rWeapon + 0x3544 ) = 0;
  51. *(float*)( rWeapon + 0x3548 ) = 0;
  52. *(float*)( rWeapon + 0x354C ) = 0;
  53. *(float*)( rWeapon + 0x3550 ) = 0;
  54. *(float*)( rWeapon + 0x3700 ) = 0;
  55. *(float*)( rWeapon + 0x3704 ) = 0;
  56. *(float*)( rWeapon + 0x3708 ) = 0;
  57. *(float*)( rWeapon + 0x370C ) = 0;
  58. *(float*)( rWeapon + 0x3710 ) = 0;
  59. *(float*)( rWeapon + 0x3714 ) = 0;
  60. *(float*)( rWeapon + 0x3718 ) = 0;
  61. *(float*)( rWeapon + 0x371C ) = 0;
  62. *(float*)( rWeapon + 0x3720 ) = 0;
  63. *(float*)( rWeapon + 0x3724 ) = 0;
  64. *(float*)( rWeapon + 0x0EF4 ) = 0;
  65. *(float*)( rWeapon + 0x0EF8 ) = 0;
  66. *(float*)( rWeapon + 0x0EFC ) = 0;
  67. *(float*)( rWeapon + 0x0F00 ) = 0;
  68. *(float*)( rWeapon + 0x0F04 ) = 0;
  69. *(float*)( rWeapon + 0x0F08 ) = 0;
  70. *(float*)( rWeapon + 0x0F0C ) = 0;
  71. *(float*)( rWeapon + 0x0F10 ) = 0;
  72. *(float*)( rWeapon + 0x0F14 ) = 0;
  73. *(float*)( rWeapon + 0x0F18 ) = 0;
  74. *(float*)( rWeapon + 0x105C ) = 0;
  75. *(float*)( rWeapon + 0x1060 ) = 0;
  76. *(float*)( rWeapon + 0x1064 ) = 0;
  77. *(float*)( rWeapon + 0x1068 ) = 0;
  78. *(float*)( rWeapon + 0x106C ) = 0;
  79. *(float*)( rWeapon + 0x1070 ) = 0;
  80. *(float*)( rWeapon + 0x1074 ) = 0;
  81. *(float*)( rWeapon + 0x1078 ) = 0;
  82. *(float*)( rWeapon + 0x107C ) = 0;
  83. *(float*)( rWeapon + 0x1080 ) = 0;
  84. *(float*)( rWeapon + 0x11C4 ) = 0;
  85. *(float*)( rWeapon + 0x11C8 ) = 0;
  86. *(float*)( rWeapon + 0x11CC ) = 0;
  87. *(float*)( rWeapon + 0x11D0 ) = 0;
  88. *(float*)( rWeapon + 0x11D4 ) = 0;
  89. *(float*)( rWeapon + 0x11D8 ) = 0;
  90. *(float*)( rWeapon + 0x11DC ) = 0;
  91. *(float*)( rWeapon + 0x11E0 ) = 0;
  92. *(float*)( rWeapon + 0x11E4 ) = 0;
  93. *(float*)( rWeapon + 0x11E8 ) = 0;
  94.  
  95. if(Knives)
  96. {
  97. *(float*)(rWeapon + 0xB04) = -0.3f; //
  98. }
  99.  
  100. if(grenades)
  101. {
  102. *(float*)(rWeapon + 0x818) = 0.0f;
  103. }
  104. if(c4s)
  105. *(float*)(rWeapon + 0x80) = 1.6f;
  106. *(float*)(rWeapon + 0x7C) = 1.6f;
  107. }
  108.  
  109. if(noreload)
  110. *(float*)(rWeapon + 0xC38) = 40.0f;
  111. else
  112. *(float*)(rWeapon + 0xC38) = 1.0f;
  113.  
  114. }
  115. }
  116. }
  117. }
  118. }
  119. }
  120.  
  121.  
  122.  
  123. UINT WINAPI StartRoutine(VOID *)
  124. {
  125. _asm
  126. CALL Kareem;
  127. }
  128.  
  129. BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
  130. {
  131. if (dwReason == DLL_PROCESS_ATTACH)
  132. {
  133. DisableThreadLibraryCalls(hDll);
  134. _beginthreadex(0, 0, StartRoutine, 0, 0, 0);
  135. MessageBoxA
  136. (0,"_-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-_\nKareem's Multi Hack\nCredits:\n@Kareem111@ramo\n_-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-__-_-_"
  137. ,"Info!!",0);//
  138. }
  139. return TRUE;
  140. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement