mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor fix for --profile switch
This commit is contained in:
@@ -15,4 +15,6 @@ if PYVERSION >= "3" or PYVERSION < "2.6":
|
|||||||
exit("[CRITICAL] wrong Python version detected ('%s'). For successfully running sqlmap you have to use 2.6 <= Python < 3.0" % PYVERSION)
|
exit("[CRITICAL] wrong Python version detected ('%s'). For successfully running sqlmap you have to use 2.6 <= Python < 3.0" % PYVERSION)
|
||||||
else:
|
else:
|
||||||
from _sqlmap import main
|
from _sqlmap import main
|
||||||
|
# import needed for proper working of --profile switch
|
||||||
|
from lib.controller.controller import start
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user