Skip to content

Commit

Permalink
Update DynaScan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
winezer0 committed Jun 29, 2023
1 parent 343b135 commit 2233fab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions DynaScan.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@
from libs.input_const import *
from libs.lib_requests.check_protocol import check_host_list_proto, check_url_list_access
from libs.parse_input import parse_input, args_dict_handle, config_dict_add_args, config_dict_handle, show_config_dict

# 读取用户输入的URL和目标文件参数
from libs.util_func import analysis_ends_url, exclude_history_urls, url_to_raw_rule_classify


# 读取用户输入的URL和目标文件参数
def init_target(config_dict):
# 读取用户输入的URL和目标文件参数
input_target = config_dict[GB_TARGET]
Expand Down Expand Up @@ -228,7 +227,7 @@ def dyna_scan_controller(target_urls, paths_dict, config_dict):

# URL列表限额
if config_dict[GB_MAX_URL_NUM] and isinstance(config_dict[GB_MAX_URL_NUM], int):
new_url_list = new_url_list[:config_dict[GB_MAX_URL_NUM]]
current_url_list = current_url_list[:config_dict[GB_MAX_URL_NUM]]

# 历史记录文件路径 基于主机HOST动态生成
curr_host_port_no_symbol = f"{get_url_scheme(target_url)}_{get_host_port(target_url, True)}"
Expand Down

0 comments on commit 2233fab

Please sign in to comment.