mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Code cleanup
This commit is contained in:
parent
08f7e20c51
commit
1cfd6a6b9d
2 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue