diff options
Diffstat (limited to 'mitmdump')
-rwxr-xr-x | mitmdump | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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) |