海森游戏VIP客户端及其游戏破解

海森游戏VIP客户端及其游戏破解教程[]

海森游戏VIP客户端及其游戏破解

游戏破解方法一

发现游戏下载完安装后还需要再次激活抓包发现 联网获取游戏的 encodeKey 来解压游戏启动文件、而每次把客户端游戏启动程序一关闭又会删除原本的游戏启动文件(解压完的游戏文件默认是隐藏的需要电脑设置查看隐藏文件才看得见),获取游戏的encodeKeyapi为:http://yx.haisenyouxi8.com/hsgame/game/getById(post请求 id=hsgame.ini文件里面的id),通过hsgame_client.dll里面来判断是否登录或激活

游戏破解方法二【C#】

  1. using System;  
  2. using System.Collections.Generic;  
  3. using System.ComponentModel;  
  4. using System.Data;  
  5. using System.Drawing;  
  6. using System.IO;  
  7. using System.Linq;  
  8. using System.Net;  
  9. using System.Runtime.InteropServices;  
  10. using System.Text;  
  11. using System.Web.Script.Serialization;  
  12. using System.Windows.Forms;  
  13.    
  14. namespace GameDLL  
  15. {  
  16.     public partial class Form1 : Form  
  17.     {  
  18.         public Form1()  
  19.         {  
  20.             InitializeComponent();  
  21.         }  
  22.    
  23.         private void button1_Click(object sender, EventArgs e)  
  24.         {  
  25.                         string id = ReadConfig<string>(“.\\hsgame.ini”“config”“id”);  
  26.                         string result = null;  
  27.                         try  
  28.                         {  
  29.                                 result = getGameData(id);  
  30.                                 analysis(result);  
  31.                         }  
  32.                         catch (Exception)  
  33.                         {  
  34.                                 MessageBox.Show(“需要联网下载encodeKey和赠品地址”);  
  35.                         }  
  36.                            
  37.                 }  
  38.                 private void getExe(string key) {  
  39.                         string exename = ReadConfig<string>(“.\\hsgame.ini”“config”“exeName”);  
  40.                         FileStream fileStream = new FileStream(“.\\hsgame.dll”, FileMode.Open, FileAccess.Read);  
  41.                         BinaryReader binaryReader = new BinaryReader(fileStream);  
  42.                         FileStream fileStream2 = new FileStream(“.\\” + exename, FileMode.CreateNew); 
  43.                         bool flag = binaryReader.PeekChar() != -1; 
  44.                         if (flag) 
  45.                         { 
  46.                                 byte[] array; 
  47.                                 while ((array = binaryReader.ReadBytes(1024)).Length != 0) 
  48.                                 { 
  49.                                         fileStream2.Write(decodeByte(array, key), 0, array.Length); 
  50.                                 } 
  51.                         } 
  52.                         fileStream2.Close(); 
  53.                         binaryReader.Close(); 
  54.                         fileStream.Close(); 
  55.                 } 
  56.                 private static byte[] decodeByte(byte[] bytes, string key) 
  57.                 { 
  58.                         byte[] bytes2 = Encoding.UTF8.GetBytes(key); 
  59.                         for (int i = 0; i < bytes.Length; i++) 
  60.                         { 
  61.                                 foreach (byte b in bytes2) 
  62.                                 { 
  63.                                         bytes[i] ^= b; 
  64.                                 } 
  65.                         } 
  66.                         return bytes; 
  67.                 } 
  68.                 public static T ReadConfig<T>(string FileName, string section, string key) 
  69.                 { 
  70.                         bool flag = File.Exists(FileName); 
  71.                         T result; 
  72.                         if (flag) 
  73.                         { 
  74.                                 string text = ReadContentValue(section, key); 
  75.                                 bool flag2 = text == null || string.IsNullOrEmpty(text.Trim()); 
  76.                                 if (flag2) 
  77.                                 { 
  78.                                         result = default(T); 
  79.                                 } 
  80.                                 else 
  81.                                 { 
  82.                                         bool isEnum = typeof(T).IsEnum; 
  83.                                         if (isEnum) 
  84.                                         { 
  85.                                                 result = (T)((object)Enum.Parse(typeof(T), text, true)); 
  86.                                         } 
  87.                                         else 
  88.                                         { 
  89.                                                 result = (T)((object)Convert.ChangeType(text, typeof(T))); 
  90.                                         } 
  91.                                 } 
  92.                         } 
  93.                         else 
  94.                         { 
  95.                                 result = default(T); 
  96.                         } 
  97.                         return result; 
  98.                 } 
  99.                 [DllImport(“kernel32“)] 
  100.                 private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retval, int size, string filePath); 
  101.                 public static string ReadContentValue(string Section, string key) 
  102.                 { 
  103.                         StringBuilder stringBuilder = new StringBuilder(1024); 
  104.                         GetPrivateProfileString(Section, key, ““, stringBuilder, 1024, “.\\hsgame.ini“); 
  105.                         return stringBuilder.ToString(); 
  106.                 } 
  107.                 private string getGameData(string id) { 
  108.                         string url = “http://yx.haisenyouxi8.com/hsgame/game/getById”;  
  109.                         HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);  
  110.                         req.Method = “POST“; 
  111.                         req.ContentType = “application/x-www-form-urlencoded“; 
  112.                         byte[] data = Encoding.UTF8.GetBytes(“id=“+id); 
  113.                         req.ContentLength = data.Length; 
  114.                         using (Stream reqStream = req.GetRequestStream()) 
  115.                         { 
  116.                                 reqStream.Write(data, 0, data.Length); 
  117.                                 reqStream.Close(); 
  118.                         } 
  119.   
  120.                         HttpWebResponse resp = (HttpWebResponse)req.GetResponse(); 
  121.                         Stream stream = resp.GetResponseStream(); 
  122.                         string result = null; 
  123.                         //获取内容 
  124.                         using (StreamReader reader = new StreamReader(stream, Encoding.UTF8)) 
  125.                         { 
  126.                                 result = reader.ReadToEnd(); 
  127.                         } 
  128.                         Console.WriteLine(result); 
  129.                         return result; 
  130.                 } 
  131.                 private void analysis(string json) { 
  132.                         JavaScriptSerializer serializer = new JavaScriptSerializer(); 
  133.                         Dictionary<string, Object> o = (Dictionary<string, Object>)serializer.DeserializeObject(json); 
  134.                         Dictionary<string, Object> o2 = (Dictionary<string, Object>)o[“json“]; 
  135.                         Object encodeKey = o2[“encodeKey“]; 
  136.                         Object giftUrl = o2[“giftUrl“]; 
  137.                         getExe(encodeKey.ToString()); 
  138.                         openBrowser(giftUrl.ToString()); 
  139.                           
  140.                 } 
  141.                 private void openBrowser(string url) { 
  142.                         if (url == null || url.Trim().Length <= 0) 
  143.                         { 
  144.                                 MessageBox.Show(“没有赠品“); 
  145.                         } 
  146.                         else { 
  147.                                 System.Diagnostics.Process.Start(url); 
  148.                                 MessageBox.Show(“赠品地址已经打开 记得保存哦”);  
  149.                         }  
  150.                 }  
  151.         }  
  152. }  

