Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ryandamour on github.
* I am ryandamour (https://keybase.io/ryandamour) on keybase.
* I have a public key ASCJkxSkfzwSTwo47BYdS2oI-28pG_O0x5NBlcvbX2lIuQo
To claim this, I am signing this object:
@ryandamour
ryandamour / windows_privesc
Created July 27, 2017 16:34 — 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]