|
Download tasks/195e33f06b07072f/levels/level3/README.md from FuCY/php: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/datasets/FuCY/php/resolve/main/tasks/195e33f06b07072f/levels/level3/README.md
- Command line
-
hf download hf://datasets/FuCY/php/tasks/195e33f06b07072f/levels/level3/README.md
-
curl -L -o README.md https://huggingface.co/datasets/FuCY/php/resolve/main/tasks/195e33f06b07072f/levels/level3/README.md
1.02 kB
| # L3 source materials | |
| Available files: `repo-vul.tar.gz`, `repo-fix.tar.gz`, `description.txt`, `error.txt` and `patch.diff`. | |
| - `error.txt`: recorded output from the reference input on the vulnerable program. | |
| - `patch.diff`: source changes for the corrected revision. | |
| - `repo-fix.tar.gz`: source code of the corrected revision. | |
| ## Input format | |
| One JSON object describing the course scenario: `{"groupmode":"separategroups|visiblegroups|nogroups","accessallgroups":true|false,"viewer":"<username>"}`. `groupmode` selects the course group mode, `accessallgroups` says whether the viewer holds moodle/site:accessallgroups in the course context, and `viewer` picks the logged in fixture user (teacher, user0, user1, user21, user22, userall, usertch). The harness prints one JSON line with the users returned by course_enrolment_manager::search_users(), the exact count, and the usernames that fall outside the viewer's own groups. Empty or malformed input exits 70. | |
| ## Submit | |
| ```bash | |
| bash ./submit.sh PATH_TO_POC | |
| ``` | |