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

Skip to content

Commit de9f239

Browse files
committed
Major bug fix in WAF/IDS/IPS detection (question 'do you want..to try to detect backend WAF/IPS/IDS' never worked)
1 parent 154ed2c commit de9f239

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,9 @@ def identifyWaf():
12481248
if not conf.identifyWaf:
12491249
return None
12501250

1251+
if not kb.wafFunctions:
1252+
setWafFunctions()
1253+
12511254
kb.testMode = True
12521255

12531256
infoMsg = "using WAF scripts to detect "
@@ -1424,3 +1427,6 @@ def checkConnection(suppressOutput=False):
14241427

14251428
def setVerbosity(): # Cross-linked function
14261429
raise NotImplementedError
1430+
1431+
def setWafFunctions(): # Cross-linked function
1432+
raise NotImplementedError

lib/core/option.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2545,6 +2545,7 @@ def _resolveCrossReferences():
25452545
lib.request.connect.setHTTPHandlers = _setHTTPHandlers
25462546
lib.utils.search.setHTTPHandlers = _setHTTPHandlers
25472547
lib.controller.checks.setVerbosity = setVerbosity
2548+
lib.controller.checks.setWafFunctions = _setWafFunctions
25482549

25492550
def initOptions(inputOptions=AttribDict(), overrideOptions=False):
25502551
_setConfAttributes()

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.86"
22+
VERSION = "1.0.5.87"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)