obfuscation

Obfuscated javascript code with binary values?

纵饮孤独 提交于 2019-12-30 04:02:33
问题 This code outputs D . The question is HOW? alert([][(![]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]()[([][(![]+[])[!+[]+!+[]+!+[]]+(!![]+[][(

How does this magic JavaScript code work?

社会主义新天地 提交于 2019-12-29 10:07:38
问题 This is a small piece of JavaScript code that alerts "Hello world": ゚ω゚ノ=/`m´)ノ~┻━┻//*´∇`*/['_'];o=(゚ー゚)=_=3;c=(゚Θ゚)=(゚ー゚)-(゚ー゚);(゚Д゚)=(゚Θ゚)=(o^_^o)/(o^_^o);(゚Д゚)={゚Θ゚:'_',゚ω゚ノ:((゚ω゚ノ==3)+'_')[゚Θ゚],゚ー゚ノ:(゚ω゚ノ+'_')[o^_^o-(゚Θ゚)],゚Д゚ノ:((゚ー゚==3)+'_')[゚ー゚]};(゚Д゚)[゚Θ゚]=((゚ω゚ノ==3)+'_')[c^_^o];(゚Д゚)['c']=((゚Д゚)+'_')[(゚ー゚)+(゚ー゚)-(゚Θ゚)];(゚Д゚)['o']=((゚Д゚)+'_')[゚Θ゚];(゚o゚)=(゚Д゚)['c']+(゚Д゚)['o']+(゚ω゚ノ+'_')[゚Θ゚]+((゚ω゚ノ==3)+'_')[゚ー゚]+((゚Д゚)+'_')[(゚ー゚)+(゚ー゚)]+((゚ー゚==3)+'_')[゚Θ゚]+((゚ー゚==3)+'_')[(゚ー゚)-(゚Θ゚)]+

How to obfuscate a shell script?

六眼飞鱼酱① 提交于 2019-12-29 08:21:14
问题 I am using Ubuntu 10.04. i have created a shell script. After writing the script, the code can be edited when right clicking the file and selecting Gedit. I want to know how to make the script unreadable in Gedit. 回答1: Obfuscation (which is what most people mean when they say they want a "binary" shell script) is a Bad Idea(TM) - Been there, done that. It doesn't provide any security against a determined programmer (they'd just trace the script to figure out what it's doing), and it makes it

How to obfuscate a shell script?

可紊 提交于 2019-12-29 08:21:13
问题 I am using Ubuntu 10.04. i have created a shell script. After writing the script, the code can be edited when right clicking the file and selecting Gedit. I want to know how to make the script unreadable in Gedit. 回答1: Obfuscation (which is what most people mean when they say they want a "binary" shell script) is a Bad Idea(TM) - Been there, done that. It doesn't provide any security against a determined programmer (they'd just trace the script to figure out what it's doing), and it makes it

What are some reliable Flash obfuscators? [closed]

萝らか妹 提交于 2019-12-29 07:14:17
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm creating a game in Flash that submits high scores to a server. While I'm planning to take several precautions on the server-side to prevent tampering, the weak link in the chain is Flash itself. Using cheating tools, players can monitor and adjust variables in memory. I realize that most Flash/SWF

Nodejs grunt obfuscate

最后都变了- 提交于 2019-12-29 06:33:06
问题 I'm using Nodejs grunt module. I know grunt min option minifies a files. But now I need to obfuscate files like google closure compiler. Does grunt have that feature? 回答1: The grunt min task allows you to set UglifyJS (the grunt min tool) options, which can give you greater control on how the destination file is mangled and compressed. https://github.com/cowboy/grunt/blob/master/docs/task_min.md#specifying-uglifyjs-options https://github.com/mishoo/UglifyJS from the grunt task_min doc:

Nodejs grunt obfuscate

只谈情不闲聊 提交于 2019-12-29 06:32:30
问题 I'm using Nodejs grunt module. I know grunt min option minifies a files. But now I need to obfuscate files like google closure compiler. Does grunt have that feature? 回答1: The grunt min task allows you to set UglifyJS (the grunt min tool) options, which can give you greater control on how the destination file is mangled and compressed. https://github.com/cowboy/grunt/blob/master/docs/task_min.md#specifying-uglifyjs-options https://github.com/mishoo/UglifyJS from the grunt task_min doc:

How to tell proguard to keep enum constants and fields

冷暖自知 提交于 2019-12-29 04:34:09
问题 I've try obfuscate our web application which use spring, jaxb and relies on annotations, and reflection heavily. I apply many recipes found in internet to keep some classes, attributes, annotations and enumerations. But with enumerations still have problem. I've able preserve enum constants apply configuration from http://proguard.sourceforge.net/manual/examples.html#enumerations: -keepclassmembers,allowoptimization enum * { public static **[] values(); public static ** valueOf(java.lang

Minifying and Obsfucating CSS similar to Javascript [closed]

流过昼夜 提交于 2019-12-28 13:37:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I know there are several tools out there that are capable of obfuscating JavaScript files such as by turning a simple functions like: function testing() { var testing; var testing2; alert(testing+testing2); } into function a(var a,b;alert(a+b);) My question is does something like this exist for use with CSS/HTML

Tips or Tools for Obfuscating Objective C Binary? [closed]

安稳与你 提交于 2019-12-28 06:27:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm looking to obfuscate a static objective c binary library. What best practices or tools to people here recommend for that? I'm looking to make it a little harder for potential hackers to identify what certain code in my library does. Thanks! 回答1: At the top of your header, you could do stuff like: #define