客户端破解说明

客户端移除了每次启动强制更新以及账号登录功能 目前客户端有778个游戏,不过每次客户端启动贼慢要去服务器端获取数据通过抓包发现了获取游戏的api(http://yx.haisenyouxi8.com/hsgame/game/query/(POST请求 没有参数))获取到所有游戏 json格式,返回的数据有用的为::downloadUrl:游戏下载地址,giftUrl:赠品下载地址(修改器存档之类的东西)、encodeKey: 解密游戏的key

使用说明

以下文件自选其一使用

海森游戏VIP客户端:下载海森游戏VIP客户端解压后打开hsgame_query1.exe即可

hsgame_client.dll:复制到程序根目录替换即可

GameDLL.exe:拷贝到安装游戏后桌面创建的快捷方式文件所在目录运行直接解压就可以

附件下载

给TA打赏
共{{data.count}}人
人已打赏
经验分享

通过JavaScript获取腾讯视频M3U8视频链接

2020-4-23 19:08:48

经验分享

使用Python下载PP视频(pptv聚力)蓝光画质及付费视频【转】

2020-5-10 14:07:33

211 条回复 A文章作者 M管理员
  1. 6666

  2. 666666 大哥还是牛逼的

  3. 为人民服务

  4. haobangyo

  5. h

  6. 怎么评论了还是下载不了啊

  7. henbuc

  8. 先试试看

  9. 大神感谢666

  10. 66666

  11. kyky

    • 666

    • ..

  12. 666

  13. 1

  14. 1

  15. 谢谢分享

  16. 感谢作者

  17. ganxie~~~~

  18. shishi

  19. 666

  20. ASDASDAD

  21. 拿走了

  22. 66

  23. 111

  24. 刚来 看看

  25. 666

  26. 插眼

  27. 怎么样

  28. 可不可以

  29. 还行

  30. 12165415916

  31. 试试

  32. 666666

  33. 这款软件真的很不错

  34. 试试

  35. 666

  36. 大哥可以

  37. 评论了也下不了?

    • 不可能吧?

  38. dsfdfwfsczcwfdscsfewefz

  39. 想下载,评论看看

    • 刚刚试了,即时评论了也提示说没有下载权限

    • 刷新之后就可以下载了

  40. 厉害了大哥

  41. 我应用程序打不开为什么啊

    • 下载网页打不开啊我这

  42. 我都评论了怎么还不能下载

    • 刷新网页~

  43. 大哥可以

  44. xiexie

  45. 不错,就是更新有点慢

  46. 666

  47. 666

  48. ✗咧嘴笑✗ ✗咧嘴笑✗ ✗咧嘴笑✗ ✗咧嘴笑✗ ✗咧嘴笑✗ ✗咧嘴笑✗ ✗咧嘴笑✗

  49. 回复下载///////

  50. zan

  51. 楼主牛逼 找这个好久了

  52. 6

  53. 真的很棒

  54. 很棒

  55. 666

  56. 很赞

  57. 非常感谢

  58. TH

  59. 123123132

  60. 来看看,好不好玩啊

  61. 这个是破解客户端吗

  62. 自己动手呗,谢了

  63. 来看看,好不好玩啊

  64. 感谢分享

  65. 感谢分享

  66. 3.。。 ✗我爱你✗

  67. 感谢分享

  68. 感谢分享

  69. 试试吧

  70. 评论了也不能下载啊

  71. 来看看,好不好玩啊

  72. pinglunle 也不能下载??????

  73. 5454454545

  74. 感谢感谢博主分享

  75. 评论才能下载吗?

  76. 来看看

  77. 不知道怎么用

  78. ??????????

  79. 来看看好不好用

  80. 可以,下载试试

  81. 感谢分享

  82. 66

  83. !!! 点赞 下载试试

  84. 坑爹怎么下载啊

  85. new bee

  86. niubi

  87. 666让我试试,谢谢老哥

  88. 试一试

  89. 地对地导弹

  90. 1265464

  91. 他人4跳舞(((((ી(・◡・)ʃ)))))

    • jj

  92. 来看看好不好用

  93. 怎么下载客户端啊

    ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗ ✗哭了✗

  94. 试一试看好不好用

  95. shi shi kan

  96. 白嫖使我快乐

  97. 1

  98. 1

  99. 111

  100. 好使不,好使就太牛皮了

  101. 实打实大大

  102. 是假的

  103. 感谢分享~

  104. 谢谢大佬

  105. 感谢感谢

  106. niuniandaji

  107. 谢谢分享

  108. xixi

  109. 好家伙!

  110. xxxxxx

  111. 大神你好,为啥我昨天下载游戏还好使,今天下载的东西都需要激活码了呀?

    • 谢谢大神的回复,感谢大神~~~

  112. ss

  113. 666

  114. +666

  115. 我看看这个有多好

  116. 我也看看这个有多好

  117. 谢谢分享

  118. xx

  119. h

  120. 感谢感谢大佬

  121. 1231`2312312132

  122. 实时会死u方式来恢复了爽够了溶剂3

  123. 楼主厉害

  124. 666

  125. 好像真能用!

  126. 谢谢大佬

  127. 感谢大佬!!

    • 牛啊

  128. 666

  129. 优秀

  130. niub

  131. 666

  132. 666

  133. 啦啦啦啦啦啦啦啦

  134. 真牛逼

  135. 666

  136. 想着想着想着想着

  137. 试试呗

  138. 不管我会不会用 一率点赞

  139. 00000

  140. 是不是不要登录器了 最讨厌这个东西了

  141. 大佬

  142. 大佬nb

  143. 学习大佬

  144. 汗淮欣喜地收下了

  145. 大佬!!

  146. 666

  147. 666

  148. 来来来看看看

  149. 大佬NB

  150. adaddsadwdxsad f?

  151. 大佬np

  152. 大佬牛逼牛逼

  153. 666

  154. 谢谢大佬

  155. 大佬牛逼啊

  156. 顶!~~~~~~~

  157. 牛皮66

  158. 666

  159. 666

  160. 666 谢谢

  161. 666

  162. 666

  163. 大佬牛

  164. ?感谢大佬分享

  165. NB

  166. 二万五若无

  167. 来看看,好不好玩啊

  168. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

  169. QWWQC

  170. 试一下,可不可以用

  171. 感谢大佬的分享 谢谢

  172. 感谢大佬分享

  173. xx

  174. 谢谢分享

    • 666

  175. 谢谢谢谢666

  176. 股份的广告

  177. 感谢

  178. aaaaaaaaaaaaaaaaaaaa

  179. 感谢

  180. 大神,现在下载的游戏替换文件后虽然显示激活了,但是会闪退,请问怎么搞?

    • 使用方法1试试

    • 博主

      大神大大,方法一好像只能打开vip目录下载游戏,并不能启动

    • 本来就是不能启动的,你只能在网盘内下载这游戏,这么小的压缩包怎么可能有那么多游戏

  181. 太棒了楼主

  182. 0.0

  183. 11

  184. 6

  185. 厉害

  186. 666

  187. 1

  188. a

  189. 厉害

  190. 怎么下载

  191. 3333

  192. 牛逼大佬

  193. 怎么下载

  194. 6666

  195. 怎么下载

  196. 我要下载!

  197. 试一试不知道行不行

个人中心
购物车
优惠劵
搜索