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.2.7.3 "
22+ VERSION = "1.2.7.4 "
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 @@ -273,6 +273,12 @@ def main():
273273 logger .error (errMsg )
274274 raise SystemExit
275275
276+ elif all (_ in excMsg for _ in ("scramble_caching_sha2" , "TypeError" )):
277+ errMsg = "please downgrade the 'PyMySQL' package (=< 0.8.1) "
278+ errMsg += "(Reference: https://github.com/PyMySQL/PyMySQL/issues/700)"
279+ logger .error (errMsg )
280+ raise SystemExit
281+
276282 elif "must be pinned buffer, not bytearray" in excMsg :
277283 errMsg = "error occurred at Python interpreter which "
278284 errMsg += "is fixed in 2.7.x. Please update accordingly "
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
48480c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51- 0354f951a0f4711218323e16d32aa56f lib/core/settings.py
51+ af78e555614c7e1bf89c37271831b486 lib/core/settings.py
5252dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
545495f04c1c1d8c3998d86e1bdf0e12771c lib/core/target.py
@@ -226,7 +226,7 @@ ec2ba8c757ac96425dcd2b97970edd3a shell/stagers/stager.asp_
2262260c48ddb1feb7e38a951ef05a0d48e032 shell/stagers/stager.jsp_
2272272f9e459a4cf6a58680978cdce5ff7971 shell/stagers/stager.php_
2282284eaeef94314956e4517e5310a28d579a sqlmapapi.py
229- e59b4cba325d0e5184dce300ef052728 sqlmap.py
229+ a35b5b83c12841fdf3925190c9d24299 sqlmap.py
2302301a1e3a78ded58b240c9dbb1b17996acf tamper/0x2char.py
2312314c3b8a7daa4bff52e01d4168be0eedbe tamper/apostrophemask.py
2322324115a55b8aba464723d645b7d3156b6e tamper/apostrophenullencode.py
You can’t perform that action at this time.
0 commit comments