فهرست منبع

增加xml混淆

JustryDeng 4 سال پیش
والد
کامیت
a04333b2e3

+ 2 - 1
class-winter-core/src/main/java/winter/com/ideaaedi/classwinter/executor/DecryptExecutor.java

@@ -271,7 +271,8 @@ public class DecryptExecutor {
             // 只处理有印章的
             byte[] cleanedBytes = IOUtil.readFileFromWorkbenchRoot(zipFile, zipEntryName);
             if (DecryptExecutor.verifySeal(cleanedBytes)) {
-            byte[] encryptedBytes = IOUtil.readFileFromWorkbenchRoot(zipFile, Constant.DEFAULT_ENCRYPTED_NON_CLASSES_SAVE_DIR + zipEntryName);
+                byte[] encryptedBytes = IOUtil.readFileFromWorkbenchRoot(zipFile,
+                        Constant.DEFAULT_ENCRYPTED_NON_CLASSES_SAVE_DIR + zipEntryName);
                 byte[] bytes = EncryptUtil.decrypt(encryptedBytes, userIfInputPwdWhileDecrypt ? password :
                         obtainAutoGeneratedPwdWhileEncrypt(zipFilePath, Constant.DEFAULT_ENCRYPTED_BASE_SAVE_DIR));
                 replaceMap.put(zipEntryName, bytes);