Commit d61a5870 authored by Mathieu Valois's avatar Mathieu Valois
Browse files

Readme and change binary name

parent afece81b
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4,10 +4,10 @@ build-cli:
  before_script:
    - apt-get -qq update
    - apt-get -qq -y install build-essential > /dev/null
  script: make -C Statsgen -j$(nproc) cstatsgen
  script: make -C Statsgen -j$(nproc) cpack
  artifacts:
    paths:
      - Statsgen/cstatsgen
      - Statsgen/cpack

# build-gui:
#   before_script:
@@ -17,7 +17,7 @@ build-cli:
#                             libqt5charts5-dev \
#                             supervisor \
#                             openssh-server > /dev/null
#   script: make -C Statsgen -j$(nproc) cstatsgen-gui
#   script: make -C Statsgen -j$(nproc) cpack-gui
#   artifacts:
#     paths:
#       - Statsgen/cstatsgen-gui
#       - Statsgen/cpack-gui
+1 −1
Original line number Diff line number Diff line
MIT License

Copyright (c) 2018 Jorand Jean-baptiste Bass Yannick
Copyright (c) 2019 Mathieu Valois, Patrick Lacharme, Jean-Baptiste Jorand, Yannick Bass

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ QT += core gui
QT += widgets
QT += charts

TARGET  = cstatsgen-gui
TARGET  = cpack-gui
TEMPLATE = app

INCLUDEPATH += include
+2 −2
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@ CXXFLAGS = -pedantic -Wall -std=c++11 -Wextra -Iinclude -O3
LDFLAGS  = -lpthread
SRC	 = src
INC	 = include
BIN  = cstatsgen
BINGUI = cstatsgen-gui
BIN  = cpack
BINGUI = $(BIN)-gui

.PHONY = clean

+11 −5
Original line number Diff line number Diff line
# Analyse statistique d'une liste de mots de passe

```shell
git clone https://gitlab.ecole.ensicaen.fr/jorand/Statistiques.git
git clone https://git.unicaen.fr/passwords/cpack
```

## Requiert
@@ -21,8 +21,8 @@ Pour analyser une liste de mot de passe, effectuez les commandes suivantes :

```shell
cd Statsgen
make
./stats liste.txt
make cpack
./cpack liste.txt
```

Plusieurs options sont disponibles :
@@ -47,13 +47,19 @@ Par défaut, les règles de sécurité sont les suivantes :

## Interface graphique

Dans le dossier GUI, une interface en QT est disponible pour une version simplifiée et visuelle des statistiques.
Une interface en QT est disponible pour une version simplifiée et visuelle des statistiques.

	--> Requiert la version de QT comprenant QtCharts (version 5 minimum)
	--> Programme développé en version 5.9.4

```shell
cd Statsgen
make cpack-gui
./cpack-gui
```


## Fonctions utilitaies
## Fonctions utilitaires

Dans le dossier Utils, trois programmes ont été créées
 * convert.cpp : permet de créer une liste de mots de passe à partir d'une liste au format withcount