From b04a25fb131670a6cac2117db5e2f1a83146c55b Mon Sep 17 00:00:00 2001 From: lijiejie Date: Fri, 6 May 2022 17:11:14 +0800 Subject: [PATCH] version check bug fix --- README.md | 2 ++ subDomainsBrute.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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