All Projects → MJVL → UniObfuscator

MJVL / UniObfuscator

Licence: MIT License
Java obfuscator that hides code in comment tags and Unicode garbage by making use of Java's Unicode escapes.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to UniObfuscator

ColonialObfuscator
Java Obfuscator in Beta
Stars: ✭ 23 (-42.5%)
Mutual labels:  obfuscation, obfuscator, java-obfuscator
Mosey
A free and open source java bytecode obfuscator, experimental
Stars: ✭ 43 (+7.5%)
Mutual labels:  obfuscation, obfuscator, java-obfuscator
Vetric
WIP Java/Kotlin obfuscator
Stars: ✭ 39 (-2.5%)
Mutual labels:  obfuscation, obfuscator, java-obfuscator
gnirts
Obfuscate string literals in JavaScript code.
Stars: ✭ 65 (+62.5%)
Mutual labels:  obfuscation, obfuscator
code-obfuscation
一款iOS代码混淆工具(A code obfuscation tool for iOS.)
Stars: ✭ 32 (-20%)
Mutual labels:  obfuscation, obfuscator
utf8-validator
UTF-8 Validator
Stars: ✭ 18 (-55%)
Mutual labels:  unicode, utf-8
Forsaken
One of the best Python3.9 obfuscators.
Stars: ✭ 94 (+135%)
Mutual labels:  obfuscation, obfuscator
Alom
Alom PHP Obfuscator / Encoder can protect from your codes
Stars: ✭ 50 (+25%)
Mutual labels:  obfuscation, obfuscator
characteristics
Character info under different encodings
Stars: ✭ 25 (-37.5%)
Mutual labels:  unicode, utf-8
simdutf8
SIMD-accelerated UTF-8 validation for Rust.
Stars: ✭ 426 (+965%)
Mutual labels:  unicode, utf-8
obfuscator
Obfuscate PHP source files with basic XOR encryption in userland code at runtime.
Stars: ✭ 20 (-50%)
Mutual labels:  obfuscation, obfuscator
data obfuscation
Data Obfuscation for C/C++ Code Based on Residue Number Coding (RNC)
Stars: ✭ 15 (-62.5%)
Mutual labels:  obfuscation, obfuscator
ocreval
Update of the ISRI Analytic Tools for OCR Evaluation with UTF-8 support
Stars: ✭ 48 (+20%)
Mutual labels:  unicode, utf-8
homoglyphs
Homoglyphs: get similar letters, convert to ASCII, detect possible languages and UTF-8 group.
Stars: ✭ 70 (+75%)
Mutual labels:  unicode, utf-8
unicode-formatter
Convert portions of text to fancy text using unicode fonts for use on Twitter and other sites that don't support rich text
Stars: ✭ 31 (-22.5%)
Mutual labels:  unicode, unicode-converter
idy
👓 An ID obfuscator for ActiveRecord
Stars: ✭ 15 (-62.5%)
Mutual labels:  obfuscation, obfuscator
Powershell-Obfuscator
Powerful script for logical obfuscation of powershell scripts
Stars: ✭ 27 (-32.5%)
Mutual labels:  obfuscation, obfuscator
Lingo
Text encoding for modern C++
Stars: ✭ 28 (-30%)
Mutual labels:  unicode, utf-8
Lua-Obfuscator
A Lua Obfuscator made for Roblox, but should work on most Lua applications
Stars: ✭ 84 (+110%)
Mutual labels:  obfuscation, obfuscator
js-confuser
JS-Confuser is a JavaScript obfuscation tool to make your programs *impossible* to read.
Stars: ✭ 38 (-5%)
Mutual labels:  obfuscation, obfuscator

UniObfuscator

Simple Java Obfuscator that hides code in comment tags and Unicode garbage by making use of Java's Unicode escapes.

screenshot of UniObfuscator gui

Prerequisites

  • Java >= 8
  • Maven

Usage

Run

mvn compile exec:java

Generate Fat Jar

mvn package

This jar will be generated in /target

What am I looking at?

All entered characters are converted into their unicode equivalent. Comment tags and a TODO label can also be added to further obfuscate the code and make it appear as being ignored in your editor. These all give the appearance of giberish while still being functional lines.

How does this work?

In Java, it's acceptable to use unicode escapes in replacement or in conjunction with ordinary characters in code. The fake comment works by displaying the literal starting /* and ending */ blocks but immediately closing them with the corresponding starting \u002f\u002a or ending block \u002a\u002f in unicode, thus closing the comment block. All obfuscated code will appear inside a comment and be flagged as one by your editor, but is actually encapsulated by two closed blocks /**/, thus running fine.

Note that this type of obfuscation should not be performed on class or method headers as this may disrupt your IDE or compilation. Stick to inner code blocks for a smooth experience.

Is my code secure now?

Bluntly, no. No matter what you do your code will be reverse-engineerable. This tool only performs a simple obfuscation and can be easily converted back into readable characters. This is more of a tool to stop people in a lab from glancing and stealing code than an enterprise-grade solution. If you're interested in more in-depth code obfuscation techniques check out this guide.

Examples

Source Code

System.out.println("Hello, world!");

Obfuscated Code

/*\u002a\u002f\u0053\u0079\u0073\u0074\u0065\u006d\u002e\u006f\u0075\u0074\u002e\u0070\u0072\u0069\u006e\u0074\u006c\u006e\u0028\u0022\u0048\u0065\u006c\u006c\u006f\u002c\u0020\u0077\u006f\u0072\u006c\u0064\u0021\u0022\u0029\u003b\u002f\u002a*/

Source Code

public class Main {
	public static void main(String[] args) {
		System.out.println("Hello World");
		/* TODO: Fix this. \u002a\u002f\u0053\u0079\u0073\u0074\u0065\u006d\u002e\u006f\u0075\u0074\u002e\u0070\u0072\u0069\u006e\u0074\u006c\u006e\u0028\u0022\u0057\u006f\u0077\u002c\u0020\u0069\u0074\u0027\u0073\u0020\u0061\u0020\u0073\u0065\u0063\u0072\u0065\u0074\u0020\u006d\u0065\u0073\u0073\u0061\u0067\u0065\u0021\u0022\u0029\u003b\u002f\u002a*/
	}
}

Output

Hello World                                                                                                                                                                       
Wow, it's a secret message!

Run this example live here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].