Skip to content

Commit

Permalink
Update input_parse.py
Browse files Browse the repository at this point in the history
  • Loading branch information
winezer0 committed Jul 5, 2023
1 parent 40d8125 commit 309b6dc
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions libs/input_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ def parse_input(config_dict):
f"Default is [{config_dict[GB_DEBUG_FLAG]}]",
)

# 手动指定排除扫描的URLs文件
argument_parser.add_argument("-eu",
f"--{vars_param_name(GB_EXCLUDE_URLS)}",
default=config_dict[GB_EXCLUDE_URLS],
help=f"Specify the exclude URLs File, "
f"Default is [{config_dict[GB_EXCLUDE_URLS]}]",
)

# 开启随机UA
argument_parser.add_argument("-ru",
f"--{vars_param_name(GB_RANDOM_REQ_UA)}",
Expand Down Expand Up @@ -112,6 +104,13 @@ def parse_input(config_dict):
help=f"Shutdown Exclude Request History, "
f"Default is [{config_dict[GB_HISTORY_EXCLUDE]}]",
)
# 手动指定排除扫描的URLs文件
argument_parser.add_argument("-eu",
f"--{vars_param_name(GB_EXCLUDE_URLS)}",
default=config_dict[GB_EXCLUDE_URLS],
help=f"Specify the exclude URLs File, "
f"Default is [{config_dict[GB_EXCLUDE_URLS]}]",
)
# 关闭 URL目标可访问性判断
argument_parser.add_argument("-ua",
f"--{vars_param_name(GB_URL_ACCESS_TEST)}",
Expand Down

0 comments on commit 309b6dc

Please sign in to comment.