obfuscation

Confuser .NET Obfuscator. Is it safe? [closed]

為{幸葍}努か 提交于 2019-12-05 19:01:42
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I'm currently developing an application where it's rather crucial to keep the user from decompiling the code. Now, I'm aware of the fact that most .exes are decompilable if executed by an experienced programmer. However, my goal is simply to keep it safe from the "regular" user

android library project obfuscation

一笑奈何 提交于 2019-12-05 14:53:55
问题 Hi I developed one android library and Now I want to obfuscate it for redistribution. I develop my library with eclipse and android version 4.1.2. I tried obfuscating with eclipse and pro-guard. I do export and and also put proguard.config = proguard-project.text in project-properties but it not generating any jar file. It shows me result as its not allowing to library projects. So I don't know how to obfuscating android library project. I need help regarding how to obfuscating of android

Typescript and Google Closure

 ̄綄美尐妖づ 提交于 2019-12-05 14:27:16
I use Typescript command (tsc) to create a single Javascript file containing all plateform classes. tsc "./Main.ts" -out "./script/myProject_debug.js" --declarations Then, I want to obfuscate this file with Google Closure (compiler.jar) like this : java -jar ./compiler/compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --js "./script/myProject_debug.js" > "./script/myProject.js". But when I execute the resulting obfuscated/optimized code, I got this following error : Uncaught TypeError: Cannot read property 'prototype' of undefined Which matches the following non-obfuscated JS code

When and how should I obfuscate my Delphi code?

梦想与她 提交于 2019-12-05 14:08:58
What should I know about code obfuscation in Delphi? Should I or shouldn't I do it? How it is done and is there any good tools (commercial/free) to automate it? Why would you need to? As a whole Delphi does not decompile back, unlike .net, so, while decompilation is always a bit of a risk, Ive never found a decompiler that actually did it to a useful way, lots of areas got left as assembler and so on. If people want to rework your work, they can, no matter what, obfuscation or not, heck, some coders write almost naturally obfuscated code (having worked with a few) My vote therefore, is

x or y: acceptable idiom, or obfuscation?

纵饮孤独 提交于 2019-12-05 13:13:41
I have to extract values from a variable that may be None, with some defaults in mind. I first wrote this code: if self.maxTiles is None: maxX, maxY = 2, 2 else: maxX, maxY = self.maxTiles Then I realized I could shorten it to: maxX, maxY = self.maxTiles if self.maxTiles is not None else (2, 2) But then I realized this might be the most succinct and easily readable: maxX, maxY = self.maxTiles or (2, 2) Is the latter acceptable, or too hackish? About, specifically, self.maxTiles if self.maxTiles is not None else (2, 2) I've found that "double negatives" of the general form if not A: B else: C

how to obfuscate the war file using proguard

前提是你 提交于 2019-12-05 10:54:40
I want to obfuscate a war file using proguard,how can i do so ? Please explain me the steps I'm puzzled by this question. As other Java obfuscators, Proguard obfuscates the compiled bytecode (.class files) by renaming every variable, method etc. it considers safe to rename. I suppose you know this and know how to use Proguard for class files since you specifically asked about it. If not, read the proguard manual. As for war files, you can extract the class files from war (or jar) by unzipping it. (yes, a war is a normal zip file). Then you can run them through Proguard and zip it up again. You

database encryption

夙愿已清 提交于 2019-12-05 07:33:36
问题 I have a desktop application that needs to read data from a database, both installed on client computer. That data in database must be encrypted, to deny client access, and protect data. I need to know what kind of database to use that can supports encryption, because the amount of data in some tables will be very huge, I will need efficiency too. I read some about this on web and perhaps SQL Server Compact Edition will be a good choice. Can someone help me with this point? Thanks 回答1: SQL

If this code is not a joke, how on earth does it work?

早过忘川 提交于 2019-12-05 07:24:59
class Tree def initialize*d;@d,=d;end def to_s;@l||@r?",>":@d;end def total;(@d.is_a?(Numeric)?@d:0)+(@l?@l.total: 0)+(@r?@r.total: 0);end def insert d alias g instance_variable_get p=lambda{|s,o|d.to_s.send(o,@d.to_s)&& (g(s).nil??instance_variable_set(s,Tree.new(d)):g(s).insert(d))} @d?p[:@l,:]:@d=d end end Would anyone like to take a stab at explaining what this does? It appeared as an answer in a question I asked about code that is too clever . But it's too clever for me to tell whether it's simply a joke. If it's not, I'd be interested to know how it works, should anyone care to explain.

Proguard and XStream with omitField() on Android

泪湿孤枕 提交于 2019-12-05 07:20:50
问题 I was using XStream for deserialization of xml in my Android app, and now I'm struggling to add Proguard (obfuscator) to the mix. Here's the runtime exception I run into (full: pastebin): WARN/System.err(6209): net.lp.collectionista.util.a.g: XStream could not parse the response WARN/System.err(6209): at net.lp.collectionista.a.s.a(Collectionista:215) ... WARN/System.err(6209): Caused by: com.thoughtworks.xstream.converters.ConversionException: id : id in loader dalvik.system.PathClassLoader[

Protect the source code on delivery to client

时光总嘲笑我的痴心妄想 提交于 2019-12-05 05:37:57
I've recently learnt that the company that will handle the installation of one of our core products have previously tried to reverse engineer suppliers' work in evil purposes. Due to this I want to learn more about how to protect our work and so far I have thought of the following: 1) Obviously to use an obfuscator. Question is which one. 2) Encrypt config files as much as possible (especially endpoint information). 3) Move as much of the logic as possible to the web service. 4) Use SSL for data transfers. The project is written in C#/WPF and connects to a set of web services hosted on a IIS 7