From 4ffaadd4355e943d7fa46f3050a1fb780f4d261d Mon Sep 17 00:00:00 2001 From: Henrik Nordstrom Date: Tue, 8 Feb 2011 16:58:38 +0100 Subject: Allow specifying the accepted ciphersuites --- mitmdump | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mitmdump') diff --git a/mitmdump b/mitmdump index f3e8ae0a..26686afd 100755 --- a/mitmdump +++ b/mitmdump @@ -31,6 +31,11 @@ if __name__ == '__main__': type = "str", dest="cert", default="~/.mitmproxy/cert.pem", help = "SSL certificate file." ) + parser.add_option( + "--ciphers", action="store", + type = "str", dest="ciphers", default=None, + help = "SSL ciphers." + ) parser.add_option( "-p", "--port", action="store", type = "int", dest="port", default=8080, @@ -54,7 +59,8 @@ if __name__ == '__main__': utils.make_bogus_cert(certpath) proxy.config = proxy.Config( - certpath + certpath, + ciphers = options.ciphers ) server = proxy.ProxyServer(options.port) m = dump.DumpMaster(server, options.verbose) -- cgit v1.2.3