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

Skip to content

Commit c634f0b

Browse files
committed
Patch related to the #3041
1 parent 8605c49 commit c634f0b

3 files changed

Lines changed: 11 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.2.4.11"
22+
VERSION = "1.2.4.12"
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)

sqlmap.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,18 @@ def main():
265265
raise SystemExit
266266

267267
elif all(_ in excMsg for _ in ("twophase", "sqlalchemy")):
268-
errMsg = "please update the 'sqlalchemy' package"
268+
errMsg = "please update the 'sqlalchemy' package "
269269
errMsg += "(Reference: https://github.com/apache/incubator-superset/issues/3447)"
270270
logger.error(errMsg)
271271
raise SystemExit
272272

273+
elif "must be pinned buffer, not bytearray" in excMsg:
274+
errMsg = "error occurred at Python interpreter which "
275+
errMsg += "is fixed in 2.7.x. Please update accordingly "
276+
errMsg += "(Reference: https://bugs.python.org/issue8104)"
277+
logger.error(errMsg)
278+
raise SystemExit
279+
273280
elif "can't start new thread" in excMsg:
274281
errMsg = "there has been a problem while creating new thread instance. "
275282
errMsg += "Please make sure that you are not running too many processes"

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py
4646
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49-
4130d34ca6a37e8944dfdf0b94643235 lib/core/settings.py
49+
16bc4ff0ccd5121f1b90016b5d759ef6 lib/core/settings.py
5050
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5151
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5252
a35efa7bec9f1e6cedf17c9830a79241 lib/core/target.py
@@ -224,7 +224,7 @@ ec2ba8c757ac96425dcd2b97970edd3a shell/stagers/stager.asp_
224224
0c48ddb1feb7e38a951ef05a0d48e032 shell/stagers/stager.jsp_
225225
2f9e459a4cf6a58680978cdce5ff7971 shell/stagers/stager.php_
226226
4eaeef94314956e4517e5310a28d579a sqlmapapi.py
227-
ecbd0edbb6ea4cb6e1277ceb294d7819 sqlmap.py
227+
5d1d27e7237584c4499ee9a3e698e384 sqlmap.py
228228
4c3b8a7daa4bff52e01d4168be0eedbe tamper/apostrophemask.py
229229
4115a55b8aba464723d645b7d3156b6e tamper/apostrophenullencode.py
230230
d7e9a979eff4d7315d804a181e66fc93 tamper/appendnullbyte.py

0 commit comments

Comments
 (0)