Merge pull request #3938 from sarthak212/filtermessage

Add Filter message to mitmdump
This commit is contained in:
Maximilian Hils 2020-04-16 14:19:59 +02:00 committed by GitHub
commit d77c2d5e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,8 @@ def run(
master.commands.dump()
sys.exit(0)
if extra:
if(args.filter_args):
master.log.info(f"Only processing flows that match \"{' & '.join(args.filter_args)}\"")
opts.update(**extra(args))
loop = asyncio.get_event_loop()