//////////////////////////INCLUDES////////////////////
#include <Windows.h>
///////////////////////////INCLUDES//////////////////////
//////////////DEFINES//////////////////////////////////
#define ADR_PLAYERPOINTER 0xA01808
#define ADR_SERVERPOINTER 0xA017A4
#define OFS_SLOT5 0x1021BC
#define OFS_PREM 0x58C
#define ADR_SPEED 0x864A48
/////////////////////////DEFINES///////////////////////
/////////////////////INGAME/OUTGAME Defines////////////////
DWORD *ingame = (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame = (DWORD*)ADR_SERVERPOINTER;
////////////////////////////////////////////////////
/////////////////////////////SLOT 5////////////////////////////
void SLOT_5()
{
DWORD wrServerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(wrServerPtr != 0)
{
*(long*)(wrServerPtr + OFS_SLOT5) = 1;
}
}
///////////////////////////////////////////////////////////////
////////////////////PREMIUM/////////////////////////////
void PREM()
{
DWORD wrServerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(wrServerPtr != 0)
{
*(long*)(wrServerPtr + OFS_PREM) = 4;
}
}
/////////////////////////////////////////////////////
//////////////////SPEED////////////////////////////
void SPEED()
{
*(float*)(ADR_SPEED) = 300;
}
//////////////////FOR LOOP////////////////
void myloop()
{
for(;;)
{
if(*ingame)
{
SPEED();
}
if(*outgame)
{
SLOT_5();
PREM();
}
}
Sleep(200);
}
//////////////////////////////////////////////////////////
//////////////////CREATE DLL THREAD////////////////////////////
BOOL WINAPI DllMain(HINSTANCE mod, DWORD GIGGLE_BASE, LPVOID res)
{
switch(GIGGLE_BASE)
{
case 1:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)myloop, 0, 0, 0);
break;
}
return TRUE;
}
/////////////////////////////////////////////////////////
#include <iostream> //Noobz beware this has magic powers also it helps us output stuff
#include <windows.h> // Win32API (For Functions like FindWindow(0, "NullVoid")
using namespace std; // Ill kill you if you are trying to make hacks and still dont know what that is
int main(int argc, char *argv[])
{
int nVal = 1237; // Declaring an int (Integer) that were going to use for changing the value of an address
HWND hWND = FindWindow(0, "Calculator"); // Ok liek this totaly finds the Application with the name Calculator
if(hWND == 0){ // Checking to see if hWnd == 0 (THis would mean that its not found)
cerr << "Application not found" << endl; // Sending an error message telling the user App not found
} else { //Else is basicly a function that says if 1 statement didn't occur then this one must (If you can't tell im mocking you GiggleBush2012)
DWORD pID; // Im not even going to bother explaining a DWORD LOOK IT UP PLEASE (ill say raise the 8 bit flags)
GetWindowThreadProcessId(hWND, &pID); // some more handles and stuff
HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE,pID); // Open the process for penetration (hehe pentration)
}
if(hProc) { // that says if its false then cerr a messsage
cerr << "Process not detected please open it and try again" << endl;
} else { //ZOMG THE 1337 hacks are injected into the main frame for leet winning ability
int DidiInject = WriteProcessMemory(hProc, (LPVOID)0x00380FE4, &nVal, (DWORD)sizeof(nVal),NULL); //Im sure you allready know this but in c++ all addys start with 0x (Saying its a hex address)
}
if(DidiInject > 0) {
clog << "Yo Dawg we injected into the bank" << endl;
}else{
cerr << "Shit failed at the point of penetration" << endl;
}
return a.exec();
}