File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717from lib .core .enums import OS
1818
1919# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20- VERSION = "1.3.4.1 "
20+ VERSION = "1.3.4.2 "
2121TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2222TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2323VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ class WebSocketException(Exception):
8282from lib .core .exception import SqlmapGenericException
8383from lib .core .exception import SqlmapSyntaxException
8484from lib .core .exception import SqlmapTokenException
85+ from lib .core .exception import SqlmapUserQuitException
8586from lib .core .exception import SqlmapValueException
8687from lib .core .settings import ASTERISK_MARKER
8788from lib .core .settings import BOUNDARY_BACKSLASH_MARKER
@@ -725,8 +726,11 @@ class _(dict):
725726
726727 kb .connErrorChoice = readInput (message , default = 'N' , boolean = True )
727728
728- if kb .connErrorChoice is False :
729- raise SqlmapConnectionException (warnMsg )
729+ if kb .connErrorChoice is not None :
730+ if kb .connErrorChoice :
731+ raise SqlmapConnectionException (warnMsg )
732+ else :
733+ raise SqlmapUserQuitException
730734
731735 if "forcibly closed" in tbMsg :
732736 logger .critical (warnMsg )
You can’t perform that action at this time.
0 commit comments