Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
Make --all default
Browse files Browse the repository at this point in the history
-a/--all makes the mitm attack connections from clients and non-clients.
This mode is what most testing setups will be using so make it default.

Added --bridge and moved -b from block to bridge. Setting --bridge makes
nogotofail.mitm bridge traffic from hosts without a client, like before
without the --all flag set.

Resolves #22
  • Loading branch information
chadbrubaker committed Nov 14, 2014
1 parent f9aaf15 commit b7be701
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nogotofail/mitm/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ def parse_args():
"-d", "--debug", help="Print debug output", action="store_true",
default=False)
parser.add_argument(
"-a", "--all", help="MITM all clients", action="store_true",
default=False)
"-b", "--bridge", help="Bridge connections from hosts without a client",
action="store_false", default=True, dest="all")
parser.add_argument(
"-l", "--logfile", help="Log output file", action="store")
parser.add_argument(
Expand Down Expand Up @@ -211,7 +211,7 @@ def parse_args():
"--serverssl", help="Run the app blame server with SSL using PEMFILE",
metavar="PEMFILE", action="store")
parser.add_argument(
"-b", "--block", help="Block connections with unknown blame info",
"--block", help="Block connections with unknown blame info",
action="store_true", default=False)
parser.add_argument(
"--mode", help="Traffic capture mode. Options are " + ", ".join(modes.keys()),
Expand Down

0 comments on commit b7be701

Please sign in to comment.