Enable testing of the exploit (#4)
* Enable testing exploit * Fix unused result warning * Fix oversight in CI * Fix oversight in CI II * Fix oversight in CI III * Fix oversight in CI IV * Debugging CI * Debugging CI * Debugging CI * Debugging & supplying custom libc * Trying out stuff. * Triggering CI? * Testing around. * Fix test_exploit CI. * Fix test_exploit CI.
This commit is contained in:
5
vuln.c
5
vuln.c
@@ -339,7 +339,10 @@ void check_premium() {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
read(secret_fd, activation_key, sizeof(activation_key));
|
||||
if (read(secret_fd, activation_key, sizeof(activation_key)) < 0) {
|
||||
puts("Cannot read reference activation key.");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
close(secret_fd);
|
||||
|
||||
printf("Then please enter your activation key:");
|
||||
|
||||
Reference in New Issue
Block a user