Skip to content

Instantly share code, notes, and snippets.

@waffl3ss
waffl3ss / windows_privesc
Created July 15, 2017 03:19 — forked from sckalath/windows_privesc
Windows Privilege Escalation
// What system are we connected to?
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
// Get the hostname and username (if available)
hostname
echo %username%
// Get users
net users
net user [username]