Skip to content

Commit 1025228

Browse files
committed
bug fix on replace
1 parent 0065e8e commit 1025228

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

obfuscator-script/src/main/Core.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public static String find(String xmlO, String key) {
129129
} else {
130130
encrypted = AES.encrypt(result, key);
131131
toShow = result;
132-
xmlO = xmlO.replaceAll(result, encrypted);
132+
xmlO = xmlO.replaceAll(">" + result + "<", ">" + encrypted + "<");
133133
}
134134

135135

sample/AndroidStringObfuscator.jar

17 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)