You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: creds
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -119,8 +119,10 @@ def update():
119
119
"""
120
120
Update database records
121
121
"""
122
-
get_db('/tmp',"Check for new updates...🔍")
123
-
print('[+] No action needed, We are fine 🤘') ifsha256sum('/tmp/DefaultCreds_db.json') ==sha256sum(f"{path}/DefaultCreds_db.json") elseget_db(path,"New updates are available 🚧\n[+] Download database...")
124
-
122
+
try:
123
+
get_db('/tmp',"Check for new updates...🔍")
124
+
print('[+] No action needed, We are fine 🤘') ifsha256sum('/tmp/DefaultCreds_db.json') ==sha256sum(f"{path}/DefaultCreds_db.json") elseget_db(path,"New updates are available 🚧\n[+] Download database...")
0 commit comments