mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Minor update
This commit is contained in:
parent
a65e1faf99
commit
67f918f6ad
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
|||
from thirdparty.six import unichr as _unichr
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.4.7.3"
|
||||
VERSION = "1.4.7.4"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
@ -464,9 +464,8 @@ def main():
|
|||
finally:
|
||||
kb.threadContinue = False
|
||||
|
||||
_ = getDaysFromLastUpdate()
|
||||
if _ > LAST_UPDATE_NAGGING_DAYS:
|
||||
warnMsg = "you haven't updated sqlmap for more than %d days!!!" % _
|
||||
if getDaysFromLastUpdate() > LAST_UPDATE_NAGGING_DAYS:
|
||||
warnMsg = "your sqlmap version is outdated"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
if conf.get("showTime"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user