You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run this on a mac but it doesn't embed the script and I don't have an output PNG.
Nota Bene: my input picture is bigger than the script I try to embed it to. (3mb for the JPG and 2.2mb for the script to embed).
New-Object: /Users/mac/Documents/Invoke-PSImage/Invoke-PSImage.ps1:95
Line |
95 | $img = New-Object System.Drawing.Bitmap($Image)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling ".ctor" with "1" argument(s): "The type initializer for 'Gdip' threw an exception."
But I don't obtain an output file. I tried JPG and PNG for the output file, .\Invoke-PSImage.ps1 -Script .\Invoke-Mimikatz.ps1 -Out out.jpg -Image .\input.jpg
if it may help, I run powershell from a Mac.
Could you please assist me?
The text was updated successfully, but these errors were encountered:
Hello
I tried to run this on a mac but it doesn't embed the script and I don't have an output PNG.
Nota Bene: my input picture is bigger than the script I try to embed it to. (3mb for the JPG and 2.2mb for the script to embed).
here are the commands I ran:
New-Object: /Users/mac/Documents/Invoke-PSImage/Invoke-PSImage.ps1:95
Line |
95 | $img = New-Object System.Drawing.Bitmap($Image)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling ".ctor" with "1" argument(s): "The type initializer for 'Gdip' threw an exception."
So I did like that:
But I don't obtain an output file. I tried JPG and PNG for the output file,
.\Invoke-PSImage.ps1 -Script .\Invoke-Mimikatz.ps1 -Out out.jpg -Image .\input.jpg
if it may help, I run powershell from a Mac.
Could you please assist me?
The text was updated successfully, but these errors were encountered: