设为首页收藏本站 国外访客:

 找回密码
 立即注册
搜索
查看: 8723|回复: 0

[教程/工具] 星辰奇缘苹果端绑定域名解密方法

[复制链接]
灌水成绩
18747
118
19309
主题
帖子
积分

等级头衔

ID : 1

管理员

积分成就 威望 : 8
贡献 : 9
下载币 : 419
在线时间 : 1915 小时
注册时间 : 2013-9-5
最后登录 : 2026-8-25

发表于 2026-7-11 00:15:40 | 显示全部楼层 |阅读模式 IP:广东东莞
免责
  1. public void Connect(string address, int port)5 H- ~7 _& e1 {6 d, I
  2.         {
    8 }( h" ]2 t6 U( V! r' P
  3.                 if (this.socket.Connected)# {4 I6 q- I" _
  4.                 {
    ' q% {* }, }, F
  5.                         Debug.Log(string.Format("错误:重复建立Socke连接,重新连接时请先断开之前的连接", new object[0]));0 M/ g0 _6 `& a" `& V1 K
  6.                         return;
    ' H* s* W$ M1 m, J- c4 T* o
  7.                 }- _3 h# e% ^! [: [
  8.                 this.address = address;
    / h& ?- w% {6 Z& R9 a: O
  9.                 this.port = port;9 r  a* _: ~& a  W& C8 l% A$ s0 g
  10.                 MD5 md = MD5.Create();+ v; g* j( x/ @  y& {. @7 n
  11.                 string a = "12546f1c61454538c45490";
    4 b1 H1 z/ b: J) ]
  12.                 string a2 = "1252051ca54456902c7054bc";( u. R" d& B/ k, J; D4 D4 s
  13.                 string a3 = "66610b45455576";: a7 J5 C" T3 T; [% P3 O  J. |) E
  14.                 string a4 = "4582fdgs4545wr42saf1";; U$ t9 R& U5 X6 O$ I* B- V
  15.                 byte[] bytes = Encoding.Default.GetBytes(address);
    . L# u) M( M6 o8 M. {6 F
  16.                 byte[] array = md.ComputeHash(bytes);. |8 A0 n% y! m& t
  17.                 string text = string.Empty;
    - M! ]6 s+ A& Y) H6 B; F! `
  18.                 for (int i = 0; i < array.Length; i++), j" A; l6 m  \* U6 G  Z6 Y6 f
  19.                 {) R) \- \) `0 z: L. }# X
  20.                         text += array[i].ToString("x6");
    0 P* o) V& [9 w/ G
  21.                 }
    6 F, W7 m! Y# F
  22.                 byte[] bytes2 = Encoding.Default.GetBytes(text);+ G2 b7 |0 a; b' J. E7 t
  23.                 byte[] array2 = md.ComputeHash(bytes2);
    # c/ \: j2 r/ m7 e% }3 ?
  24.                 string text2 = string.Empty;
    # C7 Y8 y7 a1 G- S& \7 N4 Y
  25.                 for (int j = 0; j < array2.Length; j++)" \7 {( ~# F3 A& \" M) v5 Y/ l
  26.                 {- i2 O6 Y0 y* p' x  h! J2 j/ C+ }
  27.                         text2 += array2[j].ToString("x2");
    " h3 C. H5 j9 v
  28.                 }& X/ u: \5 P0 k1 Q) t. J# _/ q3 P" T
  29.                 if (!(a == text2) && !(a2 == text2) && !(a3 == text2))
    + t8 E9 s  R# f- F
  30.                 {5 _6 N2 N" P3 r
  31.                         if (!(a4 == text2))
    6 d6 ^  f0 x5 [
  32.                         {' E2 \+ E+ u1 F& r! T
  33.                                 this.Disconnect();
    , `' I( C' J4 E& J( K
  34.                                 return;( A3 X6 r) R* f% k8 ]) c5 m
  35.                         }
    ( ?- Y3 p* d: v
  36.                 }1 ^7 b% @0 l# o
  37.                 try( q/ V/ X1 F% V0 v3 C
  38.                 {9 F$ n+ O2 i5 D" {# S" J
  39.                         Log.Debug("Socket尝试建立连接");, x, ?) R' f- I7 d) e
  40.                         this.ConnectStatus = ConnectStatusEnum.HasConnect;% |, o' |- L4 [4 ^! u
  41.                         this.connetTime = Time.time;2 Z) s( a; Z- ~7 X8 S) \8 j
  42.                         this.result = this.socket.BeginConnect(address, port, null, null);, H: _1 g9 f; q- s% U% x+ X
  43.                         TimerManager.GetInstance().AddTimerTask(new TimerTask(500f, new Action(this.checkConnect)));
    # Y% R0 ^7 H7 P# V, V( ]/ G  ~
  44.                 }9 d% y8 @( g, k1 g) K; j( |
  45.                 catch (SocketException ex)
    9 u7 {8 t. l2 C4 M. i' X
  46.                 {
    ; a# `% p* c- |; e9 t2 _
  47.                         this.result = null;
    1 K$ [$ h. S6 F! r0 |
  48.                         this.socket.Close();: M4 ~) _7 _3 `6 Q/ y
  49.                         Debug.Log(string.Format("连接服务器{0}:{1}失败:{2}", address, port, ex.Message));
      }2 v& E1 b$ I- X2 m( N
  50.                         this.Disconnect();
    / w- j  @2 e! X9 `2 |/ b2 ]" Y7 }* M
  51.                 }7 r; ]: a% {: y7 f  N& u* `- ~
  52.         }
复制代码

* v5 u! Y0 f3 O9 {2 W) {) ~7 e3 ^1 [/ G+ o6 J* E* S0 i4 H
! D7 k; `- J4 |6 U" c9 P
  1. address=ip地址, b7 o1 o6 S8 l
  2. $ T  t' \4 {" ~7 T+ ]
  3. byte[] bytes = Encoding.Default.GetBytes(address);. [9 i) n9 e) s3 p: e% n
  4.                 byte[] array = md.ComputeHash(bytes);
    4 P) F; S1 b8 W: Z% z3 e  l
  5.                 string text = string.Empty;+ {# j) D$ y0 C. s* Y' M- @
  6.                 for (int i = 0; i < array.Length; i++)
    9 a4 J7 ^  ?1 k! I
  7.                 {9 }# A* v; H/ ~
  8.                         text += array.ToString("x6");
    ) W! Z! H1 o6 P( W
  9.                 }3 S6 t' ^- M5 m1 a6 g
  10.                 byte[] bytes2 = Encoding.Default.GetBytes(text);
    , d0 V2 ~" Y; M/ l* M
  11.                 byte[] array2 = md.ComputeHash(bytes2);) J% w- G, i! o/ Y* A) ~
  12.                 string text2 = string.Empty;; O6 d6 I( j& V! ^* S/ r: a
  13.                 for (int j = 0; j < array2.Length; j++)
    7 ]$ e7 Z8 j4 `6 ^! H$ @
  14.                 {3 O; L9 P8 P4 g' [4 \2 v
  15.                         text2 += array2[j].ToString("x2");
    ! l  q6 a8 D& U
  16.                 }
    0 r7 o0 @; B* B7 U- l
  17. text2就是最终密文
复制代码
# W. n  ~8 ]6 r! n  b/ N9 q

1 O* z9 Q! W" l  D
免责
帖子地址打造全网最多免费游戏网站
今日来客 列表模式
本周有问题处理时间20:30-00:00预计下周上夜班  8.12发布
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|蔡州手游 |网站地图 wapmz.com

GMT+8, 2026-8-25 10:17

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表