diff --git a/lib/core/settings.py b/lib/core/settings.py index 005f6ec78..bc06cf06c 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -346,3 +346,5 @@ LOW_TEXT_PERCENT = 20 # These MySQL keywords can't go (alone) into versioned comment form (/*!...*/) # Reference: http://dev.mysql.com/doc/refman/5.1/en/function-resolution.html IGNORE_SPACE_AFFECTED_KEYWORDS = ("CAST", "COUNT", "EXTRACT", "GROUP_CONCAT", "MAX", "MID", "MIN", "SESSION_USER", "SUBSTR", "SUBSTRING", "SUM", "SYSTEM_USER", "TRIM") + +LEGAL_DISCLAIMER = "usage of sqlmap for attacking web servers without prior mutual consistency can be considered as an illegal activity. it is the final user's responsibility to obey all applicable local, state and federal laws. authors assume no liability and are not responsible for any misuse or damage caused by this program." diff --git a/sqlmap.py b/sqlmap.py index 83366e887..a41c6195e 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -41,6 +41,7 @@ from lib.core.exception import sqlmapSilentQuitException from lib.core.exception import sqlmapUserQuitException from lib.core.option import init from lib.core.profiling import profile +from lib.core.settings import LEGAL_DISCLAIMER from lib.core.testing import smokeTest from lib.core.testing import liveTest from lib.core.xmldump import closeDumper @@ -69,6 +70,8 @@ def main(): # Store original command line options for possible later restoration cmdLineOptions.update(cmdLineParser().__dict__) + dataToStdout("[!] Legal Disclaimer: %s\n\n" % LEGAL_DISCLAIMER, forceOutput=True) + dataToStdout("[*] starting at: %s\n\n" % time.strftime("%X"), forceOutput=True) try: