diff options
Diffstat (limited to 'mitmrecord')
-rwxr-xr-x | mitmrecord | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -36,6 +36,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." @@ -73,7 +79,8 @@ if __name__ == '__main__': utils.make_bogus_cert(certpath) proxy.config = proxy.Config( - certpath + certpath, + ciphers = options.ciphers ) server = proxy.ProxyServer(options.port) utils.mkdir_p(options.cache) |