obfuscation

Java compiler automatically renaming parameters (obfuscating)

淺唱寂寞╮ 提交于 2020-02-23 11:29:10
问题 When I compile the code I am writing, then look at in a a JD Gui, methods show up with headers such as the following: public void growSurface(Random paramRandom, int paramInt1, int paramInt2){ I am compiling through a .bat file. Is there a way to specify that I don't want to obfuscate the code. 回答1: By default javac is not including debug information in generated class files. This information is e.g. method parameter names (but method and field names are always stored to allow reflection).

Encrypt information on Android devices (protect reasonably from access by user)

青春壹個敷衍的年華 提交于 2020-02-21 06:08:08
问题 We are in the making of an Android app, a quiz game, which we would like to cache questions + answers for when the user is offline. The problem with this is that we would need to withhold this data from the user until she has answered the questions. Otherwise, cheating would be very easy, which would harm the game. One could then extract all questions + answers and automatically submit answers to the server API. The most convenient way would be to retrieve a key or secret from our server at

Encrypt information on Android devices (protect reasonably from access by user)

烈酒焚心 提交于 2020-02-21 06:07:05
问题 We are in the making of an Android app, a quiz game, which we would like to cache questions + answers for when the user is offline. The problem with this is that we would need to withhold this data from the user until she has answered the questions. Otherwise, cheating would be very easy, which would harm the game. One could then extract all questions + answers and automatically submit answers to the server API. The most convenient way would be to retrieve a key or secret from our server at

Encrypt information on Android devices (protect reasonably from access by user)

a 夏天 提交于 2020-02-21 06:06:02
问题 We are in the making of an Android app, a quiz game, which we would like to cache questions + answers for when the user is offline. The problem with this is that we would need to withhold this data from the user until she has answered the questions. Otherwise, cheating would be very easy, which would harm the game. One could then extract all questions + answers and automatically submit answers to the server API. The most convenient way would be to retrieve a key or secret from our server at

Executing host script from an injected page

半城伤御伤魂 提交于 2020-01-31 16:43:19
问题 I'm writing a Safari Extension that adds some functionality to a web page that I don't own. I would like for my injected JavaScript page to be able to fire some JavaScript functions the host page uses, but it doesn't work. On the Console I get the message ReferenceError: Can't find variable: function_name . My script is specified to be an End Script, so the whole page should be loaded. The function is also called from an onclick() handler on the page, like so: onclick="function_name($(this)

Executing host script from an injected page

别等时光非礼了梦想. 提交于 2020-01-31 16:43:13
问题 I'm writing a Safari Extension that adds some functionality to a web page that I don't own. I would like for my injected JavaScript page to be able to fire some JavaScript functions the host page uses, but it doesn't work. On the Console I get the message ReferenceError: Can't find variable: function_name . My script is specified to be an End Script, so the whole page should be loaded. The function is also called from an onclick() handler on the page, like so: onclick="function_name($(this)

Is there a Delphi obfuscator that works for >= Delphi 2007

好久不见. 提交于 2020-01-31 08:51:58
问题 I used to use Pythia to obfuscate my D6 program. But it seems Pythia does not work anymore with my D2007. Here's the link of Pythia (no update since early 2007) : http://www.the-interweb.com/serendipity/index.php?/archives/86-Pythia-1.1.html From link above, here's what I want to achieve 回答1: Over the course of time, a lot of new language features were added. Since there is no formal grammar available, it is very hard for tool vendors (including Embarcadero themselves) to keep their Delphi

Is there a Delphi obfuscator that works for >= Delphi 2007

怎甘沉沦 提交于 2020-01-31 08:47:33
问题 I used to use Pythia to obfuscate my D6 program. But it seems Pythia does not work anymore with my D2007. Here's the link of Pythia (no update since early 2007) : http://www.the-interweb.com/serendipity/index.php?/archives/86-Pythia-1.1.html From link above, here's what I want to achieve 回答1: Over the course of time, a lot of new language features were added. Since there is no formal grammar available, it is very hard for tool vendors (including Embarcadero themselves) to keep their Delphi

Is there a Delphi obfuscator that works for >= Delphi 2007

随声附和 提交于 2020-01-31 08:47:06
问题 I used to use Pythia to obfuscate my D6 program. But it seems Pythia does not work anymore with my D2007. Here's the link of Pythia (no update since early 2007) : http://www.the-interweb.com/serendipity/index.php?/archives/86-Pythia-1.1.html From link above, here's what I want to achieve 回答1: Over the course of time, a lot of new language features were added. Since there is no formal grammar available, it is very hard for tool vendors (including Embarcadero themselves) to keep their Delphi

How to choose between private and protected access modifier to encapsulate members between base and childs classes?

孤者浪人 提交于 2020-01-30 04:04:32
问题 I am trying on a project to use private values in my internal functions. In past I used only public ones, but I noticed that obfuscation is working much better when using as much as possible private parameters. My question is regarding Parent/Child classes. In my main class I define all the parameters as following : public class MyFatherClass { private long id = -1; public long ID { get { return this.id; } set { this.id = value; } } ... } So in all internal functions I access to my private