mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
修复批量读取目标问题
This commit is contained in:
+1
-2
@@ -137,8 +137,7 @@ def get_domains(target):
|
||||
elif isinstance(target, str):
|
||||
path = Path(target)
|
||||
if path.exists() and path.is_file():
|
||||
results = read_target(target)
|
||||
domains = domains.extend(results)
|
||||
domains = read_target(target)
|
||||
else:
|
||||
target = target.lower().strip()
|
||||
domain = Domain(target).match()
|
||||
|
||||
Reference in New Issue
Block a user