aboutsummaryrefslogtreecommitdiffstats
path: root/mitmdump
diff options
context:
space:
mode:
Diffstat (limited to 'mitmdump')
-rwxr-xr-xmitmdump8
1 files changed, 7 insertions, 1 deletions
diff --git a/mitmdump b/mitmdump
index f3e8ae0a..26686afd 100755
--- a/mitmdump
+++ b/mitmdump
@@ -32,6 +32,11 @@ 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,
help = "Port."
@@ -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)