In this level, you will write 4 user test cases for the provided C program.
The C program, located at
~/cse240/labw/lab10/04/main.c
.
- For each of the user tests, the test must pass the program when modelGood is used and fail the program when modelBad is used
- The user tests are located in
~/cse240/labw/lab10/04/user_tests/
- utest19.0.1 will test the first if statement
- utest19.0.2 will test the second if statement
- utest19.0.3 will test the third if statement
- utest19.0.4 will test the fourth if statement
- When all the test cases pass the modelGood and fail the modelBad the tester will reveal the flag.
HELPFUL HINT: if you have navigated away from your project folder, you can quickly get back by using the alias `cdhw`
Connect with SSH
Link your
SSH key, then connect with:
ssh hacker@pwn.college