星辰奇缘苹果端绑定域名解密方法
本帖最后由 txqphp 于 2023-6-25 19:44 编辑public void Connect(string address, int port)
{
if (this.socket.Connected)
{
Debug.Log(string.Format("错误:重复建立Socke连接,重新连接时请先断开之前的连接", new object));
return;
}
this.address = address;
this.port = port;
MD5 md = MD5.Create();
string a = "12546f1c61454538c45490";
string a2 = "1252051ca54456902c7054bc";
string a3 = "66610b45455576";
string a4 = "4582fdgs4545wr42saf1";
byte[] bytes = Encoding.Default.GetBytes(address);
byte[] array = md.ComputeHash(bytes);
string text = string.Empty;
for (int i = 0; i < array.Length; i++)
{
text += array.ToString("x6");
}
byte[] bytes2 = Encoding.Default.GetBytes(text);
byte[] array2 = md.ComputeHash(bytes2);
string text2 = string.Empty;
for (int j = 0; j < array2.Length; j++)
{
text2 += array2.ToString("x2");
}
if (!(a == text2) && !(a2 == text2) && !(a3 == text2))
{
if (!(a4 == text2))
{
this.Disconnect();
return;
}
}
try
{
Log.Debug("Socket尝试建立连接");
this.ConnectStatus = ConnectStatusEnum.HasConnect;
this.connetTime = Time.time;
this.result = this.socket.BeginConnect(address, port, null, null);
TimerManager.GetInstance().AddTimerTask(new TimerTask(500f, new Action(this.checkConnect)));
}
catch (SocketException ex)
{
this.result = null;
this.socket.Close();
Debug.Log(string.Format("连接服务器{0}:{1}失败:{2}", address, port, ex.Message));
this.Disconnect();
}
}address=ip地址byte[] bytes = Encoding.Default.GetBytes(address);
byte[] array = md.ComputeHash(bytes);
string text = string.Empty;
for (int i = 0; i < array.Length; i++)
{
text += array.ToString("x6");
}
byte[] bytes2 = Encoding.Default.GetBytes(text);
byte[] array2 = md.ComputeHash(bytes2);
string text2 = string.Empty;
for (int j = 0; j < array2.Length; j++)
{
text2 += array2.ToString("x2");
}
text2就是最终密文 qq25251 发表于 2023-6-25 21:24
感谢分享
在线加密 http://42.192.182.102:99/ 看不懂,不知道苹果端为什么不能用。 实打实大实打实大师大师大大声道 泰丰观湖东风股份低功耗电饭锅电饭锅 电饭锅电饭锅电饭锅的鬼地方个地方改的放电饭锅大地飞歌 我发给电饭锅电饭锅电饭锅电饭锅电饭锅 感谢分享 666666666666666666666666666 感谢分享
页:
[1]
2