diff --git a/README.md b/README.md index 6381f05..807cc01 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ Python2 users ## Change Log +* [2022-05-06] + * 修复version check bug * [2020-10-29] * 增加支持强制扫描泛解析的域名,需要加 `-w` 参数 * [2020-10-26] diff --git a/subDomainsBrute.py b/subDomainsBrute.py index c248821..110dffb 100644 --- a/subDomainsBrute.py +++ b/subDomainsBrute.py @@ -18,7 +18,7 @@ from lib.cmdline import parse_args -if sys.version.split()[0] >= '3.5': +if sys.version_info.major >= 3 and sys.version_info.minor >= 5: from lib.scanner_py3 import SubNameBrute from lib.common_py3 import load_dns_servers, load_next_sub, print_msg, get_out_file_name, \ user_abort, wildcard_test, get_sub_file_path