Minor cosmetic patch

This commit is contained in:
Miroslav Stampar 2014-09-16 16:28:38 +02:00
parent 0e8090381c
commit 8a92dd3aaa

View File

@ -81,6 +81,7 @@ def main():
banner() banner()
conf.showTime = True
dataToStdout("[!] legal disclaimer: %s\n\n" % LEGAL_DISCLAIMER, forceOutput=True) dataToStdout("[!] legal disclaimer: %s\n\n" % LEGAL_DISCLAIMER, forceOutput=True)
dataToStdout("[*] starting at %s\n\n" % time.strftime("%X"), forceOutput=True) dataToStdout("[*] starting at %s\n\n" % time.strftime("%X"), forceOutput=True)
@ -131,7 +132,8 @@ def main():
dataToStdout(setColor(traceback.format_exc())) dataToStdout(setColor(traceback.format_exc()))
finally: finally:
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True) if conf.get("showTime"):
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
kb.threadContinue = False kb.threadContinue = False
kb.threadException = True kb.threadException = True