mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-23 19:34:13 +03:00
layout adjustment
This commit is contained in:
parent
dcf2dcd03d
commit
6a62292a3f
|
@ -168,7 +168,7 @@ def liveTest():
|
||||||
result = runCase(switches, parse)
|
result = runCase(switches, parse)
|
||||||
|
|
||||||
test_case_fd = codecs.open(os.path.join(paths.SQLMAP_OUTPUT_PATH, "test_case"), "wb", UNICODE_ENCODING)
|
test_case_fd = codecs.open(os.path.join(paths.SQLMAP_OUTPUT_PATH, "test_case"), "wb", UNICODE_ENCODING)
|
||||||
test_case_fd.write(name)
|
test_case_fd.write("%s\n" % name)
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
logger.info("test passed")
|
logger.info("test passed")
|
||||||
|
@ -186,7 +186,7 @@ def liveTest():
|
||||||
errMsg += " - SQL injection not detected"
|
errMsg += " - SQL injection not detected"
|
||||||
|
|
||||||
logger.error(errMsg)
|
logger.error(errMsg)
|
||||||
test_case_fd.write("\n%s" % errMsg)
|
test_case_fd.write("%s\n" % errMsg)
|
||||||
|
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user