enable default linux worldlist support

This commit is contained in:
piair 2022-05-26 08:20:02 +02:00
parent df0ea09662
commit 4e4461f7f8
1 changed files with 5 additions and 1 deletions

6
V4.py
View File

@ -90,7 +90,11 @@ sql_host = config["SQL"]["host"]
sql_database = config["SQL"]["database"]
g = open(MotPath, "r", encoding="utf-8")
Liste_de_mot = list(g.readline().split(","))
lines = g.readlines()
if len(lines) < 3 :
Liste_de_mot = list(lines[0].split(","))
else :
Liste_de_mot = [x.replace('\n', "") for x in lines]
g.close()