91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.89M
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2024-06-15
  • 語言: C#
  • 標簽: 服務端??20??江湖??服務??

資源簡介

熱血江湖20服務端源代碼

RXJH20服務端

資源截圖

代碼片段和文件信息

using?System;
using?System.Net;
using?System.Net.Sockets;
using?System.Text;
using?System.Timers;
using?RxjhServer;

[SecureMethod]
public?class?AtServerConnect
{
private?byte[]?數據包;

private?Socket?socket_0;

private?System.Timers.Timer?timer_0;

public?AtServerConnect()
{
數據包?=?new?byte[10240000];
timer_0?=?new?System.Timers.Timer(5000.0);
timer_0.Elapsed?+=?timer_0_Elapsed;
timer_0.AutoReset?=?true;
timer_0.Enabled?=?true;
}

public?void?Dispose()
{
if?(timer_0?!=?null)
{
timer_0.Enabled?=?false;
timer_0.Close();
timer_0.Dispose();
}
try
{
socket_0.Shutdown(SocketShutdown.Both);
}
catch
{
}
if?(socket_0?!=?null)
{
socket_0.Close();
}
socket_0?=?null;
}

private?void?method_0(IAsyncResult?iasyncResult_0)
{
try
{
((Socket)iasyncResult_0.AsyncState).EndConnect(iasyncResult_0);
try
{
Form1.WriteLine(2?“攻擊伺服器連接成功?端口?“?+?World.AtPort?+?“?IP?“?+?World.帳號驗證服務器IP);
發送(“攻擊伺服器連接|“?+?World.游戲服務器端口2);
socket_0.BeginReceive(數據包?0?數據包.Length?SocketFlags.None?OnReceiveData?this);
}
catch?(Exception?ex)
{
Form1.WriteLine(1?“攻擊伺服器ConnectCallback出錯:“?+?ex.Message);
}
}
catch?(Exception?ex2)
{
Form1.WriteLine(1?“攻擊伺服器連接出錯:“?+?ex2.Message);
}
}

public?virtual?void?OnReceiveData(IAsyncResult?iasyncResult_0)
{
try
{
if?(socket_0.EndReceive(iasyncResult_0)?>?0)
{
socket_0.BeginReceive(數據包?0?數據包.Length?SocketFlags.None?OnReceiveData?this);
}
}
catch?(Exception?ex)
{
Form1.WriteLine(1?“攻擊伺服器接收出錯:“?+?ex.Message);
}
}

public?void?OnSended2(IAsyncResult?iasyncResult_0)
{
try
{
socket_0.EndSend(iasyncResult_0);
}
catch?(Exception?ex)
{
Form1.WriteLine(1?“攻擊伺服器發送出錯:“?+?ex.Message);
}
}

public?void?ProcessDataReceived(byte[]?byte_0?int?int_0)
{
try
{
int?num?=?0;
byte[]?array?=?new?byte[4];
System.Buffer.BlockCopy(byte_0?2?array?0?4);
int?num2?=?BitConverter.ToInt32(array?0);
if?(int_0? {
return;
}
try
{
while?(true)
{
byte[]?array2?=?new?byte[num2];
System.Buffer.BlockCopy(byte_0?num?+?6?array2?0?num2);
num?+=?num2?+?6;
if?((array2[0]?==?170?&&?array2[1]?==?85?&&?num2?==?45?&&?!World.allConnectedChars.TryGetValue(BitConverter.ToInt16(array2?5)?out?var?_))?||?num?>=?int_0?||?byte_0[num]?!=?170?||?byte_0[num?+?1]?!=?102)
{
break;
}
System.Buffer.BlockCopy(byte_0?num?+?2?array?0?4);
num2?=?BitConverter.ToInt16(array?0);
}
}
catch
{
}
}
catch?(Exception?ex)
{
Form1.WriteLine(1?“攻擊確認發送出錯:“?+?ex.Message);
}
}

public?virtual?void?Send(byte[]?byte_0?int?int_0)
{
try
{
byte[]?array?=?new?byte[int_0?+?6];
array[0]?=?170;
array[1]?=?102;
System.Buffer.BlockCopy(BitConverter.GetBytes(int_0)?0?array?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2022-07-21?00:48??20GSGS源\
?????目錄???????????0??2022-07-16?20:58??20GSGS源\.vs\
?????目錄???????????0??2022-07-16?21:04??20GSGS源\.vs\GameServer\
?????目錄???????????0??2022-07-16?21:04??20GSGS源\.vs\GameServer\DesignTimeBuild\
?????文件???????16306??2022-07-21?00:50??20GSGS源\.vs\GameServer\DesignTimeBuild\.dtbcache.v2
?????目錄???????????0??2022-07-16?21:04??20GSGS源\.vs\GameServer\v16\
?????文件???????35840??2022-07-21?00:50??20GSGS源\.vs\GameServer\v16\.suo
?????文件????????4656??2022-07-16?20:56??20GSGS源\AtServerConnect.cs
?????文件????????1540??2022-07-16?20:56??20GSGS源\Class3.cs
?????文件????????4313??2022-07-16?20:56??20GSGS源\EncryptionClass.cs
?????文件????????4753??2022-07-16?20:56??20GSGS源\EncryptionaClass.cs
?????文件????????6059??2022-07-16?20:56??20GSGS源\EncryptionmClass.cs
?????文件????????1058??2022-07-16?20:25??20GSGS源\GameServer.csproj
?????文件????????1709??2022-07-21?00:50??20GSGS源\GameServer.csproj.user
?????文件????????1125??2022-07-16?22:05??20GSGS源\GameServer.sln
?????文件????????2966??2022-07-16?20:56??20GSGS源\GetHardwareInfoClass.cs
?????文件?????????828??2022-07-16?20:56??20GSGS源\HardWareInfo.cs
?????目錄???????????0??2022-07-17?21:22??20GSGS源\Properties\
?????文件?????????801??2022-07-17?02:07??20GSGS源\Properties\AssemblyInfo.cs
?????文件????????1028??2022-07-17?01:04??20GSGS源\Properties\Resources.cs
?????目錄???????????0??2022-07-16?20:57??20GSGS源\RxjhServer\
?????文件?????????658??2022-07-16?20:56??20GSGS源\RxjhServer\AtapiDevice.cs
?????文件????????6571??2022-07-16?20:56??20GSGS源\RxjhServer\AtapiDevicea.cs
?????文件?????????283??2022-07-16?20:56??20GSGS源\RxjhServer\baseLock.cs
?????文件????????3017??2022-07-16?20:56??20GSGS源\RxjhServer\BbgSellClass.cs
?????文件???????63441??2022-07-16?20:56??20GSGS源\RxjhServer\BigInteger.cs
?????文件???????16511??2022-07-16?20:56??20GSGS源\RxjhServer\BinIP.cs
?????文件????????8046??2022-07-16?20:57??20GSGS源\RxjhServer\BinIP.resx
?????文件????????6144??2022-07-16?20:56??20GSGS源\RxjhServer\BossClass.cs
?????文件????????3355??2022-07-16?20:56??20GSGS源\RxjhServer\Buffer.cs
?????文件????????4345??2022-07-16?20:56??20GSGS源\RxjhServer\CRC32.cs
............此處省略297個文件信息

評論

共有 條評論