Update for people that just download 'sqlmap.py' <- they exist

This commit is contained in:
Miroslav Stampar
2017-07-05 16:42:54 +02:00
parent 75fd878242
commit d248317b89
3 changed files with 7 additions and 4 deletions

View File

@@ -9,7 +9,10 @@ import sys
sys.dont_write_bytecode = True
__import__("lib.utils.versioncheck") # this has to be the first non-standard import
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")
import bdb
import distutils