Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Kolerr-Lab_supper-decoyable /tests /test_engineer_case3.py
| def run_ping(host): | |
| # vulnerable | |
| os.system("ping -c 1 " + host) | |
| if __name__ == "__main__": | |
| run_ping("8.8.8.8") | |
| """ | |
| Test Case 3: Command Injection via os.system | |
| NOTE: This file contains intentional use of dangerous patterns (os.system, subprocess with shell=True, etc.) | |
| for the purpose of testing, demonstration, and validation of security scanners. These are NOT used in production code. | |
| """ | |
| import os | |
Xet Storage Details
- Size:
- 416 Bytes
- Xet hash:
- a5da40fbb2d11f8b64c48747f675c04297e163e76c74e4326f96e75650ed5eaa
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.