From f5511350eb383a2d2d73c6d1ae328f6eb00f501f Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 16 Feb 2011 23:03:46 +1300 Subject: Tweaks and cleanups for mitmdump. --- mitmdump | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mitmdump') 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() -- cgit v1.2.3