Skip to content

Instantly share code, notes, and snippets.

View Ashnayr's full-sized avatar

Ashnayr Ashnayr

  • Australia
View GitHub Profile
@sckalath
sckalath / windows_privesc
Last active January 22, 2026 09:20
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]