diff options
| -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]) |
