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

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

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

[复制链接]
灌水成绩
18183
96
18691
主题
帖子
积分

等级头衔

ID : 1

管理员

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

发表于 1 小时前 | 显示全部楼层 |阅读模式 IP:广东东莞
免责
  1. public void Connect(string address, int port)4 [+ L9 I! ^$ u
  2.         {
    3 P! u( @8 R- A3 [# s1 r
  3.                 if (this.socket.Connected)
    4 L7 A' v5 ^6 x8 p7 J
  4.                 {
    0 F2 P1 c' t+ L8 ~8 Z
  5.                         Debug.Log(string.Format("错误:重复建立Socke连接,重新连接时请先断开之前的连接", new object[0]));; o, V* n' S4 V# p
  6.                         return;
    + V5 C$ D1 G9 i4 Z9 v! h2 f
  7.                 }
    0 L8 N; H- X( N+ A% I  h5 H
  8.                 this.address = address;( w! c1 p9 ]! P  V' o, b2 L9 p9 w# W
  9.                 this.port = port;6 O& S- s# K2 e
  10.                 MD5 md = MD5.Create();
    6 k* i# c' ]' u+ H
  11.                 string a = "12546f1c61454538c45490";
    ' s' E/ q" {! E% k9 C
  12.                 string a2 = "1252051ca54456902c7054bc";9 ~! \, @! _: }  Q& M
  13.                 string a3 = "66610b45455576";) e1 U5 }5 P* l5 Z9 \& r  x
  14.                 string a4 = "4582fdgs4545wr42saf1";
    0 F# @; L5 \" H7 C6 O. F
  15.                 byte[] bytes = Encoding.Default.GetBytes(address);
    $ |3 z$ g( a, |1 |6 k8 ^
  16.                 byte[] array = md.ComputeHash(bytes);
    4 ?; C) ~& t% }4 G0 U7 Q- `6 U
  17.                 string text = string.Empty;
    ' q* g" z8 B# D
  18.                 for (int i = 0; i < array.Length; i++)
    & ^- J8 B8 x0 M/ w
  19.                 {, H2 F9 s: p3 f
  20.                         text += array[i].ToString("x6");
    " U6 }; H1 ?( m9 i
  21.                 }* h, r- v1 m. I( }9 Y5 N
  22.                 byte[] bytes2 = Encoding.Default.GetBytes(text);
    9 @: w& @( H5 e) N
  23.                 byte[] array2 = md.ComputeHash(bytes2);8 r/ U% s. J9 q8 W2 W
  24.                 string text2 = string.Empty;
    6 O- ]; Y. ]5 s3 T9 T0 W
  25.                 for (int j = 0; j < array2.Length; j++)
    7 }3 @! X6 I; A1 y9 u, W
  26.                 {
    / X% s$ W+ i9 Q, I5 B7 C* D
  27.                         text2 += array2[j].ToString("x2");: j+ C* U* R) b, T% b( |
  28.                 }
    ; T* E" Q& z$ F9 A. b& {
  29.                 if (!(a == text2) && !(a2 == text2) && !(a3 == text2))$ }" B( S9 k3 ^+ P# \8 ^/ Z5 W
  30.                 {8 o" r% Y* S, ?/ y6 j
  31.                         if (!(a4 == text2))# G- _! J. N( ]! F! F4 ~6 j
  32.                         {
    / t0 p9 G9 R7 P1 M9 P2 K7 d0 T
  33.                                 this.Disconnect();
    % L* U2 T/ i! ~1 @7 ?4 b
  34.                                 return;1 j. ]4 g+ Y/ c! S- e' O4 V) A  O  E
  35.                         }
    4 t: |) `/ A6 D6 l+ e" f
  36.                 }
    ; L+ X0 C; d; a4 O7 Z0 w; a& @
  37.                 try
    6 G! H- C2 I/ u
  38.                 {
    9 h; B! L9 Y4 K) I
  39.                         Log.Debug("Socket尝试建立连接");
    : H6 _) D- E; P; o5 c/ C2 r* z; J
  40.                         this.ConnectStatus = ConnectStatusEnum.HasConnect;
    : @- X6 y/ |: C! s- S& ]* k9 R# S
  41.                         this.connetTime = Time.time;
    0 L5 v6 T* T% J" X
  42.                         this.result = this.socket.BeginConnect(address, port, null, null);
    ' u- x2 h7 q0 U( {' [
  43.                         TimerManager.GetInstance().AddTimerTask(new TimerTask(500f, new Action(this.checkConnect)));
    ' E" \; S. ^1 g$ G* Z, q9 ], \
  44.                 }
    - a6 `0 `: e" Z0 x: K  H
  45.                 catch (SocketException ex)" P' [! U. X( ~& c  Z
  46.                 {
    ) V6 z; Z' J5 r
  47.                         this.result = null;
    7 A# U# R$ N& ^
  48.                         this.socket.Close();: H0 y. K+ e; S2 p( Y
  49.                         Debug.Log(string.Format("连接服务器{0}:{1}失败:{2}", address, port, ex.Message));& h. x! h# F7 {4 P
  50.                         this.Disconnect();
    + R3 t0 e; C2 A
  51.                 }
    & n# a' T3 R4 s5 [
  52.         }
复制代码
, {2 c" @! d& K: I4 P* ]

0 p/ S1 A5 z! u) s7 x  n+ |. C& D
  1. address=ip地址
    , o; f$ M# B& p- ~# e5 l( [
  2. , ^  f) S6 O9 i6 g4 }: y
  3. byte[] bytes = Encoding.Default.GetBytes(address);  s6 x4 L* o$ _$ K2 g: T8 F
  4.                 byte[] array = md.ComputeHash(bytes);
    : l! f( ~1 {+ b- \# p0 I! e- J
  5.                 string text = string.Empty;' K" {# V# a4 ?! t3 q
  6.                 for (int i = 0; i < array.Length; i++)1 k. }$ h/ B, p- x/ y/ Z
  7.                 {$ V" k- q2 U  r& a8 h2 x9 [6 p
  8.                         text += array.ToString("x6");
    % Z; o# o- }4 [
  9.                 }
    ; M4 D3 A- h; M8 i) H+ T% W2 K
  10.                 byte[] bytes2 = Encoding.Default.GetBytes(text);' U6 R, c- @+ O# n
  11.                 byte[] array2 = md.ComputeHash(bytes2);9 g1 y% M7 D) u: c7 V" g% m  M! Y6 S
  12.                 string text2 = string.Empty;9 X, l8 D/ l8 t& p, N
  13.                 for (int j = 0; j < array2.Length; j++)
    $ M8 g# E. b, r6 B
  14.                 {9 j6 s* k# f) ~( C; D! f  i0 c2 n
  15.                         text2 += array2[j].ToString("x2");
    ; T/ w4 a8 e+ d9 u6 O
  16.                 }) P7 b  z2 ?2 n; V
  17. text2就是最终密文
复制代码
( d; ]3 p) J% _" H6 I* Z6 C
6 C& R% R( S; [2 Q
免责
帖子地址打造全网最多免费游戏网站
今日来客 列表模式
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-7-11 01:59

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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