Question: i am doing an assignment with powershell and am trying to get access granted for the script any idea what im doing wrong and could

i am doing an assignment with powershell and am trying to get access granted for the script any idea what im doing wrong and could fix because im only getting access denied
i am doing an assignment with powershell and am trying to get
access granted for the script any idea what im doing wrong and
could fix because im only getting access denied Pod 31 32 #

Pod 31 32 # First, you will need a variable with a list of nost commonly used passwords to iterate through when trying to hack the users password. 33 # Create a variable that stores the content from the most commonly used password file 34 *Inportant* use the file path. 10k-most-common-passwords.txt Wid 35 YOUR COOK BELOW HERE 36 Scommon PasswordList - Get Content 10k most common passwords.txt 32 38 39 2. Second, a variable is needed that stores the victim's usernane. HINT: Luke 40 # YOUR CODE BELOW HERE 41 Svictin - "Luke" 62 Wiv 43 # Now you are ready to design your function Dow 44 Your function nane will need 2 parameters 45 #One for the username and one for the password 46 W YOUR CODE BELOW HERE 47 function brutforce username, Scompassword) 40 50 Now you are ready to begin testing each word for your bruteforce attack 51 * w foreach loop method to treate through each com password in the password Wat You should be calling the variable that contains all passwords) 3 YOUR CODE BELOW HERE 14 foreach (Spass in Ice # You will need to build array of wordtrack with Create now Access denied Add a statement that will return password once a match is found YOUR CODE BELOW HERE Hello Access Denied ( 56 You will need to build an array of user credentials to attack with #1. Create an empty array. 12. Add your victim's user nane variable to the array. HINT: To add itens to an array you must use operator # 3. Add a potential password to the array YOUR CODE BELOK HERE Sarr 0 Sarr Svictis Sarr Spass 62 63 54 221 We Pow 67 63 DO NOT MODIFY a write Most The Invoke-Expression cmdlet is used to call other power shell scripts. + Below will invoke Login.pst and pass a username and password Your job is to pass the user credential array created above. Remeber ter credential array variables will need to be replaced with water. Ele for NOU MUST MOONEY LINE BELOW I woke pression "Login. Sare OutVariable out 22 74 31 have been word to the scree next one has to ACCESS Denied Add a state that will return password once a match is found YOUR COOL BELOM MERE Helio Access Denied Com 71 72 70 74 75 76 Below will invoke Login.pl and passa username and password. # Your job is to pass the user credential array created above, + Remember

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!