Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Zydra.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def detect_file_type(self, file):

def count_word(self, dict_file):
count = 0
with open(dict_file, "r") as wordlist:
with open(dict_file, "r", encoding="ISO-8859-1") as wordlist:
for line in wordlist:
count += 1
return count
Expand Down Expand Up @@ -584,7 +584,7 @@ def banner(self):
# sudo wget http://www.figlet.org/fonts/epic.flf -O /usr/share/figlet/epic.flf
bannerfont = "epic" if os.path.exists('/usr/share/figlet/epic.flf') else "banner"
banner = pyfiglet.figlet_format("ZYDRA", font=bannerfont).replace("\n", "\n\t\t", 7)

cprint("\r\n\t" + "@" * 61, "blue", end="")
cprint("\n\t\t" + banner + "\t\tAuthor : Hamed Hosseini", "blue", attrs=['bold'])
cprint("\t" + "@" * 61 + "\n", "blue")
Expand Down