diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-01-03 17:26:59 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-01-03 17:26:59 +1300 |
commit | f5e49ef598f46257cc783e52ef4223a3461f1d84 (patch) | |
tree | 84bbcc9c0074d03a5515bc82253a25b57e3e36de /test | |
parent | 04552375a9b34564878854d7222cebf74f99c489 (diff) | |
download | mitmproxy-f5e49ef598f46257cc783e52ef4223a3461f1d84.tar.gz mitmproxy-f5e49ef598f46257cc783e52ef4223a3461f1d84.tar.bz2 mitmproxy-f5e49ef598f46257cc783e52ef4223a3461f1d84.zip |
First draft of "How mitmproxy works", a complete guide to the mechanics of the proxy process
Diffstat (limited to 'test')
-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 - - |