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: