update hash file handler

This commit is contained in:
2026-03-24 15:47:47 -07:00
parent 8ccf17d4b7
commit 2b7d14eb5b

View File

@ -14,7 +14,9 @@ import json, time, hashlib
# System Variables # System Variables
words = [] words = []
simple_words = [] simple_words = []
HASH_FILE = "/opt/pwdgen/hash_record.txt"
HASH_DIR = Path("/opt/pwdgen")
HASH_FILE = HASH_DIR / "hash_record.txt"
password_hashes =set() password_hashes =set()
SPECIAL_SET = "!@#$%^&*(),.<>?~`;:|][}{=-+_" SPECIAL_SET = "!@#$%^&*(),.<>?~`;:|][}{=-+_"
WORDS_FILE = "dict.yaml" WORDS_FILE = "dict.yaml"