Instalar powershell en Kali Linux

wget http://old.kali.org/kali/pool/main/i/icu/libicu57_57.1-9_amd64.deb
sudo dpkg -i libicu57_57.1-9_amd64.deb
sudo apt-get install -y curl gnupg apt-transport-https
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add –
sudo echo “deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main” | tee /etc/apt/sources.list.d/powershell.list
sudo apt update
sudo apt install gss-ntlmssp
sudo apt install powershell
pwsh

Nota: Es importante usar el repo de Powershell para Debian, y también instalar gss-ntlmssp, para poder usar el comando Enter-PSSession

Ejemplo: Enter-PSSession -ComputerName 1.1.1.1 -Authentication Negotiate -Credential $(get-credential)

https://kiazhi.github.io/blog/powershell/Installing-PowerShell-in-Kali-Linux/

https://thomask.sdf.org/blog/2019/12/15/linux-windows-powershell-remoting-troubleshooting.html

Comments are closed.