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

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

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

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

等级头衔

ID : 1

管理员

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

发表于 7 小时前 | 显示全部楼层 |阅读模式 IP:广东东莞
免责
  1. public void Connect(string address, int port). t9 \) ?3 h% C) _
  2.         {8 L7 `% x" ?, F6 t. r. }0 I
  3.                 if (this.socket.Connected)
    ' n; w$ k+ \  e  N3 g( T2 w
  4.                 {: A4 _/ _  y7 |3 B; z1 H' H
  5.                         Debug.Log(string.Format("错误:重复建立Socke连接,重新连接时请先断开之前的连接", new object[0]));
    5 N; ?0 M) T2 f4 t: X& a
  6.                         return;3 r0 n/ N, `' L, g! w1 ^
  7.                 }
    ( |, m! h2 r8 U
  8.                 this.address = address;
    # K' T6 d, `2 E3 |; F
  9.                 this.port = port;
    4 A. h* C' b+ M9 f. P3 D
  10.                 MD5 md = MD5.Create();" I; i6 j  e4 u4 _0 U# a
  11.                 string a = "12546f1c61454538c45490";
    9 ~& c8 i  J! h6 o
  12.                 string a2 = "1252051ca54456902c7054bc";
    5 d' F( C) i5 l$ k, R8 P
  13.                 string a3 = "66610b45455576";9 @$ i: \2 m/ T! D% X& _, D
  14.                 string a4 = "4582fdgs4545wr42saf1";
    # S1 l" y( ^8 I0 l
  15.                 byte[] bytes = Encoding.Default.GetBytes(address);. e9 ~* J: j5 \3 l. c3 Y
  16.                 byte[] array = md.ComputeHash(bytes);9 |  U' _/ O. I
  17.                 string text = string.Empty;" j  k% |/ ~! E3 A& o
  18.                 for (int i = 0; i < array.Length; i++)
    1 o+ M  q! L; X+ |  l" G
  19.                 {
    ( W* _. R6 |& S2 q4 M, i" e
  20.                         text += array[i].ToString("x6");8 k' ]+ Q- t" x8 Q* t9 J
  21.                 }6 S1 N' n+ }4 D3 n+ f$ D
  22.                 byte[] bytes2 = Encoding.Default.GetBytes(text);
    , C% ~5 p7 O! B! d/ ~0 S
  23.                 byte[] array2 = md.ComputeHash(bytes2);
    , X2 f3 ~- ?6 v0 e; G# I' ?
  24.                 string text2 = string.Empty;$ q7 D6 P/ i- _/ b7 o
  25.                 for (int j = 0; j < array2.Length; j++)$ R+ v; ^/ v$ g$ {0 }# a
  26.                 {- ~  `+ j. P. [" [  a) U
  27.                         text2 += array2[j].ToString("x2");
    8 _; X' X/ R3 d: E; A- C
  28.                 }" W% t# s: X6 I, v( E
  29.                 if (!(a == text2) && !(a2 == text2) && !(a3 == text2))2 x! S0 X% b9 I% g, n
  30.                 {9 D% l* o2 L& \% O1 ]3 ?4 Y3 t: y
  31.                         if (!(a4 == text2)), X) ^7 `  B2 ~
  32.                         {
    + ]& ]* a! c, [. M6 b$ k+ [
  33.                                 this.Disconnect();
    1 J8 o1 n* O* D( f' N% g
  34.                                 return;
    * o7 s  |3 _% X7 y3 o% o0 W; w2 l
  35.                         }
      r/ I$ t& M% ^* c& H* S- y
  36.                 }
    1 d# b' X( `8 R" Z
  37.                 try
    ! C$ \& ^  U7 C: h3 g
  38.                 {: w9 l, {4 {& @3 D
  39.                         Log.Debug("Socket尝试建立连接");( i' z9 d- R& D% p4 ~
  40.                         this.ConnectStatus = ConnectStatusEnum.HasConnect;+ S/ n1 I; t9 B6 }
  41.                         this.connetTime = Time.time;
    ( I) X( g1 V) p) @' J/ B6 U
  42.                         this.result = this.socket.BeginConnect(address, port, null, null);
    ; N' ~/ S! P/ B1 k
  43.                         TimerManager.GetInstance().AddTimerTask(new TimerTask(500f, new Action(this.checkConnect)));
    ' e& H5 n4 \' T: N( j* B; M
  44.                 }9 B* Z+ H8 H, t; l% F0 \, q
  45.                 catch (SocketException ex)
    2 b$ ?+ Z0 u& q8 @$ N
  46.                 {
    7 u. L3 B' A/ a' c; ?8 k8 J8 ]
  47.                         this.result = null;
    1 u# n  N# A8 O* }: V
  48.                         this.socket.Close();
    - a3 J3 z# R8 V2 O6 d) O, X
  49.                         Debug.Log(string.Format("连接服务器{0}:{1}失败:{2}", address, port, ex.Message));
    0 z. ^& O  p+ V
  50.                         this.Disconnect();5 f- s8 J; s1 D& N1 h
  51.                 }! ^+ u, h/ O3 D+ D7 O. v
  52.         }
复制代码
. a6 S$ E# `/ e7 o
7 c6 G- s8 x  Q3 z' K4 `
9 }& z; a- s* P- y& T
  1. address=ip地址: }7 n8 Q% |2 x" K* z

  2.   _4 L3 V; Y1 Z
  3. byte[] bytes = Encoding.Default.GetBytes(address);0 l7 s# r7 M9 y$ m
  4.                 byte[] array = md.ComputeHash(bytes);- m* N( j5 B4 y1 y
  5.                 string text = string.Empty;1 ?2 E+ V9 v& e+ \9 _# D& w
  6.                 for (int i = 0; i < array.Length; i++); r' ~6 I6 W/ G% U- W
  7.                 {, b: d1 f  A. F/ t3 B
  8.                         text += array.ToString("x6");
    ! U  w1 o9 R( P4 ]
  9.                 }
    9 h. D  p6 _0 ^2 {# h
  10.                 byte[] bytes2 = Encoding.Default.GetBytes(text);: P/ s* R6 J+ L) R2 L7 I' \9 y
  11.                 byte[] array2 = md.ComputeHash(bytes2);
    ! P# b! H. }! |: Y0 G! |' d5 D
  12.                 string text2 = string.Empty;9 @4 W4 c0 i( S) ], {' M* r
  13.                 for (int j = 0; j < array2.Length; j++). Q4 {" q7 M+ \: A+ A8 s; K8 g# l
  14.                 {
    2 w1 }" l! [6 p: [4 t! X
  15.                         text2 += array2[j].ToString("x2");
    6 e% \$ ?7 x6 C
  16.                 }
    % m* S  i- `) n
  17. text2就是最终密文
复制代码

! T! u3 a9 N+ E$ w& F
/ \, C7 w, }, I
免责
帖子地址打造全网最多免费游戏网站
今日来客 列表模式
回复

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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