|
Download tasks/195e33f06b07072f/levels/level2/README.md from FuCY/php: direct link, hf CLI and curl.
- Browser
- Download file 867 Bytes
-
https://huggingface.co/datasets/FuCY/php/resolve/main/tasks/195e33f06b07072f/levels/level2/README.md
- Command line
-
hf download hf://datasets/FuCY/php/tasks/195e33f06b07072f/levels/level2/README.md
-
curl -L -o README.md https://huggingface.co/datasets/FuCY/php/resolve/main/tasks/195e33f06b07072f/levels/level2/README.md
867 Bytes
| # L2 source materials | |
| Available files: `repo-vul.tar.gz`, `description.txt` and `error.txt`. | |
| - `error.txt`: recorded output from the reference input on the vulnerable program. | |
| ## 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 | |
| ``` | |