Powershell execution policy’s effect on remote processes
A piece of python code at work was designed to run a few .ps1 scripts on remote machines to test for weak spots, using impacket.
The flow is –
We use impacket’s SMBConnection to upload .bat and .ps1 files to the remote machine.
impacket … Continue reading Powershell execution policy’s effect on remote processes