peewpw / Invoke-PSImage

Encodes a PowerShell script in the pixels of a PNG file and generates a oneliner to execute
MIT License
2.16k stars 397 forks source link

No effect after opening image created by this script #15

Closed hommmi closed 6 years ago

hommmi commented 6 years ago

I used this PS>Invoke-PSImage -Script .\Invoke-Mimikatz.ps1 -Image .\kiwi.jpg -Out .\evil-kiwi.png evil-kiwi.png was created and had lower quality than original (as mentioned) but upon opening nothing happened. What could be the reason?

peewpw commented 6 years ago

You need to run the command the tool outputs in order to execute the payload. Please see the readme for more details.