File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393from lib .core .exception import SqlmapMissingDependence
9494from lib .core .exception import SqlmapMissingMandatoryOptionException
9595from lib .core .exception import SqlmapMissingPrivileges
96- from lib .core .exception import SqlmapNoneDataException
9796from lib .core .exception import SqlmapSilentQuitException
9897from lib .core .exception import SqlmapSyntaxException
9998from lib .core .exception import SqlmapSystemException
@@ -984,15 +983,12 @@ def _setHTTPHandlers():
984983
985984 with kb .locks .handlers :
986985 if conf .proxyList is not None :
987- if not conf .proxyList :
988- errMsg = "list of usable proxies is exhausted"
989- raise SqlmapNoneDataException (errMsg )
990-
991986 conf .proxy = conf .proxyList [0 ]
992- conf .proxyList = conf .proxyList [1 :]
987+ conf .proxyList = conf .proxyList [1 :] + conf . proxyList [: 1 ]
993988
994- infoMsg = "loading proxy '%s' from a supplied proxy list file" % conf .proxy
995- logger .info (infoMsg )
989+ if len (conf .proxyList ) > 1 :
990+ infoMsg = "loading proxy '%s' from a supplied proxy list file" % conf .proxy
991+ logger .info (infoMsg )
996992
997993 elif not conf .proxy :
998994 if conf .hostname in ("localhost" , "127.0.0.1" ) or conf .ignoreProxy :
Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.4.6.8 "
21+ VERSION = "1.4.6.9 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments