Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Kolerr-Lab_supper-decoyable /tests /test_engineer_case2.py
| # Test Case 2: SQL Injection Detection | |
| # app/api.py | |
| from flask import request | |
| def get_user(): | |
| uid = request.args.get("id") | |
| query = "SELECT * FROM users WHERE id = %s" % uid # vulnerable | |
| db.execute(query) | |
Xet Storage Details
- Size:
- 219 Bytes
- Xet hash:
- 2db05dc8108f877664db4cc50dc34c4275c65540e468f8dd824c7e19495cfad3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.