mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 16:17:49 +00:00
14 lines
198 B
Python
Executable File
14 lines
198 B
Python
Executable File
#!/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
|
|
|
|
|