just in case, add also the test case name inside the temp folder for debug purposes

This commit is contained in:
Bernardo Damele 2013-01-19 16:06:46 +00:00
parent c95119559e
commit 1923ef691e

View File

@ -184,6 +184,10 @@ def liveTest():
logger.error(errMsg)
test_case_fd = codecs.open(os.path.join(paths.SQLMAP_OUTPUT_PATH, "test_case"), "wb", UNICODE_ENCODING)
test_case_fd.write(msg)
test_case_fd.close()
if failedParseOn:
console_output_fd = codecs.open(os.path.join(paths.SQLMAP_OUTPUT_PATH, "console_output"), "wb", UNICODE_ENCODING)
console_output_fd.write(failedParseOn)