Command Line: Windows Command Line (TryHackMe)

Search for a command to run...

No comments yet. Be the first to comment.
Link to the challenge on TryHackMe: Modern Web Stacks Introduction During a time-boxed engagement, the first tester to identify Apache/2.4.49 in a Server: header already knows the exact CVE before the

Link to the challenge/walkthrough on TryHackMe: Broken Authentication Introduction Authentication is the process by which a web application verifies the identity of the user making a request. It typic

Link to the HealthGPT AI security CTF challenge on TryHackMe. Meet HealthGPT, a well-meaning virtual assistant used by a busy healthcare team. It helps clinicians look up procedures, draft notes, and

Link to the section of the AI Odyssey CTF on TryHackMe: Token City. It covers challenges like: ML Sec: The Loan Arranger | AI Sec + DFIR: Rogue Commit | AI Sec + Web App Sec: Sealed Substation | Agent

Link to the Privilege Escalation Challenge on TryHackMe: Linux Privilege Escalation: Automation Introduction By now, you should have an understanding of basic privilege escalation techniques and how t

In this article, I will write a write-up for the Windows Command Line that covers Basic System Information, Network Troubleshooting, File and Disk Management, and Task and Process Management.
What is the default command line interpreter in the Windows environment? cmd.exe
What is the OS version of the Windows VM? 10.0.20348.2655
What is the hostname of the Windows VM? WINSRV2022-CORE
Which command can we use to look up the server’s physical address (MAC address)? ipconfig /all
What is the name of the process listening on port 3389? TermService
What is the IP address of your gateway? 10.10.0.1
What are the file’s contents in C:\Treasure\Hunt? THM{CLI_POWER}
What command would you use to find the running processes related to notepad.exe? tasklist /FI "imagename eq notepad.exe”
What command can you use to kill the process with PID 1516? taskkill /PID 1516
The command shutdown /s can shut down a system. What is the command you can use to restart a system? shutdown /r
What command can you use to abort a scheduled system shutdown? shutdown /a
Thank you for reading my article. Please leave any questions or comments on improving my learning journey and the THM challenges.