Create-WMIshell
Create-WMIshell copied to clipboard
Getting Started
- Navigate to the directory containing Create-WmiShell.psm1 and the 2 VB scripts
- Import-Module .\Create-WmiShell.psm1
- New-WmiShell -ComputerName <hostname or IP> -UserName <Domain\Administrator> -UploadTo
-Encoding <Base64 or Hex> - List-WmiShells
- Enter-WmiShell -Session <# from List-WmiShells>
When creating a new wmishell, you can start powershell with the runas.exe command and skip the -UserName parameter.
TODOs
- Test functionality against (multiple) target host file
- Better implementation of List-WmiShells function
- Test Close-WmiShell function