diff --git a/lib/core/settings.py b/lib/core/settings.py index f622c62d4..92296dfad 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.7.1" +VERSION = "1.0.7.2" 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 3cb943f48..d31e015dd 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -201,7 +201,7 @@ def main(): logger.error(errMsg) raise SystemExit - elif all(_ in excMsg for _ in ("No such file", "_'")): + elif all(_ in excMsg for _ in ("No such file", "_'", "self.get_prog_name()")): errMsg = "corrupted installation detected ('%s'). " % excMsg.strip().split('\n')[-1] errMsg += "You should retrieve the latest development version from official GitHub " errMsg += "repository at '%s'" % GIT_PAGE