Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 203cfd1

Browse files
committed
changed raised exception type
1 parent 8e8f6f8 commit 203cfd1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/controller/checks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
from lib.core.data import kb
3434
from lib.core.data import logger
3535
from lib.core.exception import sqlmapConnectionException
36-
from lib.core.exception import unhandledException
36+
from lib.core.exception import sqlmapNoneDataException
3737
from lib.core.session import setString
3838
from lib.core.session import setRegexp
3939
from lib.request.connect import Connect as Request
@@ -306,7 +306,7 @@ def checkStability():
306306
exceptionMsg += "because of lack of content. please check the "
307307
exceptionMsg += "page request results (and probable errors) by "
308308
exceptionMsg += "using higher verbosity levels"
309-
raise unhandledException, exceptionMsg
309+
raise sqlmapNoneDataException, exceptionMsg
310310

311311
elif not condition:
312312
warnMsg = "url is not stable, sqlmap will base the page "

0 commit comments

Comments
 (0)