AdvancedHacker101 / android-c-sharp-rat-server

This is a plugin for the c# R.A.T server providing extension to android based phone systems
Other
21 stars 18 forks source link

Android 7.0 and above Error #5

Open doomed2020 opened 6 years ago

doomed2020 commented 6 years ago

Hi,

I tried testing the Client App on Android 7.0+ Mobiles, Even after giving all the Required Permissions, the Server Crashes even If I click "Test Connection" while "Take Photo" and "Tap Camera" don't work either. The App crashes If I try to "Get Files List" as well.

Here is the Error I am getting:

Application: TutServer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException
   at System.String.Substring(Int32, Int32)
   at AndroidExtension.Class1.GetDataLength(System.String)
   at AndroidExtension.Class1.ReadCallback(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Net.ContextAwareResult.CompleteCallback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Net.ContextAwareResult.Complete(IntPtr)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)

The app is connected to the server as "Client 0" but no other function works, the app does not crash while I press "Take photo" or "Tap Camera", but I don't get any image as well, just Blank "Image View".