[原创][原创]某浏览器和输入法小众软件base64加解密
2023-4-30 22:1:0 Author: bbs.pediy.com(查看原文) 阅读量:11 收藏

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

void decrypt(char * data, int filesize, char * dst) {

    char * key = "Z#jM0NeVv#wMDG9+8rwzxVsti80A=j5a.op";

    if (dst == 0)

    {

        dst = new char[filesize + 1024];

        memset(dst, 0, filesize + 1024);

    }

    int i = 0, j = 0;

    for (; i < filesize; i++, j++)

    {

        int k = j % 0x23;

        dst[i] = data[i] ^ key[k];

    }

}


文章来源: https://bbs.pediy.com/thread-277049.htm
如有侵权请联系:admin#unsafe.sh