备份: 完整开发状态(含反混淆脚本和临时文件)

This commit is contained in:
ccdojox-crypto
2025-12-17 17:18:02 +08:00
parent 9e2333c90c
commit 7e9ea173a7
2872 changed files with 326818 additions and 249 deletions

35
check_unicode.js Normal file
View File

@@ -0,0 +1,35 @@
/**
* 检查 Unicode 转义序列
*/
const fs = require('fs');
const inputPath = 'D:/temp/破解/cursorpro-0.4.5/deobfuscated_full/extension/out/webview/provider.js';
const code = fs.readFileSync(inputPath, 'utf8');
// 查找 Unicode 转义 \uXXXX
const unicodeRegex = /\\u[0-9a-fA-F]{4}/g;
const unicodeMatches = code.match(unicodeRegex) || [];
console.log('Unicode 转义数量:', unicodeMatches.length);
if (unicodeMatches.length > 0) {
const unique = [...new Set(unicodeMatches)];
console.log('唯一值:', unique.slice(0, 30).join(', '));
// 找到包含 Unicode 的行
const lines = code.split('\n');
let count = 0;
lines.forEach((line, i) => {
if (unicodeRegex.test(line) && count < 10) {
console.log(`${i+1}: ${line.substring(0, 150)}...`);
count++;
unicodeRegex.lastIndex = 0;
}
});
}
// 检查是否有中文字符
const chineseCount = (code.match(/[\u4e00-\u9fff]/g) || []).length;
console.log('\n中文字符数量:', chineseCount);
// 文件大小
console.log('文件大小:', (code.length / 1024).toFixed(2), 'KB');