Gulp-obfuscate Zalgo setting(mikegroseclose.github.io)
mikegroseclose.github.io
Gulp-obfuscate Zalgo setting
http://mikegroseclose.github.io/gulp-obfuscate/
9 comments
Nice! This reminds me of my favorite SO answer: http://stackoverflow.com/a/1732454/3210397
TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ
Wow, trying to catch up on what the heck is going on there is strangely educational.
http://stackoverflow.com/questions/6579844/how-does-zalgo-te...
HTML tags lea͠ki̧n͘g fr̶ǫm ̡yo͟ur eye͢s̸ ̛l̕ik͏e liquid pain
so the logic is still clear, albiet obsured sometimes, just the variable names are crazy.
If I paste in geany or IDEA, the bleeding outside of the line is removed, though the characters are still weird. If I run it through google closure compiler, I get (advanced_optimizations) :-
function(c){return c.d=[{name:"+",a:function(a,b){return a+b}},{name:"-",a:function(a,b){return a-b}},{name:"",a:function(a,b){return ab}},{name:"/",a:function(a,b){return a/b}}],c.c=c.d[0],c.b=function(a,b,d){return a=parseFloat(a||0),b=parseFloat(b||0),c.result=d.a(a,b)},c.e("[left, right, operator]",function(){return c.b(c.left,c.right,c.c)})};
If I paste in geany or IDEA, the bleeding outside of the line is removed, though the characters are still weird. If I run it through google closure compiler, I get (advanced_optimizations) :-
function(c){return c.d=[{name:"+",a:function(a,b){return a+b}},{name:"-",a:function(a,b){return a-b}},{name:"",a:function(a,b){return ab}},{name:"/",a:function(a,b){return a/b}}],c.c=c.d[0],c.b=function(a,b,d){return a=parseFloat(a||0),b=parseFloat(b||0),c.result=d.a(a,b)},c.e("[left, right, operator]",function(){return c.b(c.left,c.right,c.c)})};
Was about to say the same. Uglify would clean it up as well.
For small programs you will be able to remove the ZALGO-like text. Since it replaces the actual variable names with an obfuscated name, you wont ever be able to get the original code back (i.e. 'var foo' will become 'var he_comes123'. With a lot more code will make the reverse-engineering not worth the time spent recreating the original.
See the look_of_disapproval option of gulp-obfuscate for another example:
function ಠ_ಠ4() {
var ಠ_ಠ1, ಠ_ಠ2, ಠ_ಠ3;
...
ಠ_ಠ3 = ಠ_ಠ1 + ಠ_ಠ2;
return ಠ_ಠ3;
}
If you use logrus for logging in Go, you can have your logs enhanced with https://github.com/aybabtme/logzalgo
while not zalgo, this font also does odd things ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏
̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏
̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏ ̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏
This is not obfuscation, it is a fun cesar cypher. A very fun one, indeed.
Replace [^\x00-\x7F] with '' to get the original ;)
z̡͚͕͇̰̹ͩ̾ͯ̊ͩ̅̓͛ͮ̅̇ͮa̘̲̦̞͚̦̺̫̺͓̮̜͓͔̬͈̓ͯ͑ͤ́ͪ͛ͣ̊̚͘͢͞ͅl̢̳̪̬̺̝̱̳̜̟̆ͭ́ͫ̄̈́͋ͫ̅̃̉́̈́ͪ͜g̴̨̛̬̠̖͉̩̬̦͉̬̈́̓ͫ̇̔̿̿͗̉͊͋͂̀ͭ͂ͪ͑́͟oͩ̈́̇ͮ͑͗̽̇͂̊͒͗̃̋̑ͬ̂͘҉̸̡̢̛̺̫̫͖͎̳̻͇̫͖̪͓̯͍̋ͩ̆̏̿̒̾̒ͩ̎̓ͪ̾ͭ