-
I wrote this python script in order to solve a PicoCTF challenge.
-
It is Web Exploitation challenge worth 90 points, however it's a lot more harder that the given point value.
-
It is about performing a
CBC Bit Flipping
attack against anhomomorphic encryption
in order to find the bit responsible of identifying admin users from normal users, flip that bit and gain access as admin to eventually get the flag. -
This python script perform a Brute-Force attack by iterating over every byte and flipping every single bit until the flag is shown.
-
For more informations about the challenge or the script, check out my blog here