decompiling

Is it possible to decompile a compiled .pyc file into a .py file?

我只是一个虾纸丫 提交于 2019-11-26 01:56:57
问题 Is it possible to get some information out of the .pyc file that is generated from a .py file? 回答1: Uncompyle6 works for Python 3.x and 2.7 - recommended option as it's most recent tool, aiming to unify earlier forks and focusing on automated testing. The GitHub page has more details. The older Uncompyle2 supports Python 2.7 only. This worked well for me some time ago to decompile the .pyc bytecode into .py, whereas unpyclib crashed with an exception. 回答2: Yes, you can get it with unpyclib

Reverse engineering from an APK file to a project

放肆的年华 提交于 2019-11-26 01:45:58
问题 I accidently erased my project from Eclipse, and all I have left is the APK file which I transferred to my phone. Is there a way to reverse the process of exporting an application to the .apk file, so I can get my project back? 回答1: There are two useful tools which will generate Java code (rough but good enough) from an unknown APK file. Download dex2jar tool from dex2jar. Use the tool to convert the APK file to JAR: $ d2j-dex2jar.bat demo.apk dex2jar demo.apk -> ./demo-dex2jar.jar Once the

Is it possible to decompile an Android .apk file?

て烟熏妆下的殇ゞ 提交于 2019-11-26 01:12:45
问题 Are the users able to convert the apk file of my application back to the actual code? If they do - is there any way to prevent this? 回答1: First, an apk file is just a modified jar file. So the real question is can they decompile the dex files inside. The answer is sort of. There are already disassemblers, such as dedexer and smali. You can expect these to only get better, and theoretically it should eventually be possible to decompile to actual Java source (at least sometimes). See the

How can I protect my .NET assemblies from decompilation?

旧城冷巷雨未停 提交于 2019-11-26 00:47:14
问题 One if the first things I learned when I started with C# was the most important one. You can decompile any .NET assembly with Reflector or other tools. Many developers are not aware of this fact and most of them are shocked when I show them their source code. Protection against decompilation is still a difficult task. I am still looking for a fast, easy and secure way to do it. I don\'t want to obfuscate my code so my method names will be a,b,c or so. Reflector or other tools should be unable

How do I decompile a .NET EXE into readable C# source code?

拜拜、爱过 提交于 2019-11-26 00:39:09
问题 I wrote a C# application for a client a couple of years ago, but I no longer have the source code. All I have is the EXE that I deployed on the client\'s PC. Is there a way I can generate C# source code from the EXE? 回答1: Reflector and its add-in FileDisassembler. Reflector will allow to see the source code. FileDisassembler will allow you to convert it into a VS solution. 回答2: When Red Gate said there would no longer be a free version of .Net Reflector, I started using ILSpy and Telerik's

How to lock compiled Java classes to prevent decompilation?

泪湿孤枕 提交于 2019-11-25 23:48:37
问题 How do I lock compiled Java classes to prevent decompilation? I know this must be very well discussed topic on the Internet, but I could not come to any conclusion after referring them. Many people do suggest obfuscator, but they just do renaming of classes, methods, and fields with tough-to-remember character sequences but what about sensitive constant values? For example, you have developed the encryption and decryption component based on a password based encryption technique. Now in this

Is there a way to get the source code from an APK file?

╄→гoц情女王★ 提交于 2019-11-25 22:17:21
问题 The hard drive on my laptop just crashed and I lost all the source code for an app that I have been working on for the past two months. All I have is the APK file that is stored in my email from when I sent it to a friend. Is there any way to extract my source code from this APK file? 回答1: Simple way: use online tool http://www.javadecompilers.com/apk, upload apk and get source code. Procedure for decoding .apk files, step-by-step method: Step 1: Make a new folder and copy over the .apk file

Reverse engineering from an APK file to a project

断了今生、忘了曾经 提交于 2019-11-25 20:03:30
I accidently erased my project from Eclipse , and all I have left is the APK file which I transferred to my phone. Is there a way to reverse the process of exporting an application to the .apk file, so I can get my project back? rahul There are two useful tools which will generate Java code (rough but good enough) from an unknown APK file. Download dex2jar tool from dex2jar . Use the tool to convert the APK file to JAR : $ d2j-dex2jar.bat demo.apk dex2jar demo.apk -> ./demo-dex2jar.jar Once the JAR file is generated, use JD-GUI to open the JAR file. You will see the Java files. The output will