File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3861,6 +3861,10 @@ def checkIntegrity():
38613861 logger .error ("wrong modification time of '%s'" % filepath )
38623862 retVal = False
38633863
3864+ suffix = extractRegexResult (r"#(?P<result>\w+)" , VERSION_STRING )
3865+ if suffix and suffix not in {"dev" , "stable" }:
3866+ retVal = False
3867+
38643868 return retVal
38653869
38663870def getDaysFromLastUpdate ():
Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.7.7.0 "
23+ VERSION = "1.7.7.1 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
702702FORCE_COOKIE_EXPIRATION_TIME = "9999999999"
703703
704704# Github OAuth token used for creating an automatic Issue for unhandled exceptions
705- GITHUB_REPORT_OAUTH_TOKEN = "Z2hwXzJEdUdKQXVyNms3c2J2em0weXNFYlVrZ2hxczE1eDBRQnA2Vg "
705+ GITHUB_REPORT_OAUTH_TOKEN = "Z2hwX09GTWlsWUJVZWhiYWluS3I3T2hUbE9abHJ4cXNUTTFYeUxxTw "
706706
707707# Skip unforced HashDB flush requests below the threshold number of cached items
708708HASHDB_FLUSH_THRESHOLD = 32
You can’t perform that action at this time.
0 commit comments