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

Skip to content

Commit fae97b3

Browse files
committed
Another patch for #3164
1 parent c094784 commit fae97b3

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/core/option.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,15 +1420,15 @@ def _createTemporaryDirectory():
14201420
if "sqlmap" not in (tempfile.tempdir or "") or conf.tmpDir and tempfile.tempdir == conf.tmpDir:
14211421
try:
14221422
tempfile.tempdir = tempfile.mkdtemp(prefix="sqlmap", suffix=str(os.getpid()))
1423-
except (OSError, IOError, WindowsError):
1423+
except:
14241424
tempfile.tempdir = os.path.join(paths.SQLMAP_HOME_PATH, "tmp", "sqlmap%s%d" % (randomStr(6), os.getpid()))
14251425

14261426
kb.tempDir = tempfile.tempdir
14271427

14281428
if not os.path.isdir(tempfile.tempdir):
14291429
try:
14301430
os.makedirs(tempfile.tempdir)
1431-
except (OSError, IOError, WindowsError), ex:
1431+
except Exception, ex:
14321432
errMsg = "there has been a problem while setting "
14331433
errMsg += "temporary directory location ('%s')" % getSafeExString(ex)
14341434
raise SqlmapSystemException(errMsg)

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.enums import OS
2020

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

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ cada93357a7321655927fc9625b3bfec lib/core/exception.py
4141
1e5532ede194ac9c083891c2f02bca93 lib/core/__init__.py
4242
458a194764805cd8312c14ecd4be4d1e lib/core/log.py
4343
13c0a490b5a928b64236b4a15e578267 lib/core/optiondict.py
44-
ddb06c1293bede33d9f062b64a67f953 lib/core/option.py
44+
c82dee0f62e729213b92f5ec85f74b70 lib/core/option.py
4545
c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4646
6783160150b4711d02c56ee2beadffdb lib/core/profiling.py
4747
6f654e1715571eff68a0f8af3d62dcf8 lib/core/readlineng.py
4848
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51-
56bf00aeba166450dff4161d11755e8b lib/core/settings.py
51+
cf3cd30872fdf466ebad56e425c72376 lib/core/settings.py
5252
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5454
95f04c1c1d8c3998d86e1bdf0e12771c lib/core/target.py

0 commit comments

Comments
 (0)