This commit is contained in:
Miroslav Stampar 2016-06-17 16:51:23 +02:00
parent cb42294a7e
commit 9d9592a69b
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.0.6.39" VERSION = "1.0.6.40"
REVISION = getRevisionNumber() REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2 STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

View File

@ -122,7 +122,10 @@ class Connect(object):
@staticmethod @staticmethod
def _getPageProxy(**kwargs): def _getPageProxy(**kwargs):
return Connect.getPage(**kwargs) try:
return Connect.getPage(**kwargs)
except RuntimeError:
return None, None, None
@staticmethod @staticmethod
def _retryProxy(**kwargs): def _retryProxy(**kwargs):