Questions tagged [decompiling]
Decompilers analyze binary code outputting source code in a higher level language such as C. The output is generally not any easier to analyze than the original assembler due to loss of information during compilation. See tag wiki for more.
0
votes
3answers
41 views
How to get a c source code from the compiled code
I have the compiled C code in text format. I need to extract the source code by decompiling the machine code. How to do that?
0
votes
0answers
5 views
show app the layouts of an android decompiled app
I just learned about Android .apk reverse engineering, where I decompile the app using Apktool and extract the Java files using lyten or another tool. However, when i open the Project in Android ...
-4
votes
1answer
54 views
I have apk file, Is it possible to get android studio project from apk?
I have completed apk file, but lost my project.
Is it possible to get android studio project from my apk file?
If possible, which tools can I use?
I want IDE tool name, tried with dex2jar, but not ...
0
votes
1answer
29 views
“Wait for Debugger” Android Studio
I am using a guide to Decompile and Debug an APK but I can not pass the last step. Where when trying to Debug APK on my phone from Android Studio, an error appears: "Wait for Debugger". According to ...
0
votes
0answers
33 views
Jar file with no source code - how to make changes [duplicate]
I'm using a third party jar file in my project. I do not have the source code for it. I want to make some changes to it. I'm able to decompile but how do I compile it after making minor changes? In ...
0
votes
0answers
39 views
How to get the number of arguments in the definition of a function using a script with IDAPython
I'm using IDA to analyze binaries, and want to get the number of arguments of every function in the definition, not the arguments passed to the callee function. IDA version: 7.0 on windows.
...
0
votes
0answers
72 views
Is it possible to decompile a python code compiled with nuitka?
There is a file compiled with nuitka, which compiles the code as cpython making it a little bit complicated to decompile so I'd like to know if there's any known way to easily do it, like uncompyle6 ...
0
votes
0answers
49 views
Why does the decompiled code for the Int16 class show that MinValue is “--32768” in Visual Studio?
Playing with the basic types in C# (.NET Core 2.1), I have just seen that in Visual Studio 2017 (version 15.9.2) the decompiled code for the Int16 class shows the following:
public const Int16 ...
0
votes
0answers
18 views
How to find layout files corresponding to reachable UIs from a decompiled apk?
I am trying to find the layout file corresponding to a specific UI from an apk which has been decompiled by apktool. The Android app to analyze is not small. There are thousands of layout files in /...
1
vote
0answers
81 views
Firebase Api Key can be used at another App (Decompiled APK)
We were planning to use Firebase Anonymous Authantication and Realtime Database for our Android app. Then we wanted to try if our Firebase Api Key can be used in another app to access our Database and ...
0
votes
0answers
88 views
Decompile / Reverse Engineer ASPX Web Application
Wondering if anyone has a recommended solution to decompile a single asps page to see the code behind. This is a web application we use internally within our organisation but don't have the project ...
0
votes
0answers
26 views
Storing database credentials in Android apps
I am creating an app which needs to connect to database, for which I am using JDBC. For app to connect with database, credentials are passed to JDBC connection. How can I hide them, so that someone ...
0
votes
0answers
24 views
How do I decompile a Python program compiled by `bbfreeze`? Python Unfrozen Binary Decompile Error - No Module Named Decompilers
I have recently tried to decompile a Python program compiled by bbfreeze.
I used this:
https://github.com/Katharsis/unfrozen_binary
When I try to run it, I get the following error: "No Module ...
1
vote
1answer
23 views
How to batch modify classes modifier in a .Net Assembly from internal to public?
I have a third-party .Net assembly dll and I want to know if there is a tool that I can use to quickly update all internal class to public class. I can use dnSpy to modify them one by one, but it's ...
1
vote
0answers
34 views
Virtual addresses in Dump
Why are the virtual addresses in the dumpfiles different, when I use XDD and Radare2?
Radare2-dump
Xdd-dump
The first image shows the Radare2-dump, the second one the xdd-dump. The addresses are ...
0
votes
0answers
27 views
Mod Coder Pack Mac OSX Unable to Compile
I have been trying to decompile the Mod Coder Pack for Minecraft 1.8.8, however it always says
'patch -p1 -u -i ../../temp/temp.patch -d src/minecraft' failed : 1
== ERRORS FOUND ==`
1 out of 1 ...
1
vote
0answers
83 views
How to disassemble an electron app without having access to its asar file
I know I can disassemble electron apps that have an asar file or package as said here. But I have installed an app (that seems to be built with electron) and this application does not have asar file ...
0
votes
1answer
24 views
How to Copy file from apps internal folder before it gets deleted?
I am reverse engineering an application for personal use.
The given application creates a file - "a" - inside its data folder in /data/data reads it and then deletes it. I found that out by ...
-1
votes
1answer
18 views
Obtaining ASM of a program using C++
I was wondering if there is a simple way of using C++ to take a path of an executable and then fetch it's ASM? External library or command-line program solutions are accepted :)
1
vote
0answers
52 views
Visual Studio will automatically make functional changes to the following projects in order to open them
I decompiled a EXE and now when I try to open it. I get
One-way upgrade
Visual Studio will automatically make functional changes to the following projects in order to open them. You will not be able ...
0
votes
1answer
72 views
Generalizing/compiling haskell code into a lambda
I am pretty much 90% sure that the title of this question is wrong however I have no idea what the right title would be (I will gladly edit the title if suggestions come along!).
When reading up on ...
0
votes
0answers
18 views
What is the purpose of decompilers and how can I leverage it for Software development?
Recently I came across a .Net decompiler called DotPeek, how can I leverage it for Software development? How to use it to learn the actual compilation and execution of code? Examples of real-life use ...
0
votes
2answers
762 views
IDA. how can i install decompiler?
I downloaded from official site(hex-rays) IDA, installed, everything works. I found needed for me function, pressed F5(hotkey for decompile so i would see C pseudocode), and got pop-up message:
ida ...
0
votes
0answers
79 views
Apk does not work after signing it with Apk Easy tool ?
I am using Unity, I finished my little game ( just one scene ) and build my apk and tested it on my phone ( android application ), and it worked, but I wanted to sign it with Apk Easy Tool so I ...
0
votes
0answers
98 views
How can I .dex file to jar type from Windows command line?
Below is the code I entered in a Windows command prompt, and the failure it's giving. I added classes.dex of my apk to dex2jar, and set the path in the command windows, but it didn't work.
Any ...
0
votes
1answer
485 views
How do I decompile this Lua bytecode?
So I have some Lua bytecode, and now I would like to re-compile it into human readable code:
\27\76\117\97\81\0\1\4\8\4\8\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\2\4\0\0\0\5\0\0\0\65\64\0\0\28\64\0\1\...
0
votes
2answers
85 views
what does (char *)__strdup do in c
int __cdecl sub_920(char *s1)
{
void *v1; // esi
char *ptr; // esi
int v3; // edi
v1 = off_2048;
strlen((const char *)off_2048);
ptr = (char *)__strdup(v1);
memfrob(ptr);
v3 = strcmp(...
0
votes
0answers
40 views
Jad decompile .class file issues - find some unknown characters in private variables
When I used JAD to decompile .Class Files, the private variables show unknown characters in private variables.
My command as below:
jad.exe -r -ff -d classes -s java classes/**/*.class
I have tried ...
0
votes
1answer
89 views
How to add some script to an existing swf file?
I know that much has already been discussed about this issue.
I do not want to change a value or address,I can do these things and there is no problem. But I want to add some code to the existing code ...
0
votes
0answers
37 views
Antidecompiling protection for .net
I think all types of .net obfuscator can be broken by dedot or other. But here www.whoitam.com with this .net program i found unbreakable protection. I think it is not using any .net obfuscator. But ...
0
votes
0answers
104 views
Can't find string resource in Unity3D apk decompiled
i am playing with apktool with an apk file (unity3D game) , i decompiled it witout error and i build it again without any chnages and it's working fine , the probelem is that i can't find a string ...
-4
votes
1answer
79 views
How to convert from assembly into readable code in a higher level language?
I want to understand an algorithm that was written in assembler.
The code looks like this
MOV EAX,DWORD PTR SS:[ESP] - Put Value, entered into EAX
Mov ECX, EAX - Copy value from ...
0
votes
0answers
33 views
Finding C# controller files and folder from decompiled files via dotPeek
I am updating a C# website and I don't have the source files. There are no controller options or folders. I downloaded dotPeek to decompile the dll files. I am able to see all the files in Assembly ...
0
votes
0answers
60 views
Decompiling .NET assemblies only shows throw null; [duplicate]
I want to know more about how the things in System.Linq.Expression.* work.
First approach:
VisualStudio tells me this is the file I'm looking for:
C:\Program Files (x86)\Reference Assemblies\...
1
vote
1answer
41 views
ildasm / ilasm - Symantec false positive
I am having a problem with disassembling and reassembling a .NET executable and it throwing a false positive after.
The error I get specifically is:
Heur.AdvML.B
As of now, I am no longer editing ...
0
votes
0answers
37 views
how can I prevent dotPeek from converting a .config file into a c# class
The folder from which I decompiled using dotPeek contains a .config file, but the .config file was not included in the new project that I saved from decompiling.
<configSections>
&...
-2
votes
3answers
1k views
Im trying to figure out how I can decompile this obfuscated Lua script
So I've been trying to figure out how to decompile dlls, java, and Lua files but once I ran into this one I got stumped.
Does anyone have any ideas on how I can decompile this?
Since the script was ...
0
votes
0answers
49 views
wpf exe to source code [duplicate]
Is there a way to get published wpf application's source code using Just Decompile. All the files are in .dll.deploy or .exe.deploy. I renamed the files to .dll and .exe and it worked. But XAML code ...
0
votes
2answers
142 views
Is it possible to take a WASM file and go back to a JS file?
Although I suspect the answer is no, I'll ask anyway. Given a Web Assembly file (.wasm), is it possible to de-compile that file into a Javascript file?
0
votes
1answer
216 views
Decompiling Issues with MCP940, Looking for Minecraft main jar… not found
I'm having issues with getting minecraft loaded in debug mode through eclipse. I've downloaded MCP940 for version 1.12, i copied the 1.12.jar file into the jars folder within MCP940, and ran the ...
0
votes
1answer
228 views
How do I detect if the app is written in Kotlin, given an APK file?
I have multiple APK files, and I would like to know if they were created with Kotlin. Some unique strings, imports?
As I understand, looking only by the word 'kotlin' can give me some false results.
...
1
vote
2answers
459 views
Decompile VB.NET exe to C# (dotPeek & JustDecompile)
So I have a program which is built from VB.NET but don't have the source code and it's impossible to get the source code, I need to modify the program so I decompile it using dotPeek & ...
0
votes
1answer
91 views
How decompile .net dll to project c# [CompilerGenerated]
when decompile dll using dotpeek I am getting this code
[CompilerGenerated]
private static class <Importuj>o__SiteContainer0
{
public static CallSite<Func<CallSite, ...
2
votes
2answers
65 views
Investigate jar differences
I am currently trying to rebuild an old application from a tag and unfortunately I get jar files containing "non binary equals" .class files.
I've tried to compare the decompiled version of these ....
0
votes
0answers
19 views
How to utilize 32-bit .exe file?
Currently, I'm writing PyQt app. User input some data, the output is the result of specific calculations. However, to provide those calculations I need to use one .exe file which, presumably, was ...
2
votes
3answers
4k views
Is it possible to decompile a C++ executable file [duplicate]
I lost the source code to an executable file but still have the actual file. Is there any way to retrieve the original C++ code?
0
votes
1answer
56 views
How to reintegrate anonymous classes into Java code produced by the ECD decompiler?
I have a jar for school that is supposed to be decompiled, modifed, and reevaluated. I decompiled all of the class files using the ECD plugin for Eclipse, but I think I have a few anonymous classes ...
1
vote
1answer
748 views
rebuilding .apk decompiled with javadecompilers.com
I am trying to patch one .apk and I've found that you can do it using
apktool d your.apk
then patch smali files
apktool b com.your.package patched.apk
and finally jarsign it with debug key
The ...
0
votes
2answers
40 views
Is there a way to recover an apk app
My laptop crashed and i lost my android project ive been working on for the past 6 month. I still have the debug version on my phone. Is there a way i can get the code from that?
0
votes
1answer
91 views
How could I turn off decompilation of the files in the Rider?
How could I turn off decompilation of the files in the Rider? It drives me crazy that every time I place a breakpoint somewhere and start to move upward the stack trace the rider provides me with ...