diff --git a/Mac/laZagne.py b/Mac/laZagne.py index 243ec308..1934ce13 100755 --- a/Mac/laZagne.py +++ b/Mac/laZagne.py @@ -200,21 +200,24 @@ def runLaZagne(category_selected='all', subcategories={}, password=None, interac # ------------------------------------------- Parse arguments ------------------------------------------- - # By default, launch all modules - if len(sys.argv) == 1: - args = { - 'verbose': 0, - 'quiet': False, - 'password': None, - 'write_normal': None, - 'write_json': None, - 'write_all': None, - 'output': '.', - 'auditType': 'all' - } - else: - args = dict(parser.parse_args()._get_kwargs()) - # arguments = parser.parse_args() + # # By default, launch all modules + # if len(sys.argv) == 1: + # args = { + # 'verbose': 0, + # 'quiet': False, + # 'password': None, + # 'write_normal': None, + # 'write_json': None, + # 'write_all': None, + # 'output': '.', + # 'auditType': 'all' + # } + # else: + # args = dict(parser.parse_args()._get_kwargs()) + # # arguments = parser.parse_args() + + args = dict(parser.parse_args()._get_kwargs()) + arguments = parser.parse_args() # Define constant variables output(