This proof of concept is focused on the cryptography behind the BEAST (Browser Exploit Against SSL/TLS) attack presented by Thai Duong and Juliano Rizzo on September 23, 2011. This a chosen-plaintext attack and this allow you to retrieve sensitives informations if the Transport Layer Security used is TLS1.0 or SSLv3. The orginal proof of concept can be found here : Here come the Ninjas
More Details about BEAST can be found here
python2 beast.py
We can also try with a custom cookie instead of hardcoded one,
python2 beast.py --cookie aNothEr5ecRetcOoKIE