mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
添加搜索退出判断
This commit is contained in:
@@ -26,6 +26,8 @@ class ShodanAPI(Search):
|
||||
if not resp:
|
||||
return
|
||||
subdomain_find = self.match(self.domain, resp.text)
|
||||
if not subdomain_find: # 搜索没有发现子域名则停止搜索
|
||||
break
|
||||
if subdomain_find:
|
||||
self.subdomains = self.subdomains.union(subdomain_find)
|
||||
page += 1
|
||||
|
||||
Reference in New Issue
Block a user