Update for Issue #55 (falling back to SELECT DB_NAME(N))

This commit is contained in:
Miroslav Stampar
2012-07-03 20:15:17 +02:00
parent bbf41f6658
commit 27fdccc858
3 changed files with 23 additions and 3 deletions

View File

@@ -36,9 +36,9 @@ class Enumeration(GenericEnumeration):
query = rootQuery.inband.query
if any(isTechniqueAvailable(_) for _ in (PAYLOAD.TECHNIQUE.UNION, PAYLOAD.TECHNIQUE.ERROR)) or conf.direct:
blinds = [False, True]
blinds = (False, True)
else:
blinds = [True]
blinds = (True,)
for blind in blinds:
retVal = self.__pivotDumpTable("(%s) AS %s" % (query, randStr), ['%s.name' % randStr], blind=blind)