Skip to content

Commit 8a92dd3

Browse files
committed
Minor cosmetic patch
1 parent 0e80903 commit 8a92dd3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎sqlmap.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def main():
8181

8282
banner()
8383

84+
conf.showTime = True
8485
dataToStdout("[!] legal disclaimer: %s\n\n" % LEGAL_DISCLAIMER, forceOutput=True)
8586
dataToStdout("[*] starting at %s\n\n" % time.strftime("%X"), forceOutput=True)
8687

@@ -131,7 +132,8 @@ def main():
131132
dataToStdout(setColor(traceback.format_exc()))
132133

133134
finally:
134-
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
135+
if conf.get("showTime"):
136+
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
135137

136138
kb.threadContinue = False
137139
kb.threadException = True

0 commit comments

Comments
 (0)