diff options
| author | jerome <jerome@xlinfo.fr> | 2025-10-12 16:41:10 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-10-12 16:41:10 +0200 |
| commit | c6aa59690c57d6d053aac0136b3343237550f468 (patch) | |
| tree | 3f0585124873b923066d6143059e95969f66a06a | |
| parent | 506921e8aba41dd8dbf6910958309a4da331b858 (diff) | |
| download | python-c6aa59690c57d6d053aac0136b3343237550f468.tar.gz python-c6aa59690c57d6d053aac0136b3343237550f468.zip | |
corrections
| -rw-r--r-- | cesar.py | 4 | ||||
| -rw-r--r-- | crack_hash.py | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -30,8 +30,8 @@ while True: msg = input("Votre message : ") clef = int(input("Entrez votre clef (entre 1 et 25) : ")) for lettre in msg: - msgChiffre = msgChiffre + decalage(lettre,clef) - #msgChiffre += decalage(lettre, clef) + #msgChiffre = msgChiffre + decalage(lettre,clef) + msgChiffre += decalage(lettre, clef) print("\nVotre message chiffré : ", msgChiffre, "\n") print("********************") msg = "" diff --git a/crack_hash.py b/crack_hash.py index b49d31d..b51cec7 100644 --- a/crack_hash.py +++ b/crack_hash.py @@ -27,7 +27,7 @@ if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument('hashlist', help='La liste de hash à trouver') parser.add_argument('wordlist', help='Le dictionnaire choisi') - parser.add_argument('hashsum', help='la somme de contrôle : md5,sha256 ou sh512') + parser.add_argument('hashsum', help='la somme de contrôle : md5,sha256 ou sha512') parser.parse_args() crack_hash(sys.argv[1], sys.argv[2], sys.argv[3]) |
