|
Download tasks/2a4d32fd787bea6d/levels/level3/README.md from FuCY/php: direct link, hf CLI and curl.
- Browser
- Download file 895 Bytes
-
https://huggingface.co/datasets/FuCY/php/resolve/main/tasks/2a4d32fd787bea6d/levels/level3/README.md
- Command line
-
hf download hf://datasets/FuCY/php/tasks/2a4d32fd787bea6d/levels/level3/README.md
-
curl -L -o README.md https://huggingface.co/datasets/FuCY/php/resolve/main/tasks/2a4d32fd787bea6d/levels/level3/README.md
895 Bytes
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 URL, at most 64KB. The harness reads the file given as argv[1], requires the shipped Concrete\Controller\Backend\File controller, and calls checkRemoteURlsToImport(array($url)) through ReflectionMethod. A hostname written as a hexadecimal integer (for example https://0x7f000001) is rejected by the controller's hex-hostname block and the thrown UserMessageException message is printed as one JSON line. A plain public IPv4 URL such as https://8.8.8.8 is accepted and returns no exception.
Submit
bash ./submit.sh PATH_TO_POC