File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1329,7 +1329,7 @@ def _(*args, **kwargs):
13291329 kb .redirectChoice = popValue ()
13301330 return page or "" , headers or {}, code
13311331
1332- retVal = False
1332+ retVal = []
13331333
13341334 for function , product in kb .wafFunctions :
13351335 try :
@@ -1343,18 +1343,20 @@ def _(*args, **kwargs):
13431343 found = False
13441344
13451345 if found :
1346- retVal = product
1347- break
1346+ errMsg = "WAF/IDS/IPS identified as '%s'" % product
1347+ logger . critical ( errMsg )
13481348
1349- if retVal :
1350- errMsg = "WAF/IDS/IPS identified as '%s'. Please " % retVal
1351- errMsg += "consider usage of tamper scripts (option '--tamper')"
1352- logger .critical (errMsg )
1349+ retVal .append (product )
13531350
1351+ if retVal :
13541352 message = "are you sure that you want to "
13551353 message += "continue with further target testing? [y/N] "
13561354 output = readInput (message , default = "N" )
13571355
1356+ if not conf .tamper :
1357+ warnMsg = "please consider usage of tamper scripts (option '--tamper')"
1358+ singleTimeWarnMessage (warnMsg )
1359+
13581360 if output and output [0 ] not in ("Y" , "y" ):
13591361 raise SqlmapUserQuitException
13601362 else :
Original file line number Diff line number Diff line change 1919from lib .core .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.9.39 "
22+ VERSION = "1.0.9.40 "
2323REVISION = getRevisionNumber ()
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ b46521e29ea3d813bab5aeb16cac6498 extra/shutils/duplicates.py
2020cc9c82cfffd8ee9b25ba3af6284f057e extra/sqlharvest/__init__.py
21214f2f817596540d82f9fcc0c5b2228beb extra/sqlharvest/sqlharvest.py
22222daa39e4d59526acb4772b6c47eb315f lib/controller/action.py
23- 1caf7c1bad475d3e1276edffc6da8a8c lib/controller/checks.py
23+ 66cddf7f40c002d663d4401a440ec1aa lib/controller/checks.py
24247c5ba631796f12d6de9b667e4cc7812b lib/controller/controller.py
25250a64305c3b3a01a2fc3a5e6204f442f1 lib/controller/handler.py
2626cc9c82cfffd8ee9b25ba3af6284f057e lib/controller/__init__.py
@@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
45455ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- 25daaeb7b15df46b1d9abccc49719654 lib/core/settings.py
48+ beddfa335e49041ded23235064af09de lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
51510bc2fae1dec18cdd11954b22358293f2 lib/core/target.py
You can’t perform that action at this time.
0 commit comments