Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f54b25c commit 034de96Copy full SHA for 034de96
1 file changed
sqlmap.py
@@ -163,6 +163,11 @@ def main():
163
logger.error(errMsg)
164
raise SystemExit
165
166
+ elif all(_ in excMsg for _ in ("pymysql", "configparser")):
167
+ errMsg = "wrong initialization of pymsql detected (using Python3 dependencies)"
168
+ logger.error(errMsg)
169
+ raise SystemExit
170
+
171
elif "bad marshal data (unknown type code)" in excMsg:
172
match = re.search(r"\s*(.+)\s+ValueError", excMsg)
173
errMsg = "one of your .pyc files are corrupted%s" % (" ('%s')" % match.group(1) if match else "")
0 commit comments