mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Bug fix for --union-test
This commit is contained in:
parent
072835e04b
commit
126a1479d8
2 changed files with 9 additions and 4 deletions
|
|
@ -129,6 +129,9 @@ def unionTest():
|
|||
if kb.unionTest is not None:
|
||||
return kb.unionTest
|
||||
|
||||
oldTechnique = kb.technique
|
||||
kb.technique = 3
|
||||
|
||||
if conf.uChar == "NULL":
|
||||
technique = "NULL bruteforcing"
|
||||
else:
|
||||
|
|
@ -157,5 +160,6 @@ def unionTest():
|
|||
infoMsg += "inband sql injection vulnerability "
|
||||
infoMsg += "on parameter '%s'" % kb.injection.parameter
|
||||
logger.info(infoMsg)
|
||||
kb.technique = oldTechnique
|
||||
|
||||
return kb.unionTest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue