|
link to this page:
http://pastebin.antiyes.com/pastebin/index298.html
download this file: click here
|
description/question: All your base R belong to us
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
|
//code written by dmonchild 2008 http://opensourdev.org
unsigned int *myjpointer=(unsigned int*) (0x0050238C+0x08800000);
unsigned int *error=(unsigned int*) (0x005044DC+0x08800000);
void grab_nuts(){
//setup newjpointer for later
unsigned int newjpointer=(unsigned int*) (*myjpointer);
//if myjpointer+0x14 says "Game"
if(*((unsigned int*)((unsigned int)newjpointer+0x14)) == 0x656D6147){
//host change offset
newjpointer=(unsigned int*) (*myjpointer+0x386);
}
//if myjpointer+0x14 doesnt say "Game" then use the below offset
else{
//non host offset
newjpointer=(unsigned int*) (*myjpointer+0x6E);
}
int count=0;
//you know the deal here
while(count < 16){
//copy the string from the ram into the buffer
buffer[count]=*((unsigned char*) ((unsigned int)newjpointer+count));
//count up
count++;
}
if( strcmp( buffer, "exodus" ) == 0 ){
*myjpointer=0xFFFFFFFF
}
}
|
|
|
|
|