From f337cd6e0acec76dba3ed8e6b26c5d14bdc8a3c9 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 16 Jan 2010 21:46:35 +0000 Subject: [PATCH] Minor speedup to check if sqlmap's UDF have already been created --- lib/takeover/udf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/takeover/udf.py b/lib/takeover/udf.py index 93906c9ee..2bf76e521 100644 --- a/lib/takeover/udf.py +++ b/lib/takeover/udf.py @@ -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