minor fix

This commit is contained in:
Miroslav Stampar 2012-02-10 15:59:11 +00:00
parent 6be95194a7
commit 249cb48b0b

View File

@ -138,7 +138,7 @@ def __formatInjection(inj):
title = title.replace("columns", "column")
data += " Type: %s\n" % PAYLOAD.SQLINJECTION[stype]
data += " Title: %s\n" % title
data += " Payload: %s\n" % (sdata.payload if stype != PAYLOAD.TECHNIQUE.TIME else sdata.payload.replace("[SLEEPTIME]", str(conf.timeSec)))
data += " Payload: %s\n" % (sdata.payload if stype not in (PAYLOAD.TECHNIQUE.TIME, PAYLOAD.TECHNIQUE.STACKED) else sdata.payload.replace("[SLEEPTIME]", str(conf.timeSec)))
data += " Vector: %s\n\n" % vector if conf.verbose > 1 else "\n"
return data