This commit is contained in:
Miroslav Stampar
2019-03-04 16:36:19 +01:00
parent b1ef5d520c
commit 59d97968a7
5 changed files with 15 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ try:
try:
__import__("lib.utils.versioncheck") # this has to be the first non-standard import
except ImportError:
exit("[!] wrong installation detected (missing modules). Visit 'https://github.com/sqlmapproject/sqlmap/#installation' for further details")
sys.exit("[!] wrong installation detected (missing modules). Visit 'https://github.com/sqlmapproject/sqlmap/#installation' for further details")
import bdb
import distutils
@@ -76,7 +76,7 @@ except KeyboardInterrupt:
raise SystemExit
else:
import time
exit("\r[%s] [CRITICAL] %s" % (time.strftime("%X"), errMsg))
sys.exit("\r[%s] [CRITICAL] %s" % (time.strftime("%X"), errMsg))
def modulePath():
"""