首页
社区
课程
招聘
[求助]c#帮忙转化成易语言
发表于: 2019-3-30 21:09 3667

[求助]c#帮忙转化成易语言

2019-3-30 21:09
3667
 public byte[] AddBanInfo(byte[] data)
        {
            int index = IndexOf(data, System.Text.Encoding.Default.GetBytes("ACM_NeedToBan"));
            if (index != -1)
            {
                data[index + 0xD] = 0x74;

            }
            index = IndexOf(data, System.Text.Encoding.Default.GetBytes("ACM_NeedToArrest"));
            if (index != -1)
            {
                data[index + 0x10] = 0x74;

            }
            index = IndexOf(data, System.Text.Encoding.Default.GetBytes("ACM_IsExcluded"));
            if (index != -1)
            {
                data[index + 0xE] = 0x74;

            }
            byte[] dataadd = {
   0xBE, 0x03, 0x7B, 0x22, 0x43, 0x68, 0x65, 0x63, 0x6B, 0x73, 0x22, 0x3A, 0x7B, 0x22, 0x52, 0x31,
    0x22, 0x3A, 0x7B, 0x22, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3A, 0x7B, 0x22, 0x4D, 0x61, 0x78, 0x55,
    0x73, 0x65, 0x72, 0x43, 0x6F, 0x69, 0x6E, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x41, 0x72, 0x72,
    0x65, 0x73, 0x74, 0x22, 0x3A, 0x34, 0x39, 0x39, 0x33, 0x35, 0x38, 0x30, 0x35, 0x2C, 0x22, 0x4D,
    0x61, 0x78, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6F, 0x69, 0x6E, 0x73, 0x42, 0x65, 0x66, 0x6F, 0x72,
    0x65, 0x41, 0x72, 0x72, 0x65, 0x73, 0x74, 0x22, 0x3A, 0x32, 0x31, 0x30, 0x38, 0x34, 0x38, 0x37,
    0x35, 0x35, 0x36, 0x7D, 0x2C, 0x22, 0x74, 0x69, 0x6D, 0x65, 0x73, 0x74, 0x61, 0x6D, 0x70, 0x22,
    0x3A, 0x31, 0x35, 0x34, 0x36, 0x30, 0x39, 0x35, 0x31, 0x32, 0x39, 0x7D, 0x2C, 0x22, 0x52, 0x34,
    0x22, 0x3A, 0x7B, 0x22, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3A, 0x7B, 0x22, 0x6E, 0x75, 0x6D, 0x62,
    0x65, 0x72, 0x22, 0x3A, 0x31, 0x7D, 0x2C, 0x22, 0x74, 0x69, 0x6D, 0x65, 0x73, 0x74, 0x61, 0x6D,
    0x70, 0x22, 0x3A, 0x31, 0x35, 0x34, 0x36, 0x30, 0x39, 0x35, 0x31, 0x32, 0x39, 0x7D, 0x7D, 0x2C,
    0x22, 0x61, 0x72, 0x72, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x3A, 0x7B, 0x22, 0x42, 0x6F, 0x6D,
    0x62, 0x73, 0x42, 0x6F, 0x6F, 0x73, 0x74, 0x22, 0x3A, 0x31, 0x39, 0x2C, 0x22, 0x43, 0x72, 0x6F,
    0x73, 0x73, 0x42, 0x6F, 0x6E, 0x75, 0x73, 0x22, 0x3A, 0x36, 0x2C, 0x22, 0x44, 0x79, 0x6E, 0x61,
    0x6D, 0x69, 0x74, 0x65, 0x41, 0x6E, 0x64, 0x4C, 0x69, 0x67, 0x68, 0x74, 0x6E, 0x69, 0x6E, 0x67,
    0x42, 0x6F, 0x6F, 0x73, 0x74, 0x22, 0x3A, 0x39, 0x2C, 0x22, 0x47, 0x6C, 0x6F, 0x76, 0x65, 0x42,
    0x6F, 0x6E, 0x75, 0x73, 0x22, 0x3A, 0x33, 0x2C, 0x22, 0x48, 0x61, 0x6D, 0x6D, 0x65, 0x72, 0x42,
    0x6F, 0x6E, 0x75, 0x73, 0x22, 0x3A, 0x31, 0x30, 0x2C, 0x22, 0x4C, 0x69, 0x67, 0x68, 0x74, 0x6E,
    0x69, 0x6E, 0x67, 0x42, 0x6F, 0x6F, 0x73, 0x74, 0x22, 0x3A, 0x31, 0x35, 0x2C, 0x22, 0x63, 0x6F,
    0x69, 0x6E, 0x73, 0x22, 0x3A, 0x32, 0x31, 0x30, 0x38, 0x34, 0x38, 0x37, 0x35, 0x35, 0x36, 0x2C,
    0x22, 0x73, 0x74, 0x61, 0x72, 0x73, 0x22, 0x3A, 0x38, 0x39, 0x31, 0x34, 0x2C, 0x22, 0x74, 0x6F,
    0x6B, 0x65, 0x6E, 0x73, 0x22, 0x3A, 0x31, 0x32, 0x30, 0x7D, 0x2C, 0x22, 0x62, 0x61, 0x6E, 0x6E,
    0x65, 0x64, 0x22, 0x3A, 0x74, 0x72, 0x75, 0x65, 0x2C, 0x22, 0x6C, 0x65, 0x76, 0x65, 0x6C, 0x73,
    0x22, 0x3A, 0x7B, 0x22, 0x61, 0x72, 0x72, 0x65, 0x73, 0x74, 0x22, 0x3A, 0x31, 0x35, 0x37, 0x35,
    0x2C, 0x22, 0x62, 0x61, 0x6E, 0x22, 0x3A, 0x31, 0x36, 0x35, 0x32, 0x7D, 0x2C, 0x22, 0x74, 0x69,
    0x6D, 0x65, 0x73, 0x74, 0x61, 0x6D, 0x70, 0x22, 0x3A, 0x7B, 0x22, 0x61, 0x72, 0x72, 0x65, 0x73,
    0x74, 0x22, 0x3A, 0x31, 0x35, 0x34, 0x36, 0x32, 0x31, 0x31, 0x33, 0x34, 0x39, 0x2C, 0x22, 0x62,
    0x61, 0x6E, 0x22, 0x3A, 0x31, 0x35, 0x35, 0x32, 0x36, 0x36, 0x33, 0x35, 0x32, 0x36, 0x7D, 0x7D
};
            int start = IndexOf(data, System.Text.Encoding.Default.GetBytes("ACM_StateStores"));
            int end = IndexOf(data, System.Text.Encoding.Default.GetBytes("AGId"));
            if (end - start > 15)
            {
                byte[] buff = new byte[data.Length - 5 + dataadd.Length];
                Array.Copy(data, buff, start + 0xF);
                Array.Copy(dataadd,0, buff, start + 0xF, dataadd.Length);
                Array.Copy(data, end - 1, buff, start + 0xF + dataadd.Length, data.Length - end + 1);
                data = buff;
            }

            return data;


        }


就是上面的转化成易语言,哪位帮忙弄一下,感谢


[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)

收藏
免费 0
支持
分享
最新回复 (6)
雪    币: 6588
活跃值: (4032)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
等我一天,正在给你转。
2019-3-30 21:51
0
雪    币: 1119
活跃值: (2030)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
亲,感谢你,需要一天时间去转化吗?辛苦你了哦
2019-3-30 22:19
0
雪    币: 1402
活跃值: (341)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
这种问题 你发看雪。。。。我的天。。看雪不是 精易 不是广海  没人会帮你的。不会花时间在你这种问题上。
2019-3-31 00:26
0
雪    币: 1119
活跃值: (2030)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
首次发这种不知道,不好意思,下次知道了
2019-3-31 00:44
0
雪    币: 224
能力值: ( LV1,RANK:0 )
在线值:
发帖
回帖
粉丝
6
俺看不懂  无解了  啊哈哈
2019-3-31 16:27
0
雪    币: 1119
活跃值: (2030)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
7
已经自己解决了!感谢
2019-4-2 00:24
0
游客
登录 | 注册 方可回帖
返回
//