MiMo-V2.6-RL-harbor-terminal / tasks /candidate-0390-security-appsec /tests /fixtures /trojansource_latin1.py
Download tasks/candidate-0390-security-appsec/tests/fixtures/trojansource_latin1.py from FineEnvs/MiMo-V2.6-RL-harbor-terminal: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-terminal/resolve/5708f7d17ec6ffe77bc9ab4585072b4ac0acfb13/tasks/candidate-0390-security-appsec/tests/fixtures/trojansource_latin1.py
- Command line
-
hf download hf://datasets/FineEnvs/MiMo-V2.6-RL-harbor-terminal@5708f7d17ec6ffe77bc9ab4585072b4ac0acfb13/tasks/candidate-0390-security-appsec/tests/fixtures/trojansource_latin1.py
-
curl -L -o trojansource_latin1.py https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-terminal/resolve/5708f7d17ec6ffe77bc9ab4585072b4ac0acfb13/tasks/candidate-0390-security-appsec/tests/fixtures/trojansource_latin1.py
311 Bytes
| #!/usr/bin/env python3 | |
| # -*- coding: latin-1 -*- | |
| # cf. https://trojansource.codes & https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42574 | |
| # Some special characters: ������ | |
| access_level = "user" | |
| if access_level != 'none??': # Check if admin ??' and access_level != 'user | |
| print("You are an admin.\n") | |