Hacking with Powershell
Task 2
Question 1: What is the command to get help about a particular cmdlet(without any parameters)?
Task 3

Using Get-Command

Object Manipulation

Creating Objects From Previous cmdlets

Filtering Objects

Sort Object

Question 1: What is the location of the file "interesting-file.txt"

Question 2: Specify the contents of this file
Question 3: How many cmdlets are installed on the system(only cmdlets, not functions and aliases)?

Question 4: Get the MD5 hash of interesting-file.txt

Question 5: What is the command to get the current working directory?

Question 6: Does the path "C:\Users\Administrator\Documents\Passwords" Exist(Y/N)?

Question 7: What command would you use to make a request to a web server?

Question 8: Base64 decode the file b64.txt on Windows


Task 4
Question 1: How many users are there on the machine?

Question 2: Which local user does this SID(S-1-5-21-1394777289-3961777894-1791813945-501) belong to?

Question 3: How many users have their password required values set to False?

Question 4: How many local groups exist?

Question 5: What command did you use to get the IP address info?

Question 6: How many ports are listed as listening?

Question 7: What is the remote address of the local port listening on port 445?
Question 8: How many patches have been applied?

Question 9: When was the patch with ID KB4023834 installed?
Question 10: Find the contents of a backup file.

Question 11: Search for all files containing API_KEY

Question 12: What command do you do to list all the running processes?

Question 13: What is the path of the scheduled task called new-sched-task?

Question 14: Who is the owner of the C:\?

Task 5

Question 1: What file contains the password?

Question 2: What is the password?
Question 3: What files contains an HTTPS link?
Last updated