From bd16bb7a6a443de6a7233f4cb1b361dfdf348684 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 27 Apr 2014 22:48:28 +0200 Subject: [PATCH] Adding an appropriate warning message --- sqlmap.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sqlmap.py b/sqlmap.py index 5a889d5f9..0e81ef537 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -83,6 +83,10 @@ def main(): dataToStdout("[!] legal disclaimer: %s\n\n" % LEGAL_DISCLAIMER, forceOutput=True) dataToStdout("[*] starting at %s\n\n" % time.strftime("%X"), forceOutput=True) + if ".sqlmap" in paths.SQLMAP_OUTPUT_PATH: + warnMsg = "using '%s' as the output directory" % paths.SQLMAP_OUTPUT_PATH + logger.warn(warnMsg) + init() if conf.profile: