Enumeration
Users
Basic info
whoami /all
whoami /priv
whoami /groupsExecute command as other user (I)
$p = ConvertTo-SecureString 'password' -AsPlainText -Force
$c = New-Object System.Management.Automation.PSCredential ('user',$p)
Start-Process -Credential $c -NoNewWindow -ArgumentList "-Command & { whoami }" -FilePath "powershell"Execute command as other user (II)
PSCredential () {
echo -e "\n\t[+] \$user = 'user'"
echo -e "\t[+] \$pw = 'password'"
echo -e "\t[+] \$secpw = ConvertTo-SecureString \$pw -AsPlainText -Force"
echo -e "\t[+] \$cred = New-Object System.Management.Automation.PSCredential \$user, \$secpw"
echo -e "\t[+] Invoke-Command -ComputerName localhost -Credential \$cred -ScriptBlock { whoami }"
}Files
Search content inside
Permissions
Find files
Registers
List installed programs
Ports & Hosts
Discover internal hosts (I)
Discover internal hosts (II)
Computers
System info
Remote Desktop
On hand commands
Sysinternals tools
Last updated