From fbaddf52726267772faadbae917351f64ca1f0af Mon Sep 17 00:00:00 2001 From: maraslidilara <40308789+maraslidilara@users.noreply.github.com> Date: Tue, 7 Aug 2018 11:56:11 -0700 Subject: [PATCH] Update 2-passwdCrack.py --- CH1/2-passwdCrack.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CH1/2-passwdCrack.py b/CH1/2-passwdCrack.py index d6ea525..75e81fd 100755 --- a/CH1/2-passwdCrack.py +++ b/CH1/2-passwdCrack.py @@ -2,7 +2,9 @@ # -*- coding: utf-8 -*- import crypt - +'''Function, testPass(), takes the encrypted password as a parameter and +returns either after finding the password or exhausting the words in the +dictionary''' def testPass(cryptPass): salt = cryptPass[0:2] dictFile = open('dictionary.txt', 'r')