mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
debug: add OpenSSL
This commit is contained in:
parent
3f240b1875
commit
0848d1085e
@ -9,12 +9,15 @@ import psutil
|
||||
|
||||
from netlib import version
|
||||
|
||||
from OpenSSL import SSL;
|
||||
|
||||
|
||||
def sysinfo():
|
||||
data = [
|
||||
"Mitmproxy version: %s" % version.VERSION,
|
||||
"Python version: %s" % platform.python_version(),
|
||||
"Platform: %s" % platform.platform(),
|
||||
"SSL version: %s" % SSL.SSLeay_version(SSL.SSLEAY_VERSION),
|
||||
]
|
||||
d = platform.linux_distribution()
|
||||
t = "Linux distro: %s %s %s" % d
|
||||
|
Loading…
Reference in New Issue
Block a user