Skip to content

Commit bd16bb7

Browse files
committed
Adding an appropriate warning message
1 parent eb8e31c commit bd16bb7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sqlmap.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ def main():
8383
dataToStdout("[!] legal disclaimer: %s\n\n" % LEGAL_DISCLAIMER, forceOutput=True)
8484
dataToStdout("[*] starting at %s\n\n" % time.strftime("%X"), forceOutput=True)
8585

86+
if ".sqlmap" in paths.SQLMAP_OUTPUT_PATH:
87+
warnMsg = "using '%s' as the output directory" % paths.SQLMAP_OUTPUT_PATH
88+
logger.warn(warnMsg)
89+
8690
init()
8791

8892
if conf.profile:

0 commit comments

Comments
 (0)