Skip to content

Commit b58d41c

Browse files
authoredNov 8, 2022
Update checker.py
1 parent c3c54bf commit b58d41c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎checker.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,18 @@ def get_auth_successful(file):
5151
print(Fore.YELLOW+"There are "+str(ln)+" Unique IP addresses in "+auth_file+Style.RESET_ALL)
5252
elif ln <= 100:
5353
print(Fore.RED+"There are "+str(ln)+" Unique IP addresses in "+auth_file+Style.RESET_ALL)
54-
print("Checking firewall and auth.log is recommanded")
54+
print("Checking firewall and auth.log is recommended")
5555
else:
5656
print(Fore.WHITE+Back.RED+"There are "+str(ln)+" Unique IP addresses in "+auth_file+Style.RESET_ALL)
57-
print("Checking firewall and auth.log is recommanded")
57+
print("Checking firewall and auth.log is recommended")
5858
fail = get_auth_failures(auth_file)
5959
if fail <= 5:
6060
print(Fore.GREEN+"There are "+str(fail)+" Authentication failures reported "+auth_file+Style.RESET_ALL)
6161
elif fail <= 10:
6262
print(Fore.YELLOW+"There are "+str(fail)+" Authentication failures reported "+auth_file+Style.RESET_ALL)
6363
elif fail <= 30:
6464
print(Fore.RED+"There are "+str(fail)+" Authentication failures reported "+auth_file+Style.RESET_ALL)
65-
print("Checking firewall and auth.log is recommanded")
65+
print("Checking firewall and auth.log is recommended")
6666
else:
6767
print(Fore.WHITE+Back.RED+"There are "+str(fail)+" Authentication failures reported "+auth_file+Style.RESET_ALL)
6868
print("Checking firewall and auth.log is recommanded")

0 commit comments

Comments
 (0)
Please sign in to comment.