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

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

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

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

等级头衔

ID : 1

管理员

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

发表于 2 小时前 | 显示全部楼层 |阅读模式 IP:广东东莞
免责
  1. public void Connect(string address, int port)" N: N  x% u5 @  x8 ?
  2.         {
    6 }. [) L& V/ o" C" V
  3.                 if (this.socket.Connected)% l/ R+ K. S: R- s, j4 U; Y9 h  X- l
  4.                 {
    $ h, \# F& q) Y, a) W! j, j! l) B3 o  f
  5.                         Debug.Log(string.Format("错误:重复建立Socke连接,重新连接时请先断开之前的连接", new object[0]));0 M; ]0 l: U* a. \
  6.                         return;
    $ q  o- \' _/ s& y7 T
  7.                 }
    ) [9 }5 T+ V8 ?
  8.                 this.address = address;
    0 u+ t/ h' m. K) z
  9.                 this.port = port;: ?2 Y. p/ ?) `' V7 O' L
  10.                 MD5 md = MD5.Create();
    - O- }4 ]0 Y. Y
  11.                 string a = "12546f1c61454538c45490";
    $ `( U& o- p7 O* L, L
  12.                 string a2 = "1252051ca54456902c7054bc";1 z% i; h* c5 D* n  k
  13.                 string a3 = "66610b45455576";4 N+ m$ r1 O0 G; u) L: q: m: U+ Y
  14.                 string a4 = "4582fdgs4545wr42saf1";
    " I5 }* b& {! o0 ?
  15.                 byte[] bytes = Encoding.Default.GetBytes(address);2 s! }  o$ g  K( I) I. h
  16.                 byte[] array = md.ComputeHash(bytes);
    6 @1 q8 P3 g# B( ?: E# k' v
  17.                 string text = string.Empty;
    2 x; U4 z1 J( n2 k& J  H( K
  18.                 for (int i = 0; i < array.Length; i++)
    4 ^4 A* k: i( Z4 F3 U/ A- E: Y( f% a
  19.                 {
    ; v- E, Q4 j  \  Z: O
  20.                         text += array[i].ToString("x6");2 ~  \, k2 W5 T, t
  21.                 }( R# O+ @  T+ v; R3 p
  22.                 byte[] bytes2 = Encoding.Default.GetBytes(text);
    & H6 d+ \' v; `. |; d6 [
  23.                 byte[] array2 = md.ComputeHash(bytes2);
    $ r! d/ u  G5 @5 F) ^2 q. P
  24.                 string text2 = string.Empty;
    4 X0 i0 _) ]8 P' h; S
  25.                 for (int j = 0; j < array2.Length; j++)0 l2 s: r8 M) Z  N1 i. S& k3 d8 P
  26.                 {
    7 y3 N& I* k% ^( b& [9 e
  27.                         text2 += array2[j].ToString("x2");: |$ u7 h4 V, J2 I
  28.                 }  l% h4 f8 g9 D2 s- j
  29.                 if (!(a == text2) && !(a2 == text2) && !(a3 == text2))5 C$ f1 B  _$ M+ Y" ?$ o$ T
  30.                 {
    * a$ M$ ^% K: ~) g- l# |3 `5 Q2 ]
  31.                         if (!(a4 == text2))2 _2 b8 D3 D; P: k$ f: _
  32.                         {
    , \' J8 o( v# F* @
  33.                                 this.Disconnect();5 L4 I" A2 S( u2 d* I
  34.                                 return;
    " \4 g/ W% \: X4 ^; o4 b
  35.                         }2 z: k, |' @; q( [
  36.                 }
    8 A, Y" ~/ D6 F
  37.                 try
    3 m5 a: k1 y* h
  38.                 {- C! S5 h0 T7 i4 T0 O1 Z' \
  39.                         Log.Debug("Socket尝试建立连接");, ]: I+ O  ]# c7 I8 N- A# d3 Q* h0 c
  40.                         this.ConnectStatus = ConnectStatusEnum.HasConnect;
    : s8 c8 Z4 k1 [! n; K9 T; J
  41.                         this.connetTime = Time.time;
    8 \# u0 z% p2 E9 L5 I2 Z- v) M- `6 _
  42.                         this.result = this.socket.BeginConnect(address, port, null, null);# k; P# @+ c0 X: p7 h
  43.                         TimerManager.GetInstance().AddTimerTask(new TimerTask(500f, new Action(this.checkConnect)));9 m, e0 T8 J9 g- Y
  44.                 }
    + Q( e- K! E/ {% g+ F% L/ A
  45.                 catch (SocketException ex)5 ^/ N8 ?: c6 [% h( _* T% W% y/ V
  46.                 {. m# @0 f) i1 P# N+ M
  47.                         this.result = null;" H3 z* _7 C  E# w) `. N
  48.                         this.socket.Close();
    ' g% d& i  ^6 ?  x( B; w$ C
  49.                         Debug.Log(string.Format("连接服务器{0}:{1}失败:{2}", address, port, ex.Message));( R$ |+ e) c8 t0 o$ `. U
  50.                         this.Disconnect();1 Y2 U; u: _9 s7 \6 U
  51.                 }7 w, C: s: _% Q. @. b5 @
  52.         }
复制代码
. J% s) K6 d$ }0 t( |2 e$ M* A$ j

! ^0 T8 R2 I8 o) B" H* Q8 M) r$ x3 Y% {
  1. address=ip地址
    + c" G& }2 @' }0 m% |0 u
  2.   e+ {/ ~1 ]9 B  S7 a) V
  3. byte[] bytes = Encoding.Default.GetBytes(address);( H% e1 x! Q6 |
  4.                 byte[] array = md.ComputeHash(bytes);
    " n; n$ N( a" r; h4 b9 D
  5.                 string text = string.Empty;# [2 i# |8 a5 j5 E1 t! \
  6.                 for (int i = 0; i < array.Length; i++)6 u; A5 |, Q! W3 S3 k2 V  f
  7.                 {( `$ g6 h# T7 L
  8.                         text += array.ToString("x6");: L0 F. C- q9 ~. y- G9 G
  9.                 }: z; M2 w  _2 c2 ]* c$ @6 z
  10.                 byte[] bytes2 = Encoding.Default.GetBytes(text);# _7 d- H4 q  ]- d4 t
  11.                 byte[] array2 = md.ComputeHash(bytes2);9 u: Z( `* G  z) ?
  12.                 string text2 = string.Empty;
    ' x5 O2 O( d$ {, U# L% k
  13.                 for (int j = 0; j < array2.Length; j++)
    . B; n# N" X5 F
  14.                 {, b8 a/ z1 K" K6 q3 B9 _
  15.                         text2 += array2[j].ToString("x2");
    8 a3 i$ I1 M) I4 x  M
  16.                 }
    ! ^/ o3 k! l1 d0 @/ @' \( B
  17. text2就是最终密文
复制代码

+ _' G8 m, K& @  a8 A+ H$ R7 \
+ B; A0 U  x0 p( Q6 j0 i
免责
帖子地址打造全网最多免费游戏网站
今日来客 列表模式
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-7-11 02:57

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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