mitmproxy/test/tools/getcn

14 lines
198 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
import sys
sys.path.insert(0, "../..")
from libmproxy import utils
cn, san = utils.get_remote_cn(sys.argv[1], 443)
print cn
if san:
for i in san:
print "\t", i
2012-02-27 02:21:05 +00:00