mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
typos
This commit is contained in:
+7
-4
@@ -38,7 +38,7 @@ OneForAll is a powerful subdomain collection tool{yellow}
|
|||||||
| . | | -_| _| . | _| .'| | | {blue}
|
| . | | -_| _| . | _| .'| | | {blue}
|
||||||
|___|_|_|___|_| |___|_| |__,|_|_| {white}git.io/fjHT1
|
|___|_|_|___|_| |___|_| |__,|_|_| {white}git.io/fjHT1
|
||||||
|
|
||||||
{red}OneForAll is under development and make a lot of iteration, update every time before use please!{end}
|
{red}OneForAll is under development, please update before each use!{end}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@@ -154,8 +154,10 @@ class OneForAll(object):
|
|||||||
now_data = db.get_data(self.domain).as_dict()
|
now_data = db.get_data(self.domain).as_dict()
|
||||||
# Database pre-processing when it is not the first time to collect this subdomain
|
# Database pre-processing when it is not the first time to collect this subdomain
|
||||||
if db.exist_table(self.new_table):
|
if db.exist_table(self.new_table):
|
||||||
db.drop_table(self.old_table) # If there is the last collection result table, delete it first
|
# If there is the last collection result table, delete it first
|
||||||
db.rename_table(self.new_table, self.old_table) # Rename the new table to the old table
|
db.drop_table(self.old_table)
|
||||||
|
# Rename the new table to the old table
|
||||||
|
db.rename_table(self.new_table, self.old_table)
|
||||||
old_data = db.get_data(self.old_table).as_dict()
|
old_data = db.get_data(self.old_table).as_dict()
|
||||||
db.close()
|
db.close()
|
||||||
marked_data = utils.mark_subdomain(old_data, now_data)
|
marked_data = utils.mark_subdomain(old_data, now_data)
|
||||||
@@ -176,7 +178,8 @@ class OneForAll(object):
|
|||||||
collect = Collect(self.domain, export=False)
|
collect = Collect(self.domain, export=False)
|
||||||
collect.run()
|
collect.run()
|
||||||
if self.brute:
|
if self.brute:
|
||||||
# Due to there will be a large number of dns resolution requests, may cause other network tasks to be error
|
# Due to there will be a large number of dns resolution requests,
|
||||||
|
# may cause other network tasks to be error
|
||||||
brute = Brute(self.domain, word=True, export=False)
|
brute = Brute(self.domain, word=True, export=False)
|
||||||
brute.check_env = False
|
brute.check_env = False
|
||||||
brute.quite = True
|
brute.quite = True
|
||||||
|
|||||||
Reference in New Issue
Block a user