miscmedium
Not Posixtive
hackthebox
Task: Satisfy a Python hash collision win condition where two values must be unequal but have identical hashes. Solution: Exploit Python hash(-1)==hash(-2)==-2 quirk by using ~0 (bitwise NOT) to bypass blocked minus operator, and grep return codes multiplied by -1 to produce -1 and -2.
$ ls tags/ techniques/
python_hash_collisionbitwise_not_bypassreturn_code_exploitation
🔒
Permission denied (requires tier.pro)
Sign in to access full writeups
Create a free account with GitHub, then upgrade to Pro.
$ssh [email protected]