Skip to content

Cannot build PNG on Powershell for Kali #14

@MoeR3za

Description

@MoeR3za

Apparently, This tool cannot be used on Powershell installed on Kali Linux even with dotnet installed.

Here's the log:-

PS /root/Invoke-PSImage> Invoke-PSImage -Image ./Small-mario.png -Script ./file.ps1 -O Evil.png 
Invoke-PSImage : Unable to find type [System.Web.Security.Membership].
At line:1 char:1
+ Invoke-PSImage -Image ./Small-mario.png -Script ./file.ps1 -O Evil.pn ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (System.Web.Security.Membership:TypeName) [Invoke-PSImage], RuntimeException
+ FullyQualifiedErrorId : TypeNotFound,Invoke-PSImage

After some searching I found out that System.Web.Security.Membership is part of System.Web assembly.

Tried to Add-Type it, same issue..

Then figured out that that Assembly relies on SII, .NET Framework, while on Kali only .NET Core is available, not Framework.

I Submitted this issue just to bring this matter to your knowledge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions