Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /SHAdd0WTAka_Zen-Ai-Pentest /docker /patch_passlib.py
| import inspect | |
| import passlib.handlers.bcrypt as bh | |
| src = inspect.getsourcefile(bh) | |
| with open(src, "r") as f: | |
| content = f.read() | |
| content = content.replace( | |
| "if verify(secret, bug_hash):", | |
| "if False: # verify(secret, bug_hash): - patched", | |
| ) | |
| with open(src, "w") as f: | |
| f.write(content) | |
| print("Passlib patched successfully") | |
Xet Storage Details
- Size:
- 340 Bytes
- Xet hash:
- 4d9375d6254055af4418c6736d92120d41652fed68fb3438debef148881f3550
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.