mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Update regarding #3553
This commit is contained in:
parent
9958d77572
commit
faf154d2b3
3 changed files with 22 additions and 2 deletions
|
|
@ -3418,6 +3418,16 @@ def checkIntegrity():
|
|||
|
||||
return retVal
|
||||
|
||||
def getDaysFromLastUpdate():
|
||||
"""
|
||||
Get total number of days from last update
|
||||
"""
|
||||
|
||||
if not paths:
|
||||
return
|
||||
|
||||
return int(time.time() - os.path.getmtime(paths.SQLMAP_SETTINGS_PATH)) // (3600 * 24)
|
||||
|
||||
def unhandledExceptionMessage():
|
||||
"""
|
||||
Returns detailed message about occurred unhandled exception
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue