mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
some refactoring
This commit is contained in:
parent
36999a07c4
commit
5852bad963
4 changed files with 16 additions and 12 deletions
|
|
@ -1118,7 +1118,6 @@ def __setConfAttributes():
|
|||
conf.sessionFP = None
|
||||
conf.start = True
|
||||
conf.tests = []
|
||||
conf.threadContinue = True
|
||||
conf.threadException = False
|
||||
conf.trafficFP = None
|
||||
conf.wFileType = None
|
||||
|
|
@ -1198,11 +1197,12 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
|||
kb.technique = None
|
||||
kb.testMode = False
|
||||
kb.testQueryCount = 0
|
||||
kb.threadContinue = True
|
||||
kb.unionComment = ""
|
||||
kb.unionCount = None
|
||||
kb.unionPosition = None
|
||||
kb.unionNegative = False
|
||||
kb.valueStack = []
|
||||
kb.valueStack = {}
|
||||
|
||||
if flushAll:
|
||||
kb.keywords = set(getFileItems(paths.SQL_KEYWORDS))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue