mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Python stylish
This commit is contained in:
parent
cee888b613
commit
2205099a5e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user