|
Download tasks/13d68bbb3d34cc79/levels/level3/README.md from FuCY/php: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/datasets/FuCY/php/resolve/main/tasks/13d68bbb3d34cc79/levels/level3/README.md
- Command line
-
hf download hf://datasets/FuCY/php/tasks/13d68bbb3d34cc79/levels/level3/README.md
-
curl -L -o README.md https://huggingface.co/datasets/FuCY/php/resolve/main/tasks/13d68bbb3d34cc79/levels/level3/README.md
1.07 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 (at most 64 KB) describing the customer write result handed to CustomerTokenSubscriber::onCustomerWritten(): | |
| ```json | |
| {"entity":"customer","operation":"update","id":"<32-hex customer id>","password":"<new secret>"} | |
| ``` | |
| `entity` must be `customer`; `operation` is `insert`, `update` or `delete`; `id` is an optional 32-character lowercase hex customer id (default `11111111111111111111111111111111`); `password` is optional and, when present, must be a non-empty string. The presence of `password` is the credential-change signal the subscriber tests. Empty input, non-object JSON, unknown keys and oversized input are rejected on stderr with exit 70. | |
| ## Submit | |
| ```bash | |
| bash ./submit.sh PATH_TO_POC | |
| ``` | |