You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/interface_console.py
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
fromrich.textimportText
6
6
fromrich.promptimportPrompt
7
7
fromrich.tableimportTable
8
+
frompathlibimportPath
8
9
# from detecteur_crypto import Analyser_fichier_uniquement
9
10
# from detecteur_crypto import Analyser_fichier_sequentiels
10
11
from .detecteur_cryptoimportDetecteurCryptoOrchestrateur
@@ -55,7 +56,7 @@ def default_menu(self):
55
56
self.console.print(menuTag,menuOption)
56
57
time.sleep(0.02)
57
58
58
-
choix=self.prompt.ask("Veuillez choisir une option ",choices=["1","2","3","4","5","6"])
59
+
choix=self.prompt.ask("Veuillez choisir une option ",choices=["1","2","3","4","5","6"])
59
60
try:
60
61
ifchoix=="1":
61
62
self.menu_1()
@@ -163,7 +164,8 @@ def menu_5(self):
163
164
mission_table.add_row("AES-256-GCM","mission4.enc","Acronyme d'une organisation internationale + année courante","Identifier le mode authentifié GCM et gérer l'authentification")
164
165
mission_table.add_row("Fernet","mission5.enc","Phrase française simple encodée, liée à notre domaine d'étude","Reconnaître le format Fernet et sa structure particulière")
0 commit comments