aboutsummaryrefslogtreecommitdiffstats
path: root/mitmplayback
diff options
context:
space:
mode:
Diffstat (limited to 'mitmplayback')
-rwxr-xr-xmitmplayback9
1 files changed, 8 insertions, 1 deletions
diff --git a/mitmplayback b/mitmplayback
index ea802094..eb147cd9 100755
--- a/mitmplayback
+++ b/mitmplayback
@@ -37,6 +37,12 @@ if __name__ == '__main__':
)
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,
help = "Port."
@@ -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)