mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-10 17:49:34 -10:00
more info to the user
This commit is contained in:
1 parent
8c80413c52
commit
0a620bf322
1 file changed
+6
@@ -501,6 +501,12 @@ def checkSqlInjection(place, parameter, value):
|
||||
|
||||
# Return the injection object
|
||||
if injection.place is not None and injection.parameter is not None:
|
||||
if not conf.dropSetCookie and PAYLOAD.TECHNIQUE.BOOLEAN in injection.data and injection.data[PAYLOAD.TECHNIQUE.BOOLEAN].vector.startswith('OR'):
|
||||
warnMsg = "in cases like this (OR boolean) please consider usage "
|
||||
warnMsg += "of switch --drop-set-cookie if you experience any "
|
||||
warnMsg += "problems during data retrieval"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
injection = checkFalsePositives(injection)
|
||||
return injection
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user