Making those --string tips (containing escaped characters) decodable by sqlmap

This commit is contained in:
Miroslav Stampar
2012-07-31 11:32:53 +02:00
parent 142fc887f1
commit 6f529542e3
2 changed files with 4 additions and 1 deletions

View File

@@ -1375,6 +1375,9 @@ def __cleanupOptions():
if conf.oDir:
paths.SQLMAP_OUTPUT_PATH = conf.oDir
if conf.string:
conf.string = conf.string.decode("unicode_escape")
threadData = getCurrentThreadData()
threadData.reset()