From 2e95fdb52dca64082f2c71a7c3580be723821519 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 13 Jun 2016 14:50:44 +0200 Subject: [PATCH] Fixes #1947 --- lib/core/settings.py | 2 +- sqlmap.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 271568e0c..73b4894f5 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.33" +VERSION = "1.0.6.36" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/sqlmap.py b/sqlmap.py index e1eb31c52..131d7c6a4 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -199,6 +199,11 @@ def main(): logger.error(errMsg) raise SystemExit + elif "Read-only file system" in excMsg: + errMsg = "output device is mounted as read-only" + logger.error(errMsg) + raise SystemExit + elif "_mkstemp_inner" in excMsg: errMsg = "there has been a problem while accessing temporary files" logger.error(errMsg)