Adds l3ak ctf 2025
This commit is contained in:
10
content/writeups/2025/l3ak_ctf/pwn/the_goose/predict.c
Normal file
10
content/writeups/2025/l3ak_ctf/pwn/the_goose/predict.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
srand(time(NULL) + 1);
|
||||
printf("%d", (rand() % 0x5b + 10));
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user