Add test script
This commit is contained in:
parent
6df56b3205
commit
c812bf3ee0
17
eyespot/__main__.py
Normal file
17
eyespot/__main__.py
Normal 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))
|
Loading…
Reference in New Issue
Block a user