Commit 2f1f7469 authored by Jorand Jean-baptiste's avatar Jorand Jean-baptiste
Browse files

correctif limite masque

parent cb740b49
Loading
Loading
Loading
Loading
+2 −3
Changes for .gitignore: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -3,6 +3,5 @@ Utils/createNewDB
Statsgen/stats
Statsgen/bin
Pack/
GUI/GUI.pro.user.da6987d
build-GUI-Desktop-Debug/
build-GUI-Desktop_Qt_5_9_4_GCC_64bit-Debug/
 No newline at end of file
GUI/GUI.pro.user
build-GUI/
 No newline at end of file
−336

File deleted.

+12 −3

File changed.

Preview size limit exceeded, changes collapsed.

+7 −1
Changes for GUI/statsgen.h: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -98,6 +98,9 @@ struct thread_data {
	bool use_regex = false;
	bool withcount = false;

    int limitSimplemask;
    int limitAdvancedmask;

	SecurityRules sr;
};

@@ -266,8 +269,11 @@ void analyse_charset(std::wstring & charset, const Policy & policy);
 * @brief Analyse a password
 * @param password: current password
 * @param c: container of all useful data of the password
 * @param sr: get the actual security rules and count the number of password respecting them
 * @param limitAdvancedmask: define the limit for the size of advanced masks
 * @param limitSimplemask: define the limit for the size of simple masks
 */
void analyze_password(const std::wstring & password, Container & c);
void analyze_password(const std::wstring & password, Container & c, SecurityRules & sr, const int & limitAdvancedmask, const int & limitSimplemask);

/**
 * @brief Update minima and maxima of all general data from analysed passwords
+7 −1

File changed.

Preview size limit exceeded, changes collapsed.

Loading