First web gui prototype

This commit is contained in:
2024-04-09 10:26:32 +02:00
parent 0b534fa727
commit 793eda4bc4
39 changed files with 6760 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/python3
from getpass import getpass
import bcrypt
newpass = getpass('New Password: ')
cryptpass = bcrypt.hashpw(newpass.encode(), bcrypt.gensalt())
print("UPDATE user SET pass='{}' WHERE userid=1".format(cryptpass.decode()))