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:
Maier Johannes
2024-01-25 00:55:49 +01:00
committed by GitHub
parent a90702d68f
commit b3e3b7b049
6 changed files with 204 additions and 27 deletions

5
vuln.c
View File

@@ -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:");