This is an example of how to perform a breach attack on a test website to extract secret and private tokens.
- Python3 (Recomended but also Python2 works)
- Requests module for python
- Clone the repository
git clone https://github.com/miguelob/BREACH
- Install requests module for Python:
-
Python2.X
pip install requests
-
Python 3.X
pip3 install requests
- Run de code
For testing this code on your own websites, you can change the URL parameter for your one. The MASK might be also needed to change, but you will figure it out as you develop your own breach attack. For testing and educational purposes, I recommend testing on the public URL on the code. That website is created specifically for testing this attack.