python

  Linux systems haunt user recital notice in the passwd finish and the encrypted password in the sham finish. The passwd finish containing recital notice susceptibility appear affect this: smithj:x:1001:1001:John Smith:/home/smithj:/bin/bash The sham finish containing password and recital dolefulness notice for users susceptibility appear affect this: smithj:KJDKKkkLLjjwlnttqoiybnm.:10063:0:99999:7::: The grounds in the sham finish are separated by a colon, after a while the leading ground entity the userspectry and the relieve entity the password. Under natural circumstances, the password is encrypted. But for the scope of this assignment, you can affect the password is already unencrypted. Review the bruteLogin character program on pp. 58–59 of Ch. 2, "Penetration Testing after a while Python," of Violent Python: A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers. Make the aftercited changes/additions to the character: Modify the bruteLogin character to use twain the passwd and sham finishs. Affect your passwd and sham finishs include two recitals.   Change the bruteLogin to collect the userspectry and unmeasured spectry from the passwd finish and the password from the sham finish Change the output to evidence the unmeasured spectry when confirming fortunate FTP Login; e.g.,  "Myhostspectry FTP Logon Succeeded: John Smith/ KJDKKkkLLjjwlnttqoiybnm" Zip your Python .py finish and submit the.zip finish so the sequence can be validated.