20 likes | 37 Vues
CYB 130 Week 5 Extracting Passwords//tutorfortune.com<br><br>Click on below link to buy<br>https://tutorfortune.com/products/cyb-130-week-5-extracting-passwords<br><br>CYB 130 Week 5 Extracting Passwords<br> <br><br>Linux systems keep user account information in the passwd file and the encrypted password in the shadow file.<br><br>The passwd file containing account information might look like this:<br><br>smithj:x:1001:1001:John Smith:/home/smithj:/bin/bash<br><br>The shadow file containing password and account expiration information for users might look like this:<br><br>smithj:KJDKKkkLLjjwlnttqoiybnm.:10063:0:99999:7:::<br><br>The fields in the shadow file are separated by a colon, with the first field being the username and the second being the password.<br><br>Under normal circumstances, the password is encrypted. But for the purpose of this assignment, you can assume the password is already unencrypted.<br><br>Review the bruteLogin function program on pp. 58u201359 of Ch. 2, u201cPenetration Testing with Python,u201d of Violent Python: A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers.<br><br>Make the following changes/additions to the function:<br> <br><br>Modify the bruteLogin function to use both the passwd and shadow files. Assume your passwd and shadow files include two accounts.<br><br><br>Change the bruteLogin to extract the username and full name from the passwd file and the password from the shadow file<br> <br><br>Change the output to display the full name when confirming successful FTP Login; e.g., u201cMyhostname FTP Logon Succeeded: John Smith/ KJDKKkkLLjjwlnttqoiybnmu201d<br><br>Zip your Python .py file and submit the.zip file so the code can be validated.<br><br>Submit your assignment using the Assignment Files tab.<br>CYB 130 Week 5 Extracting Passwords<br><br>Click on below link to buy<br>https://tutorfortune.com/products/cyb-130-week-5-extracting-passwords<br>
E N D
CYB 130 Week 5 Extracting Passwords//tutorfortune.com Click on below link to buy https://tutorfortune.com/products/cyb-130-week-5-extracting-passwords C Y B 1 3 0 We e k 5 E x t r a c t i n g P a s s w o r d s L i n u x s y s t e ms k e e p u s e r a c c o u n t i n f o r ma t i o n i n t h e p a s s w d fi l e a n d t h e e n c r y p t e d p a s s w o r d i n t h e s h a d o w fi l e . T h e p a s s w d fi l e c o n t a i n i n g a c c o u n t i n f o r ma t i o n mi g h t l o o k l i k e t h i s : s mi t h j : x : 1 0 0 1 : 1 0 0 1 : J o h n S mi t h : / h o me / s mi t h j : / b i n / b a s h T h e s h a d o w fi l e c o n t a i n i n g p a s s w o r d a n d a c c o u n t e x p i r a t i o n i n f o r ma t i o n f o r u s e r s mi g h t l o o k l i k e t h i s : s mi t h j : K J D K K k k L L j j w l n t t q o i y b n m. : 1 0 0 6 3 : 0 : 9 9 9 9 9 : 7 : : : T h e fi e l d s i n t h e s h a d o w fi l e a r e s e p a r a t e d b y a c o l o n , w i t h t h e fi r s t fi e l d b e i n g t h e u s e r n a me a n d t h e s e c o n d b e i n g t h e p a s s w o r d . U n d e r n o r ma l c i r c u ms t a n c e s , t h e p a s s w o r d i s e n c r y p t e d . B u t f o r t h e p u r p o s e o f t h i s a s s i g n me n t , y o u c a n a s s u me t h e p a s s w o r d i s a l r e a d y u n e n c r y p t e d . R e v i e w t h e b r u t e L o g i n f u n c t i o n p r o g r a m o n p p . 5 8 – 5 9 o f C h . 2 , “ P e n e t r a t i o n T e s t i n g w i t h P y t h o n , ” o f V i o l e n t P y t h o n : A C o o k b o o k f o r H a c k e r s , F o r e n s i c A n a l y s t s , P e n e t r a t i o n T e s t e r s a n d S e c u r i t y E n g i n e e r s . Ma k e t h e f o l l o w i n g c h a n g e s / a d d i t i o n s t o t h e f u n c t i o n : Mo d i f y t h e b r u t e L o g i n f u n c t i o n t o u s e b o t h t h e p a s s w d a n d s h a d o w fi l e s . A s s u me y o u r p a s s w d a n d s h a d o w fi l e s i n c l u d e t w o a c c o u n t s . C h a n g e t h e b r u t e L o g i n t o e x t r a c t t h e u s e r n a me a n d f u l l n a me f r o m t h e p a s s w d fi l e a n d
t h e p a s s w o r d f r o m t h e s h a d o w fi l e C h a n g e t h e o u t p u t t o d i s p l a y t h e f u l l n a me w h e n c o n fi r mi n g s u c c e s s f u l F T P L o g i n ; e . g . , “ My h o s t n a me F T P L o g o n S u c c e e d e d : J o h n S mi t h / K J D K K k k L L j j w l n t t q o i y b n m” Z i p y o u r P y t h o n . p y fi l e a n d s u b mi t t h e . z i p fi l e s o t h e c o d e c a n b e v a l i d a t e d . S u b mi t y o u r a s s i g n me n t u s i n g t h e A s s i g n me n t F i l e s t a b . C Y B 1 3 0 We e k 5 E x t r a c t i n g P a s s w o r d s Click on below link to buy https://tutorfortune.com/products/cyb-130-week-5-extracting-passwords