ac1d_buRn (02-26-2010),bladerflader (03-11-2010),Cameronol (03-02-2010),Code Thug (03-02-2010),cyber1hack (03-13-2010),God601 (03-05-2010),matypatty (02-26-2010),why06 (02-26-2010),Zoom (02-26-2010)
Well, this is my "Project Life Giver" source code. Instead of me just giving you the source so you can just compile it and take credits, I'm going to give you the source that is not fully completed. You need to manually add the respawn addy i am giving you into the source... PS: I marked where :P
Respawn Address: 0x3774B7BC
I annotated it for you... Good luck getting started
[PHP]//================================================== ==
//=== Copy Right Breach 2010. All Rights Reserved. ===
//=== DO NOT LEECH THIS - FOR BREACH MEMEBERS ONLY ===
//=== Helicopter12, Acid_Burn, and PowerFear ONLY! ===
//================================================== ==
#include <windows.h> //Needed Header
HANDLE Hthread; //For Respawn Hack
HANDLE Gthread; //For Another Hack
int hack1 = 0x01; //Set respawn hack to "1" (Hex)
int hack2 = 0x00; //Set to "0"
bool getkey() //This executes when called..
{
if(GetAsyncKeyState(VK_F10)&0x8000){ //If F10 is pressed...
return true; //Turn the hack on
}
return false; //If its on turn it off
}
void memhack(PVOID address, int value, int size){ //When this is called it will set the addy to a value (Older func, we have upgraded)
DWORD d,ds;
VirtualProtect(address, size, PAGE_EXECUTE_READWRITE, &d);
memset(address, value, size);
VirtualProtect(address,size,d,&ds);
}
void freeze()
{
while(true){
memhack((PVOID)0x377315A8,hack1,1); //Put the Respawn Addy her
Sleep(20); //Pause for 20 milisecs.
}
}
bool IsGameReadyForHook(void) //See if CA has loaded the dll "CShell", it will crash if this is taken out because respawn is located here.
{
if(GetModuleHandle("CShell.dll") != NULL)
return true;
return false;
}
void main() //The Main function
{
while (!IsGameReadyForHook()) //Only do the following when the DLL has loaded
Sleep(20);
//MessageBox(NULL,"Hack was injected! Use F10 to enable/disabled the hack; Box ESP","Combat Arms Public Hack by Helicopter12 and PowerFear",MB_OK);
int threadID2;
Gthread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&freeze, NULL, 0, (LPDWORD)&threadID2); //Create the thread, C+P this below if you are adding another hack
while(true){
if(getkey()){ //Calls the GetKey function declared above
if(hack1 == 0x01){ //If the hack is then turn it off, and vice versa
hack1 = 0x00; //Hack off
} else {
hack1 = 0x01; //Hack on
}
if(hack2 == 0x01){ //If you have another hack
hack2 = 0x00; // New Values
}else{
hack2 = 0x01; // New Values
}
}
Sleep(20);
}
}
//Just leave this here, not going to waste my time explaining what it all does, just know its needed for injecting/threading
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
int threadID;
Hthread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0, (LPDWORD)&threadID);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}[/PHP]
Creds:
Power
Me
Someone else...
ac1d_buRn (02-26-2010),bladerflader (03-11-2010),Cameronol (03-02-2010),Code Thug (03-02-2010),cyber1hack (03-13-2010),God601 (03-05-2010),matypatty (02-26-2010),why06 (02-26-2010),Zoom (02-26-2010)
Haha, awesome
Are you releasing the updated respawn hack today? o_O
Nice annotation Heli. Don't see much of that now days which is a shame because its good for learning. Just wanted to point out one thing as well here:
Here the size is set to one, but an integer is 4 bytes in size on 32 processor so that size should be set to four. If you really want to entertain urself try figuring out how yours worked when you were only writing to a quarter of an int or simply one byte. It deal with the fact that flat memory is arranged so that the least significant bytes are at the lowest positions in memory for each particular data type. And so you have to reverse the order of the individual bytes if you were to view a hard coded value in disassembly.Code:void freeze() { while(true){ memhack((PVOID)0x377315A8,hack1,1); //Put the Respawn Addy her Sleep(20); //Pause for 20 milisecs. } }
For example: 12033h say this was an integer value (4bytes) which is the size of a dword then:
33,20,01,00
it would look like so in memory. with the least significant byte at the address of the memory location for the integer value.
Lol. wanted to make sure VirtualProtect didn't not do something funky with the size of the memory so I double checked myself with MSDN and it is indeed in bytes: https://msdn.microsof*****m/en-us/libr...8VS.85%29.aspx
Last edited by why06; 02-26-2010 at 12:19 PM.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
luninspectra (03-18-2010)
Thank you Helicopter for this! Helped alot, thanks
-Rest in peace leechers-
Your PM box is 100% full.
is this source undetected?
This is great for someone who knows the basics of C++, and with the comments, I've picked up TONS of new syntax. Thanks a lot!
Also, a question while you're 'here'. Is the only way to find addies by using CE/ MHS, or can you manually dig through the files? :P
i saw some error when trying to do something with it on VB , i fixed them and writed new thing like new values (for the hack xD) and some lines doseant work
Starting my own Web hosting service
Finaly completed.
Progress for Exchange Server : 100%