mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
21 lines
549 B
Python
Executable File
21 lines
549 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
"""
|
|
$Id$
|
|
|
|
Copyright (c) 2006-2011 sqlmap developers (http://www.sqlmap.org/)
|
|
See the file 'doc/COPYING' for copying permission
|
|
"""
|
|
|
|
import sys
|
|
|
|
PYVERSION = sys.version.split()[0]
|
|
|
|
if PYVERSION >= "3" or PYVERSION < "2.6":
|
|
exit("[CRITICAL] incompatible Python version detected ('%s'). For successfully running sqlmap you'll have to use 2.6 <= Python < 3.0" % PYVERSION)
|
|
else:
|
|
from _sqlmap import main
|
|
# import needed for proper working of --profile switch
|
|
from lib.controller.controller import start
|
|
main()
|