This commit is contained in:
darwincereska
2026-04-01 21:42:00 -04:00
parent 042bfac734
commit 757758293f

View File

@@ -26,6 +26,8 @@ func main() {
os.Exit(1)
}
for {
// Fetch user input
fmt.Print("Enter your password: ")
fmt.Scanf("%s", &input)
@@ -35,8 +37,7 @@ func main() {
message, err := password.Check(input, commonWords, commonPasswords)
if err != nil {
fmt.Printf("ERROR: %v\n", err)
os.Exit(1)
}
fmt.Println(message)
}
}