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 --- mitmplayback | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mitmplayback') diff --git a/mitmplayback b/mitmplayback index ea802094..eb147cd9 100755 --- a/mitmplayback +++ b/mitmplayback @@ -36,6 +36,12 @@ if __name__ == '__main__': 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, @@ -68,7 +74,8 @@ if __name__ == '__main__': utils.make_bogus_cert(certpath) proxy.config = proxy.Config( - certpath + certpath, + ciphers = options.ciphers ) server = proxy.ProxyServer(options.port) m = playback.PlaybackMaster(server, options) -- cgit v1.2.3