Python stylish

This commit is contained in:
Bernardo Damele 2010-11-09 21:39:05 +00:00
parent cee888b613
commit 2205099a5e

View File

@ -76,12 +76,12 @@ def checkSqlInjection(place, parameter, value, parenthesis):
payload = agent.payload(place, parameter, value, positive.format % eval(positive.params))
trueResult = Request.queryPage(payload, place)
if trueResult == True:
if trueResult is True:
payload = agent.payload(place, parameter, value, negative.format % eval(negative.params))
falseResult = Request.queryPage(payload, place)
if falseResult == False:
if falseResult is False:
infoMsg = "%s parameter '%s' is %s (%s) injectable " % (place, parameter, case.desc, logic)
infoMsg += "with %d parenthesis" % parenthesis
logger.info(infoMsg)