Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. /* Copyright 2018 Null Terminator //
  3. //
  4. Permission is hereby granted, free of charge, to any person //
  5. obtaining a copy of this software and associated documentation //
  6. files(the "Software"), to deal in the Software without restriction, //
  7. including without limitation the rights to use, copy, modify, merge, //
  8. publish, distribute, sublicense, and/or sell copies of the Software, //
  9. and to permit persons to whom the Software is furnished to do so, //
  10. subject to the following conditions : //
  11. //
  12. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. //
  13. //
  14. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, //
  15. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF //
  16. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. //
  17. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, //
  18. DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR //
  19. OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR //
  20. THE USE OR OTHER DEALINGS IN THE SOFTWARE. //
  21. */ //
  22. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  23.  
  24.  
  25. /*
  26. NEED SOME HELP? FULL TUTORIALS ON HOW TO USE THIS BASE AND CODE CHEATS ON MY YOUTUBE CHANNEL:
  27. Null Terminator
  28. https://www.youtube.com/channel/UCZF93Qrt6yMAabRnlND4YsQ
  29.  
  30. GITHUB LINK:
  31. https://github.com/NullTerminatorr/NullBase
  32. */
  33.  
  34.  
  35.  
  36. #include "NullMemory.h"
  37.  
  38. //Vars for our cheat :D
  39. int plrFlags;
  40. bool rEnable = FALSE;
  41. bool gEnable = FALSE;
  42.  
  43. int main()
  44. {
  45. //Constructing nullbase object to access the functions/vars inside
  46. nullbase null;
  47.  
  48. //If we attatch successfully
  49. if (null.attatchProc("csgo.exe"))
  50. {
  51. //Getting base address of client.dll so we can offset from it
  52. if (null.baseAddress = null.getModule("client.dll"))
  53. {
  54. //F10 = panic key
  55. while (!GetAsyncKeyState(VK_F10))
  56. {
  57. if (GetAsyncKeyState(VK_F1) &1)//Radar key
  58. {
  59. rEnable = !rEnable;
  60. }
  61.  
  62. if (GetAsyncKeyState(VK_F2) & 1)//Glow key
  63. {
  64. gEnable = !gEnable;
  65. }
  66.  
  67. for (int i = 0; i < 32; i++) //looping the entities
  68. {
  69. DWORD base = null.getEntBase(i);
  70. if (rEnable)
  71. {
  72. if (null.getEntTeam(base) != null.getLocalTeam())
  73. {
  74. if (null.getSpotted(base) == 0)
  75. {
  76. null.setSpotted(base, 1);
  77. }
  78. }
  79. }
  80. if (gEnable) //GLOW
  81. {
  82. auto gIndex = null.getGlowIndex(base);
  83. auto gObject = null.getGlowObj();
  84. // R G B A
  85. null.glowEsp(gObject, gIndex, 255, 0, 0, 255);
  86. std::cout << "Glow activated." << std::endl;
  87.  
  88. }
  89. else {}
  90. }
  91.  
  92. /*BHOP
  93. //If we're on the ground and we're holding space (bhop)
  94. if (null.getLocalFlags() == FL_ON_GROUND && GetAsyncKeyState(VK_SPACE))
  95. {
  96. //JUMP!
  97. null.forceJump();
  98. }
  99. */
  100. //Minimise CPU usage
  101. Sleep(1);
  102. }
  103. }
  104. }
  105. //Deconstruct nullbase (Close handle to hproc)
  106. null.~nullbase();
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement