decompiling

APKtools (APK Studio) Could not decode arsc file

你离开我真会死。 提交于 2019-11-30 11:28:34
问题 I am tring to decompile an APK with AKP-Studio (it uses Apktool 2.0.0-Beta9) but on every APK I get this error: May 05, 2015 5:38:30 PM brut.androlib.ApkDecoder decode INFO: Using Apktool 2.0.0-Beta9 on com.****-1.apk May 05, 2015 5:38:30 PM brut.androlib.res.AndrolibResources loadMainPkg INFO: Loading resource table... Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54) at brut.androlib

Why is it so easy to decompile Java Code? [closed]

眉间皱痕 提交于 2019-11-30 11:15:49
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . So I've just realized how easy it is to decompile my Java code. I've been searching around the net and I can't seem to figure out WHY

Android Obfuscation for code as well as resources

被刻印的时光 ゝ 提交于 2019-11-30 09:57:08
Google recommends and packs in ProGuard for code obfuscation. However the default configuration that it comes with seems minimal and one can reverse engineer to certain extent. Most people looking to reverse engineer are not really looking for detail code, but may be extract the logic. Are there any guidelines so as to configure ProGuard more efficiently ?(Something to the extent Javascript is minimized would be good.) Secondly, there are tools like apktool that enable extracting the Manifest as well as the resource files. And there is no level of obfuscation in them. These can certainly

Programmatically inspect .class files

前提是你 提交于 2019-11-30 08:43:17
I'm working on a project where we're doing a lot of remote object transfer between a Java service and clients written in other various languages. Given our current constraints I've decided to see what it would take to generate code based on an existing Java class. Basically I need to take a .class file (or a collection of them) parse the bytecode to determine all of the data members and perhaps getters/setters and then write something that can output code in a different language to create a class with the same structure. I'm not looking for standard decompilers such as JAD. I need to be able

How to extract C source code from .so file?

风流意气都作罢 提交于 2019-11-30 08:27:07
I am working on previously developed software and source code is compiled as linux shared libraries (.so) and source code is not present. Is there any tool which can extract source code from the linux shared libraries? Thanks, Ravi There isn't. Once you compile your code there is no trace of it left in the binary, only machine code. Some may mention decompilers but those don't extract the source, they analyze the executable and produce some source that should have the same effect as the original one did. You can try disassembling the object code and get the machine code mnemonics. objdump -D -

What is a de-compiler how does it work? [closed]

只愿长相守 提交于 2019-11-30 08:13:58
问题 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 months ago . So is a decompiler really a thing that gives gives the source of a compiled/interpreted piece of code? Because to me that sounds impossible. How would you get the names of the functions, variables, classes, etc if it is compiled. Or am I misinterpreting the definition? How does

Delphi decompiling [closed]

让人想犯罪 __ 提交于 2019-11-30 07:43:17
Why decompiling a delphi exe, is so easy, compared to others executables built with other programming languages/compilers? There are a few things that help with reversing delphi programs: You get the full form data including the name of event handler methods All members with published visibility have metadata used with RTTI The compiler is pretty bad at optimizing. It does no whole program optimization and the assembly is usually a straight forward translation of the original source with only minor optimizations. (At least it was in the versions I used, might have improved since then) All

How to decompile an exe or a dll to assembly

◇◆丶佛笑我妖孽 提交于 2019-11-30 07:03:39
I am really interested in assembly language and I want to learn about how exe files work how dlls run etc... and I have an idea of writing an application to decompile an exe to assembly code since i am not a very good assembly programmer and with the lack of knowledge of the inner working of exe I couldn't do it. Since I can read an exe in hex i think it is not impossible but I don't know how to write my own program. Any resources or any help would be appreciated. I think you're looking for a disassembler not a decompiler. IDA pro seems to be popular and you can download an older version for

What can done to secure jar files besides obfuscation?

天大地大妈咪最大 提交于 2019-11-30 06:01:17
问题 I'm concerned about the security of Java executables. They offer little protection against decompilation. With tools like Java Decompiler even a kid can decompile the class files to get the original code. Apart from code obfuscation what can be done to protect a class file? Is the Encrypted Class Loader still a myth? 回答1: In a previous company we had such questions, mainly driven by management paranoia. First of all, you have to understand that absolute security is only a myth: As long as

java inner/outer class questions about outer class private variables access

♀尐吖头ヾ 提交于 2019-11-30 04:53:01
I have the following java class: class Outer { private Integer a; private Long b; class Inner { public void foo() { System.out.println("a and b are " + a + " " + b); } } } when I run javap on Outer and Outer$Inner, I get the following: C:\test>javap Outer Compiled from "Outer.java" class Outer extends java.lang.Object{ Outer(); static java.lang.Integer access$000(Outer); static java.lang.Long access$100(Outer); } C:\test>javap Outer$Inner Compiled from "Outer.java" class Outer$Inner extends java.lang.Object{ final Outer this$0; Outer$Inner(Outer); public void foo(); } I have two questions: 1)