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

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

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

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

等级头衔

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): g. O% `; f4 l& O8 C
  2.         {
    ' U4 A0 {" n. @' l/ B8 L
  3.                 if (this.socket.Connected)5 z! U/ d3 p: }. ^8 J
  4.                 {
    # X9 M; ], j% m; b5 V+ l' ^0 n
  5.                         Debug.Log(string.Format("错误:重复建立Socke连接,重新连接时请先断开之前的连接", new object[0]));
    2 _' F2 h7 d/ b! t7 |$ d& S. A# X
  6.                         return;& |/ b. ^  e  E& J: Z7 |
  7.                 }
    5 O! v$ y7 z' O
  8.                 this.address = address;
    , L; B' B& G6 |
  9.                 this.port = port;$ d/ s: D, J1 O* N* q
  10.                 MD5 md = MD5.Create();
    $ J( B+ U' s6 N% d! S5 M/ r. W) `
  11.                 string a = "12546f1c61454538c45490";
    8 `7 ^5 _* _0 ^0 l$ M4 r, V- \
  12.                 string a2 = "1252051ca54456902c7054bc";6 h+ x! g, o1 w9 Z
  13.                 string a3 = "66610b45455576";
    ; D+ A5 M+ M* d8 C. {& {
  14.                 string a4 = "4582fdgs4545wr42saf1";
    ) c4 f9 W- ?/ D# l
  15.                 byte[] bytes = Encoding.Default.GetBytes(address);
    2 A( B" m3 j: e, I( g4 X
  16.                 byte[] array = md.ComputeHash(bytes);
    # B- N8 s8 D1 \8 ~
  17.                 string text = string.Empty;
    7 F6 D) `+ r- @
  18.                 for (int i = 0; i < array.Length; i++)
    " m6 _( R+ r, d: O: C7 G2 s  A
  19.                 {* \& l( }% [, w
  20.                         text += array[i].ToString("x6");7 U+ ?. r4 |, L& z4 b6 a, v
  21.                 }( \$ J2 d, s& D$ U) `; M
  22.                 byte[] bytes2 = Encoding.Default.GetBytes(text);8 h; L2 b! C: o1 s+ @
  23.                 byte[] array2 = md.ComputeHash(bytes2);
    % \/ a5 f0 M0 Z' u& ?
  24.                 string text2 = string.Empty;
    ' L4 x3 ~0 B+ s4 D0 \5 [) Z
  25.                 for (int j = 0; j < array2.Length; j++)
    & V8 i7 ]0 d! B: w- l
  26.                 {! G: c+ r, `! t1 g2 r  a# x
  27.                         text2 += array2[j].ToString("x2");
    # A6 |( a& H% \5 q" p" Y/ p
  28.                 }1 J: q, v4 @6 P& {/ I- m5 f; {$ u
  29.                 if (!(a == text2) && !(a2 == text2) && !(a3 == text2))/ B( O. Z0 f0 I8 H
  30.                 {
    ; f, Q. ?5 x) r: [4 d) b, U
  31.                         if (!(a4 == text2))
    4 Q4 B- [9 \1 E8 J; @
  32.                         {$ S$ ~% C" }# q7 R
  33.                                 this.Disconnect();% D+ V2 N* W' k+ F5 R
  34.                                 return;' j8 J6 R* z1 M* n5 E
  35.                         }) X# D4 K4 W( V6 [  o2 Y/ c/ X( k8 I
  36.                 }7 F. H  Z% v5 j' K/ u& N" W! X
  37.                 try# P! b0 @- F, X2 w
  38.                 {
    ; c3 t! w: o/ E5 _2 e7 V' l4 [
  39.                         Log.Debug("Socket尝试建立连接");
    6 X( w1 ]" C6 l! K
  40.                         this.ConnectStatus = ConnectStatusEnum.HasConnect;1 j) ^, G2 W1 t
  41.                         this.connetTime = Time.time;
    ; K. ~/ ^' E0 r3 z/ G
  42.                         this.result = this.socket.BeginConnect(address, port, null, null);
    6 `! P1 M$ E* f! U0 v) o
  43.                         TimerManager.GetInstance().AddTimerTask(new TimerTask(500f, new Action(this.checkConnect)));
    . S% }/ }7 ^: s. }5 s
  44.                 }
    , Z! z' f9 K, x0 y- p* l3 p2 \
  45.                 catch (SocketException ex); J8 G, ^2 y; m) o0 h& x
  46.                 {
    ( a; y. x/ T  K6 X: m
  47.                         this.result = null;5 s( X" V7 }* n% n" ~) C" B( e
  48.                         this.socket.Close();
    - t9 Q+ S$ Z, ~, u" f5 X9 t" T) F
  49.                         Debug.Log(string.Format("连接服务器{0}:{1}失败:{2}", address, port, ex.Message));
    5 e! [0 k0 v8 l( q* C$ U
  50.                         this.Disconnect();% ~3 t0 |' l7 r! e! M0 u
  51.                 }3 R; S  R+ N5 }+ J  B5 U3 l8 {! J
  52.         }
复制代码
% J: m9 X. L' H) {

7 p/ e  d/ t) d1 j7 a* ?$ d
; @2 U1 N2 v" y$ A% w
  1. address=ip地址
    3 F8 i+ W# `* y+ j  Q- ]
  2. / |! S9 \* x0 Z7 F7 [6 |* ]
  3. byte[] bytes = Encoding.Default.GetBytes(address);
    " ~, ]& l  p8 ~
  4.                 byte[] array = md.ComputeHash(bytes);$ B: q0 }& I# g  B, k8 `
  5.                 string text = string.Empty;
    ) B( w0 L: m  @* Q8 l
  6.                 for (int i = 0; i < array.Length; i++)
    ) x+ H1 x$ d, b" B/ v+ g1 G
  7.                 {
    ) Y, m4 d; h0 X$ S
  8.                         text += array.ToString("x6");; x) D9 z! x- T4 b
  9.                 }9 l4 R2 r2 z/ n" M8 e
  10.                 byte[] bytes2 = Encoding.Default.GetBytes(text);- \5 [' {4 y5 H2 {+ r
  11.                 byte[] array2 = md.ComputeHash(bytes2);
    2 Z! b! R; r( \0 Y+ j- q1 V
  12.                 string text2 = string.Empty;
    7 C; u6 K( U3 v1 O7 h
  13.                 for (int j = 0; j < array2.Length; j++)0 M, _0 O5 {( Y4 x% `' v" A- J
  14.                 {
    / k% x$ T2 X' p4 A' p  t8 ^
  15.                         text2 += array2[j].ToString("x2");- ~- Q4 }4 Q* [$ y6 v3 H6 D2 u) b; @
  16.                 }
    $ v1 [3 X% U) g0 _
  17. text2就是最终密文
复制代码

/ o4 m4 }2 X& [4 Q) \9 m' Q
  {/ ~( p+ X5 l1 m3 W3 P( ~& m* M* f: }/ y
免责
帖子地址打造全网最多免费游戏网站
今日来客 列表模式
本周有问题处理时间20:30-00:00预计下周上夜班  8.12发布
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-8-25 04:51

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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