Add a space after a comment

This commit is contained in:
Bernardo Damele 2012-04-04 12:48:21 +00:00
parent 025c531d22
commit a1d97e9d7b

View File

@ -77,7 +77,7 @@ def dnsUse(payload, expression):
if Backend.isDbms(DBMS.MSSQL): if Backend.isDbms(DBMS.MSSQL):
comment = queries[Backend.getIdentifiedDbms()].comment.query comment = queries[Backend.getIdentifiedDbms()].comment.query
query = agent.prefixQuery("; %s" % expressionUnescaped) query = agent.prefixQuery("; %s" % expressionUnescaped)
query = agent.suffixQuery("%s;%s" % (query, comment)) query = agent.suffixQuery("%s;%s " % (query, comment))
forgedPayload = agent.payload(newValue=query) forgedPayload = agent.payload(newValue=query)
else: else:
forgedPayload = safeStringFormat(payload, (expressionUnescaped, randomInt(1), randomInt(3))) forgedPayload = safeStringFormat(payload, (expressionUnescaped, randomInt(1), randomInt(3)))