From 560e0fcb255e7b1ec2523a0bf737bf770fc68649 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 25 Sep 2012 14:21:57 +0200 Subject: [PATCH] Minor cleanup --- lib/techniques/dns/use.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/techniques/dns/use.py b/lib/techniques/dns/use.py index 544d07651..351ffc8c6 100644 --- a/lib/techniques/dns/use.py +++ b/lib/techniques/dns/use.py @@ -73,7 +73,7 @@ def dnsUse(payload, expression): if Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.PGSQL): comment = queries[Backend.getIdentifiedDbms()].comment.query query = agent.prefixQuery("; %s" % expressionUnescaped) - query = agent.suffixQuery("%s;%s" % (query, comment)) + query = agent.suffixQuery(query, comment) forgedPayload = agent.payload(newValue=query) else: forgedPayload = safeStringFormat(payload, (expressionUnescaped, randomInt(1), randomInt(3)))