Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c85d575

Browse files
committed
Merge branch 'master' of github.com:sqlmapproject/sqlmap
2 parents 34ce874 + f6b43b4 commit c85d575

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/controller/checks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,8 @@ def identifyWaf():
10501050
if not conf.identifyWaf:
10511051
return None
10521052

1053+
kb.testMode = True
1054+
10531055
infoMsg = "using WAF scripts to detect "
10541056
infoMsg += "backend WAF/IPS/IDS protection"
10551057
logger.info(infoMsg)
@@ -1089,6 +1091,8 @@ def _(*args, **kwargs):
10891091
infoMsg = "no WAF/IDS/IPS product has been identified"
10901092
logger.info(infoMsg)
10911093

1094+
kb.testMode = False
1095+
10921096
return retVal
10931097

10941098
def checkNullConnection():

0 commit comments

Comments
 (0)