diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-16 23:03:46 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-16 23:03:46 +1300 |
commit | f5511350eb383a2d2d73c6d1ae328f6eb00f501f (patch) | |
tree | 777d1be8a1e83897637b05877bc8fdd850abfc1f /mitmdump | |
parent | 8a9f20b78cf1ae51d4c10cd892500c252aef2ca3 (diff) | |
download | mitmproxy-f5511350eb383a2d2d73c6d1ae328f6eb00f501f.tar.gz mitmproxy-f5511350eb383a2d2d73c6d1ae328f6eb00f501f.tar.bz2 mitmproxy-f5511350eb383a2d2d73c6d1ae328f6eb00f501f.zip |
Tweaks and cleanups for mitmdump.
Diffstat (limited to 'mitmdump')
-rwxr-xr-x | mitmdump | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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() |