update hash file handler
This commit is contained in:
@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user