Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build PNG on Powershell for Kali #14

Open
MoeR3za opened this issue Aug 31, 2018 · 0 comments
Open

Cannot build PNG on Powershell for Kali #14

MoeR3za opened this issue Aug 31, 2018 · 0 comments

Comments

@MoeR3za
Copy link

MoeR3za commented Aug 31, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant