Hey im wanting to basicaly remove my whole server and turn it into a wargame type server
a wargame is absically a set of ppl trying to play a hacking game the first one to achieve this wins
basically i already have my goal is to login into level 2
this is the script that i have in place
Code:
int main(){
long val=0x41414141;
char buf[20];
printf("Correct val's value from 0x41414141 -> 0xdeadbeef!\n");
printf("Here is your chance: ");
scanf("%24s",&buf);
printf("buf: %s\n",buf);
printf("val: 0x%08x\n",val);
if(val==0xdeadbeef){
seteuid(1002);
system("/bin/sh");
} else {
printf("WAY OFF!!!!\n");
exit(1);
}
return 0;
}
that script is from intruder.net im wanting to do something just like that
now if u notice the value is wanting u to get 0xdeadbeef but if u notice it says char buf=20 if we add like 21+ characters with ascii we can start a buffer overflow allowing us access to level 2
im goign to have 8 levels setup on this and i was wondering if any of the staff at eukhost would love to help me?
not only will this be fun but a learning set place for me and as well as you all
so what do you say?