This commit is contained in:
Bernardo Damele 2012-04-04 13:02:50 +00:00
parent a4b95ab7dd
commit 52796bb4da

View File

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