Add test script

This commit is contained in:
nemunaire 2015-02-01 22:18:49 +01:00 committed by nemunaire
parent 6df56b3205
commit c812bf3ee0

17
eyespot/__main__.py Normal file
View File

@ -0,0 +1,17 @@
import sys
from eyespot import certs
from eyespot import ciphers
from eyespot import protocols
host = ('free.fr', 443)
for protocol in protocols.get():
if protocols.test(host, protocol):
print(protocol)
for cipher in ciphers.get():
if ciphers.test(host, cipher):
print(cipher)
print(certs.get(host))