In this lab, you will write a angr script in solve.py to crack secret key in chal.c and get flag.
- Sync fork your branch (e.g.,
SQLab:311XXXXXX) git checkout -b lab8(NOT your student ID !!!)
(100%) Write a angr script and satisfy following requirements.
- Explore flag is in stdout or not by angr to solve secret key.
- Write secret key to stdout, and
validate.shpass it to./chalto check secret key. You can runvalidate.shin your local to test if you satisfy the requirements.
Please note that you must not alter files other than solve.py. You will get 0 points if
- you modify other files to achieve requirements.
- you can't pass all CI on your PR.
You need to open a pull request to your branch (e.g. 311XXXXXX, your student number) and contain the code that satisfies the abovementioned requirements.
Moreover, please submit the URL of your PR to E3. Your submission will only be accepted when you present at both places.