|
[求助]怎样应付游戏的动态加密??
顶一下。。。。。。。。。。。。 |
|
[求助]怎样应付游戏的动态加密??
好不容易找到了这样的一段描述,大家看看有什么办法 服务端从加解密算法执行代码库中随机挑选一组动态加密算法执行模块; 对该动态加密算法执行模块的执行代码进行初始化,取得加密函数与解密 函数的调用入口;将所述的动态加密算法执行模块应用于网络数据的加密 和解密。 客户端接收服务器端下发的动态加密算法执行模块;对该动态加密算法执行 模块的执行代码进行初始化,取得加密函数与解密函数的调用入口;将所述的 动态加密算法执行模块应用于网络数据的加密和解密。 客户端具有随时处理动态加密算法的能力;在任何时候客户端都保持着等待 服务端下发的动态加密算法的通知,该通知可以是启动动态算法,更换动态加 密算未能或撤消动态加密算法,客户端一旦收到上述通知能立即作出相关的反应。 服务端能在任意时候通知客户端启动,更换,撤消动态加密算法。比如:玩家用户名, 密码验证的时候,登录角色时候,使用仓库的时候,对珍贵物品进行交易的时候,当 涉及上述操作时,服务端可以按规则强行通知客户端使用动态加密算法对后续的 数据包进行了加密和解密,待这些操作完成以后,服务端也可以有选择的通知客户 端更换或撤消动态加密算法,必得先前的会话数据通讯。 所述动态加密算法是一段可执行的代码,该代码中含有代码校验,代码混乱,程序 检测,加密算法,解密算法,其长度由服务端决定。每个可执行代码由服务端按一定 的规则随机生成。它由三大部分组成:原入口点,加密函数入口点和解密函数入口点。 其中只有原入口点是对外开放的,加密与解密函数的入口点是隐藏不可见的。 客户端收到动态加密算法后,会装入预先安排好的环境,传入参数并从它的原入口点 开始执行。在执行过程中,客户端并不知道动态加密算法的具体运行状况,在正确的执行 完毕后,将返回隐藏的加密,解密的入口点。 校验代码被随机的放置在动态加密算法的各个地方,当客户端从原入口点开始执行动态 加密算法时,会启动检验代码的模块。当数据进入动态加密算法中的加密和解密入口时, 也会随机的调用检验代码的模块。这些检验代码将对客户端,动态加密算法本身进行合法 性检查,一旦发现有非法状况,立刻进入非法处理模块进行处理。 |
|
|
|
[求助]怎样应付游戏的动态加密??
。。。。这么多天都没人解答一下吗?? |
|
[求助]请问相同的RSA密钥加密相同的内容,结果会相同吗??
我把加密的部分抽出来单独运行,就下面的几句话,每次得到的结果也是不一样的.... const unsigned char m_ucKey[] = "\x30\x48\x02\x41\x00\xAF\x6E\x44\x24\x8F\x40\xA7\x36\x3A\xEC\x1C" "\x58\xB4\x77\x9B\x24\x42\x14\x9A\xC1\xC0\xA5\x71\x11\x14\xC9\x07" "\xD2\xC1\x49\xE9\xDB\x6F\x1B\xF8\x2F\x80\xDD\xCC\x09\xEE\x9B\xED" "\x7F\x34\xFD\xA2\x23\xBB\x44\x8F\x7B\xA6\x97\x75\x0A\x92\x3A\x8B" "\x76\xEB\xF0\xE8\xD1\x02\x03\x01\x00\x01"; const unsigned char * m_ucKey_p = m_ucKey; RSA * m_pRsa; int m_iRsaOutLen; char m_cRsaOutData[200]; m_pRsa = RSA_new(); m_pRsa = d2i_RSAPublicKey(NULL, &m_ucKey_p, 74); memset(m_cRsaOutData, '\0', sizeof(m_cRsaOutData)); const unsigned char aa[] = "xiong"; const unsigned char * bb = aa; m_iRsaOutLen = RSA_public_encrypt(5, bb, (unsigned char *)m_cRsaOutData, m_pRsa, 1); |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值