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 455ea99 commit 67279a1Copy full SHA for 67279a1
1 file changed
sqlmap.py
@@ -134,7 +134,7 @@ def main():
134
for match in re.finditer(r'File "(.+?)", line', excMsg):
135
file_ = match.group(1).replace('\\', "/")
136
file_ = file_[file_.find("sqlmap"):] if "sqlmap" in file_ else file_
137
- file_ = file_.replace("sqlmap/", "", 1)
+ file_ = re.sub(r"(?i)sqlmap[^/]*/", "", file_, 1)
138
excMsg = excMsg.replace(match.group(1), file_)
139
140
logger.critical(errMsg)
0 commit comments