Skip to content

Instantly share code, notes, and snippets.

@cham423
cham423 / getloggedon.py
Last active February 21, 2022 19:24 — forked from dirkjanm/getloggedon.py
updated python3 version of @_dirkjan's getloggedon.py
#!/usr/bin/env python
# Gets logged on users via NetrWkstaUserEnum (requires admin on targets).
# Mostly adapted from netview.py and lookupsid.py
#
# Original Author:
# Dirk-jan Mollema (@_dirkjan)
# Modifier:
# Corey Ham (@cham423)
import sys