Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2937723

Browse files
committed
Fixes #4751
1 parent 2679c65 commit 2937723

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.5.7.8"
23+
VERSION = "1.5.7.9"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

plugins/generic/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def cleanup(self, onlyFileTbl=False, udfDict=None, web=False):
158158
udfDict = {"master..new_xp_cmdshell": {}}
159159

160160
if udfDict is None:
161-
udfDict = self.sysUdfs
161+
udfDict = getattr(self, "sysUdfs", {})
162162

163163
for udf, inpRet in udfDict.items():
164164
message = "do you want to remove UDF '%s'? [Y/n] " % udf

0 commit comments

Comments
 (0)