Minor update

This commit is contained in:
Miroslav Stampar
2020-07-07 11:31:07 +02:00
parent a65e1faf99
commit 67f918f6ad
2 changed files with 3 additions and 4 deletions

View File

@@ -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"):