mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-20 14:40:36 +00:00
Minor patch
This commit is contained in:
parent
7e565051bd
commit
74b5ffd4dc
4 changed files with 10 additions and 10 deletions
|
|
@ -231,8 +231,8 @@ class UDF(object):
|
|||
errMsg += "but the database underlying operating system is Linux"
|
||||
raise SqlmapMissingMandatoryOptionException(errMsg)
|
||||
|
||||
self.udfSharedLibName = os.path.basename(self.udfLocalFile).split(".")[0]
|
||||
self.udfSharedLibExt = os.path.basename(self.udfLocalFile).split(".")[1]
|
||||
self.udfSharedLibName = os.path.splitext(os.path.basename(self.udfLocalFile))[0]
|
||||
self.udfSharedLibExt = os.path.splitext(self.udfLocalFile)[1][1:]
|
||||
|
||||
msg = "how many user-defined functions do you want to create "
|
||||
msg += "from the shared library? "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue