Random malloc
30 points Easy

I stored a flag on the heap and free'd it. You will never read it!

nc rivit.dev 10017

task.tar.gz
Flag
Rating 4.89
5
4
3
2
1

Discussion

Great challenge. Learned something new.

0

dude getrandom is called

0

Enjoyable. The technique you use to solve this challenge will come in very handy for other challenges.

0
Protected
0

i get this error: task.c:6:10: fatal error: sys/random.h: No such file or directory 6 | #include <sys/random.h> | ^~~~~~~~~~~~~~ compilation terminated.

0

which compiler are you using and on which platform you are trying to compile it?

0

hmm gcc and i'm on windows....

0

you need linux to compile this program

0

oh ok will get on it then

0