I have this C code and I want to know if possible how to bypass this check ?
int fd, password, input;
fd = open("/dev/urandom", 0);
read(fd, &password, 4);
scanf("%d", &input);
if (password == input)
{
printf("OK\n")
}
Or is it possible to predict urandom values ?
Aucun commentaire:
Enregistrer un commentaire