write-ups-challenges-2023-2024/unbreakable-1/SOLUTION.md

29 lines
452 B
Markdown
Raw Normal View History

2023-11-28 15:24:59 +00:00
## Difficulty
25/100
## Category
exploitation
## How To Solve
You simply need to input the correct sequence of random numbers.
They are generated with the random C `rand()` function. So you can
rewrite the program to give you random variables.
Here is an example generator:
```c
#include <stdlib.h>
#include <stdio.h>
int main() {
for (int i = 0; i < 25; i++) {
printf("%i\n", rand() % 10);
}
}
```
## Hints
n/a
## Flag
IGCTF{n0t_S0_r4nd0m}