WinRAR 突然就有弹窗广告了 ,找了个方法,重新写一下安装目录下的 rarreg.key,确实有效果但是重写的和之前的完全一样啊,至少在文本中完全一样,怎么回事。
下面附上两个文件,
1.key 是原始key,rarreg.key是达到去弹窗的key
写了个程序也发现是一样的 。
1 #include <iostream> 2 #include <cstdio> 3 #include <fstream> 4 #include <algorithm> 5 #include <cmath> 6 #include <deque> 7 #include <vector> 8 #include <queue> 9 #include <string> 10 #include <cstring> 11 #include <map> 12 #include <stack> 13 #include <set> 14 #define LL long long 15 #define INF 0x3f3f3f3f 16 #define OPEN_FILE 17 using namespace std; 18 19 char s1[30][101]; 20 char s2[30][101]; 21 int main() 22 { 23 #ifdef OPEN_FILE 24 freopen("1.key", "r", stdin); 25 //freopen("out.txt", "w", stdout); 26 #endif // OPEN_FILE 27 int i = 0; 28 while (~scanf("%s", s1[i])){ 29 i++; 30 } 31 freopen("rarreg.key", "r", stdin); 32 int j = 0; 33 while (~scanf("%s", s2[j])){ 34 j++; 35 } 36 bool flag = false; 37 for (int k = 0; k < i; k++){ 38 int len = strlen(s1[k]); 39 if (len != strlen(s2[k])){ 40 flag = true; 41 break; 42 } 43 for (int p = 0; p < len; p++){ 44 if (s1[k][p] != s2[k][p]){ 45 flag = true; 46 break; 47 } 48 } 49 } 50 51 if (flag){ 52 printf("NO\n"); 53 } 54 else{ 55 printf("YES\n"); 56 } 57 58 }
1.key
1 RAR registration data 2 Federal Agency for Education 3 1000000 PC usage license 4 UID=b621cca9a84bc5deffbf 5 6412612250ffbf533df6db2dfe8ccc3aae5362c06d54762105357d 6 5e3b1489e751c76bf6e0640001014be50a52303fed29664b074145 7 7e567d04159ad8defc3fb6edf32831fd1966f72c21c0c53c02fbbb 8 2f91cfca671d9c482b11b8ac3281cb21378e85606494da349941fa 9 e9ee328f12dc73e90b6356b921fbfb8522d6562a6a4b97e8ef6c9f 10 fb866be1e3826b5aa126a4d2bfe9336ad63003fc0e71c307fc2c60 11 64416495d4c55a0cc82d402110498da970812063934815d81470829275
rarreg.key
1 RAR registration data 2 Federal Agency for Education 3 1000000 PC usage license 4 UID=b621cca9a84bc5deffbf 5 6412612250ffbf533df6db2dfe8ccc3aae5362c06d54762105357d 6 5e3b1489e751c76bf6e0640001014be50a52303fed29664b074145 7 7e567d04159ad8defc3fb6edf32831fd1966f72c21c0c53c02fbbb 8 2f91cfca671d9c482b11b8ac3281cb21378e85606494da349941fa 9 e9ee328f12dc73e90b6356b921fbfb8522d6562a6a4b97e8ef6c9f 10 fb866be1e3826b5aa126a4d2bfe9336ad63003fc0e71c307fc2c60 11 64416495d4c55a0cc82d402110498da970812063934815d81470829275
时间: 2024-10-31 04:22:36