gopasscheck

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 489d71bf8cf139f238681cc55ddec8362ba8d468
parent 062900195527418c6cfcafb89c1116e9c2250925
Author: Michael Constantine Dimopoulos <mk@mcdim.xyz>
Date:   Fri, 24 Jun 2022 15:09:29 +0000

updated

Diffstat:
Msrc/words.go | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/words.go b/src/words.go @@ -50,11 +50,11 @@ func words_test(pass string, file string) { if (perc == 100.0) { fmt.Printf(RED + "[!] Password is dictionary word - %.1f%% - ", perc) } else if (perc >= 70.0) { - fmt.Printf(RED + "[!] Password contains dictionary words - %.1f%% - ", perc) + fmt.Printf(RED + "[!] Password contains dictionary word - %.1f%% - ", perc) } else if (perc >= 35.0) { - fmt.Printf(YEL + "[-] Password contains dictionary words - %.1f%% - ", perc) + fmt.Printf(YEL + "[-] Password contains dictionary word - %.1f%% - ", perc) } else { - fmt.Printf(BLUE + "[~] Password contains dictionary words - %.1f%% - ", perc) + fmt.Printf(BLUE + "[~] Password contains dictionary word - %.1f%% - ", perc) } fmt.Printf(RESET + "%s : %s\n", file, line) found = true