obfuscation

How to use and merge JS modules into 1 file?

青春壹個敷衍的年華 提交于 2019-12-11 08:36:39
问题 I would like to create 1 single javascript file out of multiple files and modules to ship as one single js file for a small library that will be used in the browser (and reuse some part on nodejs). How can I achieve this? (function() { // Modules are minified var blake = require('blakejs'); // The "entire" module in here ~350 lines... // Other files are obfuscated // File1.js var first = function() {} first.prototype.doHash = function() {} // File2.js var second = function() {} second

How to make ObjectListView work in obfuscated code?

本小妞迷上赌 提交于 2019-12-11 07:43:49
问题 ObjectListView stops working when i obfuscate the code. The issue seems to be centred around using AspectName to set the column in MainForm.designer.cs E.g: this.olvColumn1.AspectName = "Name"; The Obfuscator could be renaming all my methods. Any advice on how to fix this issue? 回答1: AspectName is obviously using the name of the property, which is defeated by obfuscating. You'll have to install an AspectGetter delegate instead: this.olvColumn1.AspectGetter = delegate(object x) { return (

Password file obfuscation

人走茶凉 提交于 2019-12-11 06:18:06
问题 I am using lua to administrate a firewall server and want to obfuscate sensible variables such as login data. I have tried luac but the variable content is still easily readable. Is there any way to encrypt/decrypt these sensible data? 回答1: I'm assuming you have a lua script which contains both the commands to send as well as any "secret data", and you want to be able to run this script without having to type in anything interactively. If so, the script itself must be able to decrypt your

LibGDX proguard

 ̄綄美尐妖づ 提交于 2019-12-11 06:01:26
问题 I have been trying to shrink the size of my libGDX game .jar. I have been trying to get proguard to work. Proguard keeps complaining about missing classes, or the output .jar won't run. I have tried all the existing configuration files I found for libGDX. Does anyone have experience with setting up proguard? 回答1: You can use the following configuration for libGDX: -dontwarn com.badlogic.gdx.** -dontnote com.badlogic.gdx.** -keepclassmembers class com.badlogic.gdx.graphics.Cubemap* { *; }

Obfuscate dependencies to single jar with Proguard

断了今生、忘了曾经 提交于 2019-12-11 05:27:18
问题 I have modular maven application and "module1" depends on "module2" and "module2" depends on "module3" etc.. In module1 I have something like this: <profile> <id>obfuscate</id> <build> <plugins> <plugin> <groupId>com.pyx4me</groupId> <artifactId>proguard-maven-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>proguard</goal> </goals> </execution> </executions> <configuration> <options> <option>-allowaccessmodification</option> <option>-keep public class com

Way to obscure SQL Server database schema?

社会主义新天地 提交于 2019-12-11 05:09:01
问题 Is there any way to obscure the schema of a database on SQL Server? If I have SQL Server Express installed on a client site, is there a way to obscure the schema and data so that someone else cannot come along and learn the schema in order to extract data out of it and into another product? 回答1: This is a tricky one and may not even be 100% possible. However, there are a few tricks to setting it up: Install a new named instance of SQL server with a custom SA account (both name and password).

package only cythonized binary python files and resource data but ignoring python .py source files

江枫思渺然 提交于 2019-12-11 04:59:56
问题 I need to obfuscate my python code, to achieve it I am using cythonize extension, I am able to achieve it and get the binary compiled a.so files from a.py files but after doing bdist_wheel the .whl package only packages the a.so files and ignores the resource_folder. My project file structure is |main_project |__,setup.py |__,main_folder |____,a.py |____,__init__.py |____resource_folder |__,a.model |__,a.json I used following links to make obfuscated python wheel package, https://bucharjan.cz

net reactor & clickonce deployment

我的梦境 提交于 2019-12-11 04:58:21
问题 After building our VB.NET .exe it is then obfuscated using the 3rd-party .NET Reactor utility before the output of that is included within a VS2005 deployment project. Is there a way of replacing the .exe with the scrambled version prior to then publishing using click-once ? Has anyone managed to deploy with click once, a net reactor protected application? 回答1: You can but not using the standard ClickOnce deployment scheme. One way is to make a MSBuild task that takes your files and creates

Advanced syntax: “0[constructor][constructor]()()” - How does it works to evaluate code?

丶灬走出姿态 提交于 2019-12-11 04:36:15
问题 In a code obfuscator algorithm I see one step using this syntax: 0["constructor"]["constructor"]( 0["constructor"]["constructor"]( "return \"alert()\"" )(); )(); My knowledge of javascript help me no more ... typeof 0 => number typeof 0["constructor"] => function typeof 0["constructor"]["constructor"] => function Please, can you explain what does the js interpreter do to 'handle' this code ? I cannot understand in which way could it work ! And: what does the ending "()" mean ? I cannot

ProGuard: ClassCastException

寵の児 提交于 2019-12-11 04:04:48
问题 I'm getting this annoying ClassCastException when I obfuscate my Java code (which works fine before I obfuscate using ProGuard ). java.lang.ClassCastException: com.google.gson.internal.StringMap cannot be cast to net.minecraft.launcher.profile.Profile at java.lang.ClassCastException: com.google.gson.internal.StringMap cannot be cast to net.minecraft.launcher.profile.Profile at net.minecraft.launcher.profile.ProfileManager.getSelectedProfile(SourceFile:117) at net.minecraft.launcher.g.run