diff --git a/lib/core/testing.py b/lib/core/testing.py index 376747012..647035487 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -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)