Minor speedup to check if sqlmap's UDF have already been created

This commit is contained in:
Bernardo Damele 2010-01-16 21:46:35 +00:00
parent 6d697d60b2
commit f337cd6e0a

View File

@ -64,7 +64,7 @@ class UDF:
logger.info("checking if UDF '%s' already exist" % udf)
query = agent.forgeCaseStatement(queries[kb.dbms].checkUdf % (udf, udf))
exists = inject.getValue(query, resumeValue=False, unpack=False)
exists = inject.getValue(query, resumeValue=False, unpack=False, charsetType=2)
if exists == "1":
return True