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

Skip to content

Commit 130879f

Browse files
committed
Minor patches
1 parent db5ae9a commit 130879f

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/core/settings.py

Lines changed: 2 additions & 2 deletions
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.10.39"
22+
VERSION = "1.2.10.40"
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)
@@ -593,7 +593,7 @@
593593
FORCE_COOKIE_EXPIRATION_TIME = "9999999999"
594594

595595
# Github OAuth token used for creating an automatic Issue for unhandled exceptions
596-
GITHUB_REPORT_OAUTH_TOKEN = "NTMyNWNkMmZkMzRlMDZmY2JkMmY0MGI4NWI0MzVlM2Q5YmFjYWNhYQ=="
596+
GITHUB_REPORT_OAUTH_TOKEN = "NTYzYjhmZWJjYzc0Njg2ODJhNzhmNDg1YzM0YzlkYjk3N2JiMzE3Nw=="
597597

598598
# Skip unforced HashDB flush requests below the threshold number of cached items
599599
HASHDB_FLUSH_THRESHOLD = 32

sqlmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ def main():
234234
dataToStdout(excMsg)
235235
raise SystemExit
236236

237-
elif "ImportError" in excMsg:
238-
errMsg = "invalid runtime environment ('%s')" % excMsg.split("ImportError: ")[-1].strip()
237+
elif any(_ in excMsg for _ in ("ImportError", "Can't find file for module")):
238+
errMsg = "invalid runtime environment ('%s')" % excMsg.split("Error: ")[-1].strip()
239239
logger.critical(errMsg)
240240
raise SystemExit
241241

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4949
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52-
052f65076ec02852b0035f1ac0d20240 lib/core/settings.py
52+
c0109f21b79e9867dede075afad9167f lib/core/settings.py
5353
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
721198b5be72c8015a02acb116532a1f lib/core/target.py
@@ -234,7 +234,7 @@ ec2ba8c757ac96425dcd2b97970edd3a shell/stagers/stager.asp_
234234
0c48ddb1feb7e38a951ef05a0d48e032 shell/stagers/stager.jsp_
235235
2f9e459a4cf6a58680978cdce5ff7971 shell/stagers/stager.php_
236236
cd90da0474d7b1a67d7b40d208493375 sqlmapapi.py
237-
b84c70803012a374385ecc3e41a7e0dc sqlmap.py
237+
ad5f9980c9bdca753578292720a5afe0 sqlmap.py
238238
523dab9e1093eb59264c6beb366b255a tamper/0x2char.py
239239
3a1697585ae4e7bf315e9dda97d6f321 tamper/apostrophemask.py
240240
d7a119a74be9b385ee3884fb5e6af041 tamper/apostrophenullencode.py

0 commit comments

Comments
 (0)