Skip to content

PowerShell Connection Script (.ps1) Enterprise

Creates a .ps1 script that stores a connection command in a location an attacker may run or copy. Useful for SMB, SSH, FTP, and other services.

Generate from the relevant service row (most services except client-profile shortcuts such as FileZilla, PuTTY, or WinSCP).

Installation

Run the script with a leading space to avoid recording it in your own history:

powershell
 .\script.ps1