aboutsummaryrefslogtreecommitdiffstats
path: root/mitmrecord
diff options
context:
space:
mode:
Diffstat (limited to 'mitmrecord')
-rwxr-xr-xmitmrecord9
1 files changed, 8 insertions, 1 deletions
diff --git a/mitmrecord b/mitmrecord
index 1fcfde4a..11c7b6ca 100755
--- a/mitmrecord
+++ b/mitmrecord
@@ -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)