From 5c400d4ac8ef8bc687da32426b9347fc93373beb Mon Sep 17 00:00:00 2001 From: s0mewha7 Date: Fri, 1 Dec 2023 13:54:12 -0800 Subject: [PATCH] change --- let5-JacquesFresco/bruteforce.cpp | 2 ++ let5-JacquesFresco/function.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/let5-JacquesFresco/bruteforce.cpp b/let5-JacquesFresco/bruteforce.cpp index 7064495..892c836 100644 --- a/let5-JacquesFresco/bruteforce.cpp +++ b/let5-JacquesFresco/bruteforce.cpp @@ -1,5 +1,7 @@ #include "function.h" +const std::string charset = "1234567890AaBbCcDdEeFfHhGgXxYyZz"; + void generatePasswords(const std::string &charset, int length, std::string currentPassword) { if (length == 0) { std::cout << currentPassword << std::endl; diff --git a/let5-JacquesFresco/function.h b/let5-JacquesFresco/function.h index ca26c00..82854c0 100644 --- a/let5-JacquesFresco/function.h +++ b/let5-JacquesFresco/function.h @@ -5,7 +5,6 @@ #include #include -std::string charset = "1234567890AaBbCcDdEeFfHhGgXxYyZz"; const size_t passwordLength = 5; void generated_password();