File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -590,7 +590,7 @@ def isVersionWithin(versionList):
590
590
def isVersionGreaterOrEqualThan (version ):
591
591
retVal = False
592
592
593
- if Backend . getVersion () is not None and version is not None :
593
+ if all ( _ not in ( None , UNKNOWN_DBMS_VERSION ) for _ in ( Backend . getVersion (), version )) :
594
594
_version = unArrayizeValue (Backend .getVersion ())
595
595
_version = re .sub (r"[<>= ]" , "" , _version )
596
596
Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.6.6.9 "
23
+ VERSION = "1.6.6.10 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_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