Proper fix for --technique=U bug

This commit is contained in:
Bernardo Damele
2011-05-01 23:42:41 +00:00
parent 8e8886cd20
commit ac2550535c
2 changed files with 11 additions and 3 deletions

View File

@@ -450,7 +450,7 @@ class Agent:
else:
return query
if Backend.getIdentifiedDbms() == DBMS.MYSQL:
if Backend.isDbms(DBMS.MYSQL):
if fieldsExists:
concatenatedQuery = concatenatedQuery.replace("SELECT ", "CONCAT('%s'," % kb.misc.start, 1)
concatenatedQuery += ",'%s')" % kb.misc.stop