mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor update
This commit is contained in:
parent
25f0ec3597
commit
1c3f4e9e54
|
@ -270,10 +270,17 @@ def __unionTestByCharBruteforce(comment, place, parameter, value, prefix, suffix
|
||||||
|
|
||||||
validPayload, vector = __unionConfirm(comment, place, parameter, value, prefix, suffix, count)
|
validPayload, vector = __unionConfirm(comment, place, parameter, value, prefix, suffix, count)
|
||||||
|
|
||||||
if not all([validPayload, vector]) and not conf.uChar:
|
if not all([validPayload, vector]) and not all([conf.uChar, conf.dbms]):
|
||||||
warnMsg = "if UNION based SQL injection is not detected, "
|
warnMsg = "if UNION based SQL injection is not detected, "
|
||||||
warnMsg += "please consider providing --union-char switch "
|
warnMsg += "please consider "
|
||||||
warnMsg += "(e.g. --union-char=1) and/or try to force the "
|
if not conf.uChar:
|
||||||
|
warnMsg += "providing --union-char switch "
|
||||||
|
warnMsg += "(e.g. --union-char=1)"
|
||||||
|
if not conf.dbms:
|
||||||
|
if not conf.uChar:
|
||||||
|
warnMsg += "and/or try to force the "
|
||||||
|
else:
|
||||||
|
warnMsg += "forcing the "
|
||||||
warnMsg += "back-end DBMS (e.g. --dbms=mysql) "
|
warnMsg += "back-end DBMS (e.g. --dbms=mysql) "
|
||||||
singleTimeWarnMessage(warnMsg)
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user