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

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

Open
gsdt opened this issue Nov 11, 2019 · 2 comments
Open

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

gsdt opened this issue Nov 11, 2019 · 2 comments

Comments

@gsdt
Copy link

gsdt commented Nov 11, 2019

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?

@simen-wu
Copy link

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

@The-July-Plot
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants