mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Code cleanup
This commit is contained in:
parent
08f7e20c51
commit
1cfd6a6b9d
|
@ -1950,10 +1950,12 @@ def initTechnique(technique=None):
|
|||
conf.textOnly = True
|
||||
debugMsg = "restoring switch --text-only"
|
||||
logger.debug(debugMsg)
|
||||
|
||||
if kb.injection.conf.string:
|
||||
conf.string = kb.injection.conf.string
|
||||
debugMsg = "restoring option --string '%s'" % conf.string
|
||||
logger.debug(debugMsg)
|
||||
|
||||
if kb.injection.conf.regexp:
|
||||
conf.regexp = kb.injection.conf.regexp
|
||||
debugMsg = "restoring option --regexp '%s'" % conf.regexp
|
||||
|
|
|
@ -73,11 +73,11 @@ class injectionDict(advancedDict):
|
|||
self.suffix = None
|
||||
self.clause = None
|
||||
|
||||
# data is a dict with stype as key and a tuple as value with
|
||||
# title, where, comment and reqPayload
|
||||
# data is a dict with various stype, each which is a dict with
|
||||
# all the information specific for that stype
|
||||
self.data = advancedDict()
|
||||
|
||||
# conf is a dict with stores current snapshot of important
|
||||
# conf is a dict which stores current snapshot of important
|
||||
# options used during detection
|
||||
self.conf = advancedDict()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user