Question: Python 3 code, please. Problem Solutions 1 2 LIKELY,WORDS= [Frenchy, NIDDLE=Horse29 CREMEPUFF = 38 INTENSE, ComputerScienceFTW, HelloM r Gumby] A very silly sysadmin has written
Python 3 code, please.
Problem Solutions 1 2 LIKELY,WORDS= ["Frenchy", NIDDLE="Horse29" CREMEPUFF = 38 "INTENSE", "ComputerScienceFTW", "HelloM r Gumby"] A very silly sysadmin has written down the password to a computer that has access to the top-secret military intelligence servers of the G Gugvuntts. They half heartedly tore the piece of paper into three pieces and threw it in the rubbish. You are part of the VI'hurg Secret Service, and have been charged with placing a worm on their computer which will surreptitiously encrypt their hard drive, so that only you will have access to their data. - 5 def hack_it(start LIKELY_WORDS, middle HIDDLE, end CRENE_PUFF): # your code here An agent on the ground has been pretending to be a garbage truck driver and has found the middle piece of the paper with the password written on it, based on which you know that the password contains: Horse28 From psycho-analysis of the sysadmin, we know that the first part of the password is generated from the concatenation of 2 of the following words in some order: LIKELY-WORDS ["Frenchy", "INTENSE", "ComputerScienceFTW", "HelloNrGumby"] We also know that the last two digits of the password will be the age of the sysadmin's cat. This is yet to be determined by the agent but they are certain that it's no more than Creme Puff, who was 38 (and at least "ee", of course, noting that whatever number it is, it must be rendered as two digits!). For example, one possible password based on this intelligence is "HelloHrGumbyComputerScienceFTWHorse2007. Yep, for all their faults, the sysadmin must be an accurate and patient typist! Write a function hack_it(start, middle, end) which takes three arguments as input: (1) start,a list of at least two words from which the first part of the password is formed: (2) middle, a string containing the middle part of the password; and (3) end, an integer defining the maximum age for the sysadmin's cat. The arguments should be set to the pre-defined constants LIKELY WORDS, HIDDLE, and CREME_PUFF, respectively, by default. The function should return a list of all possible password strings to use in a brute-force password attack. Submissions >Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
