feat: level06 + level07 elf

This commit is contained in:
gbrochar 2025-05-14 17:17:52 +02:00
parent 8927d0e139
commit 50a8d194c9
3 changed files with 16 additions and 0 deletions

15
level06/Ressources/test.c Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
int main(void)
{
char param1[9] = "gbrochar";
unsigned int local_14 = (param1[3] ^ 0x1337) + 0x5EEDED;
for(int local_18 = 0; local_18 < 8; local_18++) {
if (param1[local_18] < 32 || param1[local_18] > 127) {
return 1;
}
local_14 += (param1[local_18] ^ local_14) % 0x539;
}
printf("%s serial number is %u", param1, local_14);
return 0;
}

1
level06/flag Normal file
View File

@ -0,0 +1 @@
GbcPDRgsFK77LNnnuh7QyFYA2942Gp8yKj9KrWD8

BIN
level07/Ressources/level07 Executable file

Binary file not shown.