From 6a62292a3f6e7e404ad9f6138f77af8d62d4c025 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 19 Jan 2013 17:11:16 +0000 Subject: [PATCH] layout adjustment --- lib/core/testing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/testing.py b/lib/core/testing.py index ecaaec7f5..ff4ed5258 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -168,7 +168,7 @@ def liveTest(): result = runCase(switches, parse) 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: logger.info("test passed") @@ -186,7 +186,7 @@ def liveTest(): errMsg += " - SQL injection not detected" logger.error(errMsg) - test_case_fd.write("\n%s" % errMsg) + test_case_fd.write("%s\n" % errMsg) if failedParseOn: console_output_fd = codecs.open(os.path.join(paths.SQLMAP_OUTPUT_PATH, "console_output"), "wb", UNICODE_ENCODING)