File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from 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 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff 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
205205MAGIC_NONE = 0x000000 # No flags
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
45455ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- 58de4e84eac67c1c845970f9211dd6c9 lib/core/settings.py
48+ af794f90e9c1a317e3a2873b0e10a40f lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -334,7 +334,7 @@ d41d8cd98f00b204e9800998ecf8427e thirdparty/__init__.py
334334e3b18f925d125bd17c7e7a7ec0b4b85f thirdparty/keepalive/__init__.py
335335e0c6a936506bffeed53ce106ec15942d thirdparty/keepalive/keepalive.py
336336d41d8cd98f00b204e9800998ecf8427e thirdparty/magic/__init__.py
337- 49f0d123e044dd32a452e2fe51f1a9c3 thirdparty/magic/magic.py
337+ bf318e0abbe6b2e1a167a233db7f744f thirdparty/magic/magic.py
338338d41d8cd98f00b204e9800998ecf8427e thirdparty/multipart/__init__.py
33933903c8abc17b228e59bcfda1f11a9137e0 thirdparty/multipart/multipartpost.py
3403403e502b04f3849afbb7f0e13b5fd2b5c1 thirdparty/odict/__init__.py
You can’t perform that action at this time.
0 commit comments