aboutsummaryrefslogtreecommitdiffstats
path: root/mitmdump
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-02-16 23:03:46 +1300
committerAldo Cortesi <aldo@nullcube.com>2011-02-16 23:03:46 +1300
commitf5511350eb383a2d2d73c6d1ae328f6eb00f501f (patch)
tree777d1be8a1e83897637b05877bc8fdd850abfc1f /mitmdump
parent8a9f20b78cf1ae51d4c10cd892500c252aef2ca3 (diff)
downloadmitmproxy-f5511350eb383a2d2d73c6d1ae328f6eb00f501f.tar.gz
mitmproxy-f5511350eb383a2d2d73c6d1ae328f6eb00f501f.tar.bz2
mitmproxy-f5511350eb383a2d2d73c6d1ae328f6eb00f501f.zip
Tweaks and cleanups for mitmdump.
Diffstat (limited to 'mitmdump')
-rwxr-xr-xmitmdump7
1 files changed, 6 insertions, 1 deletions
diff --git a/mitmdump b/mitmdump
index 11b71568..c0ed7dfe 100755
--- a/mitmdump
+++ b/mitmdump
@@ -76,7 +76,12 @@ if __name__ == '__main__':
ciphers = options.ciphers
)
server = proxy.ProxyServer(options.port)
- m = dump.DumpMaster(server, options.verbose)
+
+ dumpopts = dump.Options(
+ verbosity = options.verbose
+ )
+ m = dump.DumpMaster(server, dumpopts)
+
if options.verbose > 0:
print >> sys.stderr, "Running on port %s"%options.port
m.run()