fix for all that stable, dynamic mambo jambo :)

This commit is contained in:
Miroslav Stampar
2010-11-04 16:44:34 +00:00
parent f1f7e0bfe0
commit e1cec8c02b
5 changed files with 13 additions and 6 deletions

View File

@@ -52,6 +52,9 @@ def checkSqlInjection(place, parameter, value, parenthesis):
randStr = randomStr()
prefix = ""
postfix = ""
retVal = None
conf.matchRatio = None
if conf.prefix or conf.postfix:
if conf.prefix:
@@ -87,9 +90,12 @@ def checkSqlInjection(place, parameter, value, parenthesis):
if conf.beep:
beep()
return case.name
retVal = case.name
break
return None
kb.paramMatchRatio[(place, parameter)] = conf.matchRatio
return retVal
def heuristicCheckSqlInjection(place, parameter, value):
prefix = ""