obfuscation

obfuscating batch+HTA hybrid script

霸气de小男生 提交于 2020-01-11 07:26:07
问题 Following is the hybrid batch script: <!-- :: Batch section @echo off setlocal echo Select an option: for /F "delims=" %%a in ('mshta.exe "%~F0"') do set "HTAreply=%%a" echo End of HTA window, reply: "%{HTAreply}%" pause goto :EOF --> <HTML> <HEAD> <HTA:APPLICATION SCROLL="no" SYSMENU="no" > <TITLE>HTA Buttons</TITLE> <SCRIPT language="JavaScript"> window.resizeTo(374,100); function closeHTA(reply){ var fso = new ActiveXObject("Scripting.FileSystemObject"); fso.GetStandardStream(1).WriteLine

Mono for Android, code obfuscation

徘徊边缘 提交于 2020-01-10 19:43:26
问题 As everybody knows, piracy becomes a very serious issue on Android. Does Mono for Android provide code obfuscation when compiling to native code? 回答1: Mono for Android does not provide this functionality, however you can still use a third-party tool for obfuscation. As Mono for Android produces CIL assemblies that are JITed by the Mono runtime on the Android device you need to obfuscate these .NET assemblies. Therefore tools like the Android obfuscator Proguard will not help you. The below

Simple hiding/obfuscation of strings in APK?

做~自己de王妃 提交于 2020-01-10 14:13:46
问题 Sometimes you need to store a password in the app itself, such as a username/password for communicating with your own server. In these cases it's not possible to follow the normal process of storing passwords - i.e. hash the password, store the hash, compare to hashed user input - because you don't have any user input to compare the hash to. The password needs to be provided by the app itself. So how to protect the stored password in the APK? Would a password-generating function like the one

Hiding Python Code from non-programmers

痞子三分冷 提交于 2020-01-06 02:48:27
问题 How can I obfuscate / hide my Python code from the customer, so that he cannot change the source how he likes to? I know there is no effective way to hide Python code, so that there is no way to read it. I just want a simple protection, that someone who doesn't really know what he is doing cannot just open the source files with a text editor and make changes or understand everything easily with no effort. Because my code is written really understandable, I'd like to hide the main principles I

Obfuscating ids in Rails app

岁酱吖の 提交于 2020-01-05 04:14:24
问题 I'm trying to obfuscate all the ids that leave the server, i.e., ids appearing in URLs and in the HTML output. I've written a simple Base62 lib that has the methods encode and decode. Defining—or better—overwriting the id method of an ActiveRecord to return the encoded version of the id and adjusting the controller to load the resource with the decoded params[:id] gives me the desired result. The ids now are base62 encoded in the urls and the response displays the correct resource. Now I

Execute Javascript server side

為{幸葍}努か 提交于 2020-01-04 06:12:56
问题 I was interested in obfuscating my JS code, but I realized arround forums that it is useless. I would like to obfuscate my code anyway. So I was wondering, is that possible to execute JS code on server side (with an app in node.js for example), and just call via Ajax function with context (like dom, or something else), execute on server side, then give back result to page. It could be very usefull for me, that could permit to just show basic JS functions, but not core of my app... Perhaps a

Proguard: Keep annotation of specific method

ε祈祈猫儿з 提交于 2020-01-04 02:28:05
问题 Have have this class in my Minecraft Bukkit plugin: public class AsyncPlayerChatListener implements Listener { @EventHandler(priority = EventPriority.HIGH) public void onEvent(AsyncPlayerChatEvent event) { } } And I want to keep the method along with its annotation. This is my current proguard configuration: -keep class * extends org.bukkit.event.Listener { @org.bukkit.event.EventHandler <methods>; } ProGuard currently keeps the method and removes the annotation. How can I specify to keep all

How to deobfuscate this JavaScript code? [duplicate]

狂风中的少年 提交于 2020-01-03 05:43:05
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Decode obfuscated JavaScript Question: I have the following javascript code: var _0xe91d=["\x28\x35\x28\x24\x29\x7B\x24\x2E\x32\x77\x2E ... x5F\x63\x6F\x6E\x74\x5F\x64\x75\x72\x7C\x76\x5F\x74\x61\x62\x73\x5F\x61\x6C\x69\x67\x6E\x7C\x76\x5F\x74\x61\x62\x73\x5F\x64\x75\x72\x7C\x76\x5F\x73\x63\x72\x6F\x6C\x6C\x7C\x63\x6F\x6E\x74\x5F\x61\x6E\x69\x6D\x7C\x63\x6F\x6E\x74\x5F\x66\x78\x7C\x74\x61\x62\x5F\x66\x78\x7C\x72

Export signed Android apk with Proguard

前提是你 提交于 2020-01-02 08:49:45
问题 What I am trying to do: obfuscate and export a signed app from Eclipse. The problem: I am getting the same console error, no matter what I write on Project.properties and on proguard-android.txt . it makes me have no clue of what´s going on and I´m starting to feel miserable. What I could do: I could export the project without using Proguard. I could export a similar project that didn't use ABS (Action Bar Sherlock) using Proguard My questions: Is it possible that eclipse is not using at all

How to obfuscate JavaScript using PHP? [closed]

為{幸葍}努か 提交于 2020-01-02 07:57: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 6 years ago . For example, how could I obfuscate this sample code from: /* The code below will write to a heading and to a paragraph, and will represent the start of my homepage: */ document.getElementById("myH1").innerHTML="Welcome to my Homepage"; document.getElementById("myP").innerHTML="This is my first paragraph."; into