Pwn Challenges
Ghost
Description
Analysis
int main(void) {
long in_FS_OFFSET;
char buffer [64];
int variableToOverwrite;
char code [264];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
printCatArt();
puts("Ghostly Haunting: Mysterious Apparitions Spotted in Abandoned Mansion!");
fflush(stdout);
variableToOverwrite = 0;
printf("ghost code: ");
gets(code);
strcpy(buffer,code);
if (variableToOverwrite == 0x44434241) {
puts("BDSEC{you_need_to_find_flag_in_server!}");
}
else {
puts("You have escaped the ghost!");
}
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/* WARNING: Subroutine does not return */
__stack_chk_fail();
}
return 0;
} Solution
anyaForger
Description
Analysis
Solution
callme
Description
Analysis
Solution
Last updated