decompiler

Google Closure decompiler?

 ̄綄美尐妖づ 提交于 2019-12-04 15:39:11
I was looking for a way to decompile JavaScript that was compiled by Google Closure. I did find a Decompiler class ( https://code.google.com/p/closure-compiler/source/browse/lib/rhino/src/org/mozilla/javascript/Decompiler.java?name=v20140407 ), however I haven't had much luck with it. Anyone try this before or know of some other method? Usually, I just run the code through the Closure Compiler in WHITESPACE mode and enable the pretty printing options. 来源: https://stackoverflow.com/questions/9321648/google-closure-decompiler

Encrypting password in compiled C or C++ code

荒凉一梦 提交于 2019-12-04 10:23:24
I know how to compile C and C++ Source files using GCC and CC in the terminal, however i would like to know if its safe to include passwords in these files, once compiled. For example.. i check user input for a certain password e.g 123, but it appears compiled C/C++ programs is possible to be decompiled. Is there anyway to compile a C/C++ source file, while keeping the source completely hidden.. If not, could anyone provide a small example of encrypting the input, then checking against the password e.g: (SHA1, MD5) It is not recommended to keep any sensitive static data inside code. You can

Decompiler supporting Java 8? [closed]

岁酱吖の 提交于 2019-12-04 09:57:35
问题 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 see that most of the Java decompilers support till Java 7. Are there any decompilers which support Java 8 - especially Lambda expressions? I want to run such a decompiler in my ubuntu machine. 回答1: Procyon and CFR both support Java 8 language features, including lambda expessions and method references. 来源:

ILSpy, how to resolve dependencies?

。_饼干妹妹 提交于 2019-12-04 06:25:46
I want to disassemble an entire .NET assembly with ILSpy. I used this code as base: http://skysigal.xact-solutions.com/Blog/tabid/427/entryid/2488/Default.aspx And it works fine, just when I have an assembly that references Npgsql.dll (or any other non-gac assembly), then I get an AssemblyResolutionException. Failed to resolve assembly: 'Npgsql, Version=2.0.11.92, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' I know how I can get the referenced assemblies, but how can I add them to ast ? // SqlWebAdmin.Models.Decompiler.DecompileAssembly("xy.dll"); public static string DecompileAssembly

How to convert 32-bit compiled binary to 64-bit [closed]

风格不统一 提交于 2019-12-04 02:36:02
Background: We have acquired a software product that builds to a 32-bit Windows application in Visual Studio. We wish to port this application to 64-bit. A mission-critical component of this code is a black-box static library (.a file) originally built using gFortran by a third party. The original developer has since passed away, and the Fortran source we were able to get was incomplete and not the version this library was built off of (and contains critical bugs not present in the compiled library). They did not use a VCS. Problem: I would like to create a 64-bit static library whose code is

How to decompile obfuscated java programs avoiding class/package name collisions

僤鯓⒐⒋嵵緔 提交于 2019-12-03 17:34:04
I want to decompile a java program and recompile the derived (obfuscated) source. I unpacked the .jar archive and got a directory structure like that: com/ com/foo/A/ com/foo/A/A.class com/foo/A/B.Class com/foo/B/A.class ... com/foo/A.class com/foo/B.class org/foo/Bar.class ... The problem is that there are name collisions between packages and classes, which makes it impossible to recompile the decompiled class files. A decompiled class will look like this: package org.foo; import com.foo.A; // <-- name collision error class Bar { ... } Is there any way to resolve those naming issues, without

How can I make Lua scripts un-decompilable?

北慕城南 提交于 2019-12-03 16:06:38
I have many Lua scripts (for the multiplayer mod Multi Theft Auto) that are compiled, for many reasons, including theft prevention. In reality, this is only a theft deterrent, as Luadec (http://luadec51.luaforge.net/) can easily de-compile the scripts. Does anyone have have any tips on how I can make my scripts un-decompilable? Encryption; that's really the only way it's going to work. Of course, since your program would have to decrypt them, they could just snatch the decrypted data right out of memory. So no, there's nothing you can do. Any method is going to be "only a theft deterrent" to

How to decompile framework file in iOS to get source code?

主宰稳场 提交于 2019-12-03 15:17:49
问题 I want to know is there any way/tools to decompile framework file in objective C to get the source code. Just like in java there are JAD and other tools to decompile byte code to source code. 回答1: You can disassemble a binary and get back assembly source, but there is no way to get back your original Objective-C structured source code. You may want to give Hopper a try. I didn't try it personally yet but Mike Ash says it's good. Helper Source:- here 来源: https://stackoverflow.com/questions

How to decompile framework file in iOS to get source code?

岁酱吖の 提交于 2019-12-03 09:08:17
I want to know is there any way/tools to decompile framework file in objective C to get the source code. Just like in java there are JAD and other tools to decompile byte code to source code. Kiran Jasvanee You can disassemble a binary and get back assembly source, but there is no way to get back your original Objective-C structured source code. You may want to give Hopper a try. I didn't try it personally yet but Mike Ash say s it's good. Helper Source:- here 来源: https://stackoverflow.com/questions/35061626/how-to-decompile-framework-file-in-ios-to-get-source-code

source code from APK

ε祈祈猫儿з 提交于 2019-12-03 08:28:50
I have searching in search Engine regarding convert dex file to jar file but I got failure to find dex2jar file in code.Google.com I have getting basic idea from here . But when I download file from dex2jar-0.0.9.8.zip form here , I unable to found dex2jar.jar file so can you tell me else where I can find file? Extract the dex2jar-0.0.9.8.zip file and move to desktop folder like dex2jar-0.0.9.7...then take the android app classes.dex file and move to this directory ...open the terminal and change to your dex2jar directory..type this command ./d2j-dex2jar.sh classes.dex you will get classesdex2