From 2df321e71bb4f7bd240d889b05467e5ce13012f6 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 27 Jan 2014 14:37:29 +1300 Subject: Use the mitm.it domain for the app, turn it on by default. --- libmproxy/cmdline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmproxy/cmdline.py') diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index e221a872..8e7ab4a1 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -2,7 +2,7 @@ import proxy import re, filt import argparse -APP_HOST = "mitm" +APP_HOST = "mitm.it" APP_PORT = 80 class ParseException(Exception): pass @@ -263,8 +263,8 @@ def common_options(parser): group = parser.add_argument_group("Web App") group.add_argument( "-a", - action="store_true", dest="app", default=False, - help="Enable the mitmproxy web app." + action="store_false", dest="app", default=True, + help="Disable the mitmproxy web app." ) group.add_argument( "--app-host", -- cgit v1.2.3