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

Skip to content

Commit 6f34308

Browse files
committed
Fixes #2245
1 parent 25c34c7 commit 6f34308

3 files changed

Lines changed: 4 additions & 4 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.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.10.55"
22+
VERSION = "1.0.10.56"
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)

thirdparty/magic/magic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def magic_load(cookie, filename):
199199
magic_compile.restype = c_int
200200
magic_compile.argtypes = [magic_t, c_char_p]
201201

202-
except ImportError:
202+
except (ImportError, OSError):
203203
from_file = from_buffer = lambda *args, **kwargs: "unknown"
204204

205205
MAGIC_NONE = 0x000000 # No flags

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545
5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
4646
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
4747
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48-
58de4e84eac67c1c845970f9211dd6c9 lib/core/settings.py
48+
af794f90e9c1a317e3a2873b0e10a40f lib/core/settings.py
4949
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
5050
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -334,7 +334,7 @@ d41d8cd98f00b204e9800998ecf8427e thirdparty/__init__.py
334334
e3b18f925d125bd17c7e7a7ec0b4b85f thirdparty/keepalive/__init__.py
335335
e0c6a936506bffeed53ce106ec15942d thirdparty/keepalive/keepalive.py
336336
d41d8cd98f00b204e9800998ecf8427e thirdparty/magic/__init__.py
337-
49f0d123e044dd32a452e2fe51f1a9c3 thirdparty/magic/magic.py
337+
bf318e0abbe6b2e1a167a233db7f744f thirdparty/magic/magic.py
338338
d41d8cd98f00b204e9800998ecf8427e thirdparty/multipart/__init__.py
339339
03c8abc17b228e59bcfda1f11a9137e0 thirdparty/multipart/multipartpost.py
340340
3e502b04f3849afbb7f0e13b5fd2b5c1 thirdparty/odict/__init__.py

0 commit comments

Comments
 (0)