mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +03:00
when in multi target mode this should be done (another bug was reported by ToR for using "old" data - kb was not properly cleared)
This commit is contained in:
parent
17f0609263
commit
a0df36beda
|
@ -25,6 +25,7 @@ from lib.core.enums import PLACE
|
|||
from lib.core.exception import sqlmapFilePathException
|
||||
from lib.core.exception import sqlmapGenericException
|
||||
from lib.core.exception import sqlmapSyntaxException
|
||||
from lib.core.option import __setKnowledgeBaseAttributes
|
||||
from lib.core.session import resumeConfKb
|
||||
from lib.core.xmldump import dumper as xmldumper
|
||||
from lib.request.connect import Connect as Request
|
||||
|
@ -252,27 +253,7 @@ def initTargetEnv():
|
|||
conf.parameters = {}
|
||||
conf.sessionFile = None
|
||||
|
||||
kb.authHeader = None
|
||||
kb.dbms = None
|
||||
kb.dbmsDetected = False
|
||||
kb.dbmsVersion = [ "Unknown" ]
|
||||
kb.dynamicMarkings = []
|
||||
kb.errorTest = None
|
||||
kb.htmlFp = []
|
||||
kb.lastErrorPage = None
|
||||
kb.injParameter = None
|
||||
kb.injPlace = None
|
||||
kb.injType = None
|
||||
kb.nullConnection = None
|
||||
kb.pageStable = None
|
||||
kb.parenthesis = None
|
||||
kb.paramMatchRatio = {}
|
||||
kb.proxyAuthHeader = None
|
||||
kb.stackedTest = None
|
||||
kb.timeTest = None
|
||||
kb.unionComment = ""
|
||||
kb.unionCount = None
|
||||
kb.unionPosition = None
|
||||
__setKnowledgeBaseAttributes()
|
||||
|
||||
def setupTargetEnv():
|
||||
__createTargetDirs()
|
||||
|
|
Loading…
Reference in New Issue
Block a user