Posts

Showing posts with the label powershell

TryHackMe - Active Directory Basics - Walkthrough

Image
Introduction Today we're going to be doing a walkthrough for the Active Directory Basics room hosted at https://tryhackme.com/room/ activedirectorybasics . We'll be using one virtual machine (VM), the the deployed Windows 10 client. Task 1 - Introduction Questions I understand what Active Directory is and why it is used. No answer needed Task 2 - Physical Active Directory Questions What database does the AD DS contain? Answer contained within Task description Where is the NTDS.dit stored? Answer contained within Task description What type of machine can be a domain controller? Answer contained within Task description Task 3 - The Forest Questions What is the term for a hierarchy of domains in a network? Answer contained within Task description What is the term for the rules for object creation? Answer contained within Task description What is the term for containers for groups, computers, users, printers, and other OUs? Answer contained within Task description Task 4 - Users + ...

TryHackMe - Hacking with Powershell - Walkthrough

Image
Introduction Today we're going to be doing a walkthrough for the Hacking with Powershell room hosted at https://tryhackme.com/room/powershell . For this walkthrough, we'll be using two virtual machines (VMs), a Kali Linux VM as our attacking machine, and the deployed Windows 10 client as the the target machine. Task 1 - Objectives Questions Read the above and deploy the machine! No answer needed Task 2 - What is Powershell Questions What is the command to get help about a particular cmdlet(without any parameters)? Answer can be found inside of question. Task 3 - Basic Powershell Commands Questions What is the location of the file "interesting-file.txt" Get-ChildItem -Path C:\ -Filter “interesting-file.txt” -Recurse -ErrorAction SilentlyContinue -Force  Specify the contents of this file get-content “c:\program files\interesting-file.txt.txt” How many cmdlets are installed on the system(only cmdlets, not functions and aliases)? get-command | where-object -property comma...