mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Minor speedup to check if sqlmap's UDF have already been created
This commit is contained in:
parent
6d697d60b2
commit
f337cd6e0a
|
@ -64,7 +64,7 @@ class UDF:
|
||||||
logger.info("checking if UDF '%s' already exist" % udf)
|
logger.info("checking if UDF '%s' already exist" % udf)
|
||||||
|
|
||||||
query = agent.forgeCaseStatement(queries[kb.dbms].checkUdf % (udf, 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":
|
if exists == "1":
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user