E
E
Elchin_Valiyev2015-05-24 19:28:49
Information Security
Elchin_Valiyev, 2015-05-24 19:28:49

How to programmatically get the encryption used on the page?

This is a screenshot from Firefox.
418cf099d38d410a83c47a1fef3dd8db.png
How to get the selected line programmatically in Java or Python?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Disen, 2015-05-25
@Disen

You could try this:
Lib/ssl.py
SSLSocket.cipher()
Returns a three-value tuple containing the name of the cipher being used, the version of the SSL protocol that defines its use, and the number of secret bits being used. If no connection has been established, returns None.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question