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

Skip to content

Commit 8bbfee7

Browse files
committed
Cleaning a leftover from be26392
1 parent be26392 commit 8bbfee7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.12"
22+
VERSION = "1.0.5.13"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

sqlmap.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ def checkEnvironment():
8181
logger.critical(errMsg)
8282
raise SystemExit
8383

84-
#if distutils.version.LooseVersion(VERSION) < distutils.version.LooseVersion("1.0"):
85-
if True:
84+
if distutils.version.LooseVersion(VERSION) < distutils.version.LooseVersion("1.0"):
8685
errMsg = "your runtime environment (e.g. PYTHONPATH) is "
8786
errMsg += "broken. Please make sure that you are not running "
8887
errMsg += "newer versions of sqlmap with runtime scripts for older "

0 commit comments

Comments
 (0)