ExploitRemotingService icon indicating copy to clipboard operation
ExploitRemotingService copied to clipboard

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

Open gsdt opened this issue 6 years ago • 2 comments

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?

gsdt avatar Nov 11 '19 09:11 gsdt

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

simen-wu avatar Nov 29 '19 18:11 simen-wu

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

The-July-Plot avatar Oct 23 '20 17:10 The-July-Plot