mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
minor fix for --profile switch
This commit is contained in:
parent
0df768e24a
commit
2ff555bf10
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue