Skip to content

Couldn't get instance of System.IO.DirectoryInfo from server. #6

Open

Description

@gsdt

When running command: .\ExploitRemotingService.exe --uselease --autodir --ver=2 tcp://<ip>:23453/Server, I got an exception:

System.ArgumentException: Couldn't get instance of System.IO.DirectoryInfo from server.
   at ExploitRemotingService.SerializerRemoteClass.Cast[T]()
   at ExploitRemotingService.Program.ExecuteCommand(IRemoteClass c)
   at ExploitRemotingService.Program.Main(String[] args)

The remote server is runing RemotingService under C# .NET 3.5 on Windows Server 2008?

Activity

  1. simen-wu commented on Nov 29, 2019

    @simen-wu

    I got the same problem. I use option '--ver 4'.

  2. The-July-Plot commented on Oct 23, 2020

    @The-July-Plot

    Try building it as x85 and run from a x86 PowerShell ISE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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