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 df73be3 commit 258a700Copy full SHA for 258a700
1 file changed
lib/core/common.py
@@ -2841,7 +2841,7 @@ def unhandledExceptionMessage():
2841
errMsg += "sqlmap version: %s%s\n" % (VERSION, "-%s" % REVISION if REVISION else "")
2842
errMsg += "Python version: %s\n" % PYVERSION
2843
errMsg += "Operating system: %s\n" % PLATFORM
2844
- errMsg += "Command line: %s\n" % " ".join(sys.argv)
+ errMsg += "Command line: %s\n" % re.sub(".+?sqlmap.py", "sqlmap.py", " ".join(sys.argv))
2845
errMsg += "Technique: %s\n" % (enumValueToNameLookup(PAYLOAD.TECHNIQUE, kb.technique) if kb.get("technique") else ("DIRECT" if conf.get("direct") else None))
2846
errMsg += "Back-end DBMS: %s" % ("%s (fingerprinted)" % Backend.getDbms() if Backend.getDbms() is not None else "%s (identified)" % Backend.getIdentifiedDbms())
2847
0 commit comments