Skip to content

Commit 70e6700

Browse files
committed
Fixes #4053
1 parent 884ee56 commit 70e6700

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/core/settings.py

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

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

sqlmap.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,11 @@ def main():
275275
logger.critical(errMsg)
276276
raise SystemExit
277277

278+
elif all(_ in excMsg for _ in ("Permission denied", "metasploit")):
279+
errMsg = "permission error occurred while using Metasploit"
280+
logger.critical(errMsg)
281+
raise SystemExit
282+
278283
elif "Read-only file system" in excMsg:
279284
errMsg = "output device is mounted as read-only"
280285
logger.critical(errMsg)

0 commit comments

Comments
 (0)