Question: Write a program that first reads in the name of two input files; input1pass.txt and input1shadow.txt. These files will contain encrypted and non-encrypted passwords to
Write a program that first reads in the name of two input files; input1pass.txt and input1shadow.txt. These files will contain encrypted and non-encrypted passwords to simulate a Brute Force approach. Next the program will accept input of two strings representing a potential user name, and password. The files should be read using the file.readlines( ) method.
Your program should output the attempted login and password with a message that it was a successful or unsuccessful brute force attempt.
Step by Step Solution
3.46 Rating (149 Votes )
There are 3 Steps involved in it
Source code passfile inputEnter the password file shadowfile inputEnter the shadow file usr inputEnt... View full answer
Get step-by-step solutions from verified subject matter experts
