We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Come up with a good way to make this translatable
Kitsune/src/main/java/optic_fusion1/kitsune/tool/impl/StringsTool.java
Line 243 in 8deecb4
String ldcString = ldcInsnNode.cst.toString(); AbstractInsnNode minus1 = instruction.getPrevious(); if (normalize) { ldcString = ldcString.toLowerCase().trim(); } String decodedString = ""; // TODO: Move Base64 to a general deobfuscation tool // TODO: Properly support Base64 if (minus1 instanceof MethodInsnNode methodInsnNode && methodInsnNode.owner.equals("java/util/Base64")) { decodedString = new String(Base64.getDecoder().decode(ldcInsnNode.cst.toString())); } // TODO: Come up with a good way to make this translatable String finalString = classNode.name + "#" + methodNode.name + ": " + ldcString + (decodedString.isBlank() ? "" : " Decoded: " + decodedString); String sha1Hash = ""; if (showSha1Hash) { sha1Hash = DigestUtils.sha1Hex(ldcString); } if (removeDuplicateStrings) { if (strings.contains(finalString)) {
725daca6a1c7fd2194cc4065a044600b5b1da93c
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Come up with a good way to make this translatable
Kitsune/src/main/java/optic_fusion1/kitsune/tool/impl/StringsTool.java
Line 243 in 8deecb4
725daca6a1c7fd2194cc4065a044600b5b1da93c
The text was updated successfully, but these errors were encountered: