From 2ff555bf1004f0c462df9ae67be371aad479c91e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 16 Nov 2011 16:41:22 +0000 Subject: [PATCH] minor fix for --profile switch --- sqlmap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlmap.py b/sqlmap.py index 663fa3c22..98e5e5757 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -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) else: from _sqlmap import main + # import needed for proper working of --profile switch + from lib.controller.controller import start main()