mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Adding one new smart ass warning message
This commit is contained in:
parent
1ea2f5bfe2
commit
6cb76bcf85
|
@ -986,6 +986,11 @@ def _setTamperingFunctions():
|
||||||
errMsg += "in tamper script '%s'" % tfile
|
errMsg += "in tamper script '%s'" % tfile
|
||||||
raise SqlmapGenericException(errMsg)
|
raise SqlmapGenericException(errMsg)
|
||||||
|
|
||||||
|
if kb.tamperFunctions and len(kb.tamperFunctions) > 3:
|
||||||
|
warnMsg = "using too many tamper scripts is usually not "
|
||||||
|
warnMsg += "a good idea"
|
||||||
|
logger.warning(warnMsg)
|
||||||
|
|
||||||
if resolve_priorities and priorities:
|
if resolve_priorities and priorities:
|
||||||
priorities.sort(reverse=True)
|
priorities.sort(reverse=True)
|
||||||
kb.tamperFunctions = []
|
kb.tamperFunctions = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user