diff options
| author | Rouli <rouli.net@gmail.com> | 2013-01-17 17:33:29 +0200 |
|---|---|---|
| committer | Rouli <rouli.net@gmail.com> | 2013-01-17 17:33:29 +0200 |
| commit | 446f9f0a0fc12159ba663d3b8bdc8f1206a197c7 (patch) | |
| tree | 9cb474c3154fb4146cce41e40e25b4a8e3e57d46 /test/tools | |
| parent | 20fa6a30839500207d7d509fe3b8697dbd22a33e (diff) | |
| parent | 280dd94198931bcd819848a70d68f6f5d9f3270b (diff) | |
| download | mitmproxy-446f9f0a0fc12159ba663d3b8bdc8f1206a197c7.tar.gz mitmproxy-446f9f0a0fc12159ba663d3b8bdc8f1206a197c7.tar.bz2 mitmproxy-446f9f0a0fc12159ba663d3b8bdc8f1206a197c7.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'test/tools')
| -rwxr-xr-x | test/tools/getcert | 2 | ||||
| -rwxr-xr-x | test/tools/getcn | 17 |
2 files changed, 0 insertions, 19 deletions
diff --git a/test/tools/getcert b/test/tools/getcert index 6447ecc7..8fabefb7 100755 --- a/test/tools/getcert +++ b/test/tools/getcert @@ -5,5 +5,3 @@ import socket, tempfile, ssl, subprocess addr = socket.gethostbyname(sys.argv[1]) print ssl.get_server_certificate((addr, 443)) - - diff --git a/test/tools/getcn b/test/tools/getcn deleted file mode 100755 index 212977c3..00000000 --- a/test/tools/getcn +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env python -import sys -sys.path.insert(0, "../../") -from libmproxy import certutils - -if len(sys.argv) > 2: - port = int(sys.argv[2]) -else: - pport = 443 - -cn, san = certutils.get_remote_cn(sys.argv[1], port) -print cn -if san: - for i in san: - print "\t", i - - |
