Created
June 25, 2016 12:36
-
-
Save KyleHanslovan/cadf9737401b85422c84091855473eb7 to your computer and use it in GitHub Desktop.
Post-exploitation host/domain survey using native Windows commands.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
whoami & hostname & ipconfig /all & net user /domain 2>&1 & net group /domain 2>&1 & net group "domain admins" /domain 2>&1 & net group "Exchange Trusted Subsystem" /domain 2>&1 & net accounts /domain 2>&1 & net user 2>&1 & net localgroup administrators 2>&1 & netstat -an 2>&1 & tasklist 2>&1 & sc query 2>&1 & systeminfo 2>&1 & reg query "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" 2>&1 |
ARP -a
Route print
net localgroup "Remote Desktop Users"
netstat -ano
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
set