mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-20 13:03:23 +03:00
just in case, add also the test case name inside the temp folder for debug purposes
This commit is contained in:
parent
c95119559e
commit
1923ef691e
|
@ -184,6 +184,10 @@ def liveTest():
|
||||||
|
|
||||||
logger.error(errMsg)
|
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:
|
if failedParseOn:
|
||||||
console_output_fd = codecs.open(os.path.join(paths.SQLMAP_OUTPUT_PATH, "console_output"), "wb", UNICODE_ENCODING)
|
console_output_fd = codecs.open(os.path.join(paths.SQLMAP_OUTPUT_PATH, "console_output"), "wb", UNICODE_ENCODING)
|
||||||
console_output_fd.write(failedParseOn)
|
console_output_fd.write(failedParseOn)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user