decompiling

Can .Net Core 3 self-contained single executable be decompiled?

老子叫甜甜 提交于 2020-05-31 07:42:26
问题 I tried using Dotpeek and ILSpy.Net to decompile (my own code), they failed. Do I need special obfuscation on distributed binaries of .Net Core 3 self-contained single executable ? <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>netcoreapp3.0</TargetFramework> <PublishTrimmed>true</PublishTrimmed> <PublishReadyToRun>true</PublishReadyToRun> <PublishSingleFile>true</PublishSingleFile> <RuntimeIdentifier>win-x64</RuntimeIdentifier> </PropertyGroup

How do I detect if the app uses React Native, given APK file?

岁酱吖の 提交于 2020-05-10 04:24:34
问题 I downloaded APK file from Google Play, and want to know if the develop of the application have used React Native library. What's a quick and stable way to do that? (Would be even better if it's something I can potentially automate later - but such automation itself is out of scope of this question.) 回答1: I can offer you 2 solutions: Solution 1 You can use dex2jar. When you open the generated jar file, you can check if it uses React Native if there is a folder /com/facebook/react/ . Solution

How to secure an API REST for mobile app? (if sniffing requests gives you the “key”)

核能气质少年 提交于 2020-03-21 05:14:09
问题 It's probable a newbie question but I'll try to create an interesting debate. I know there's some authentication methods for API Basic Authentication, API Keys, OAuth 2.0 ... all of those methods add a header or a formData param in the request. Although you use SSL, it's "usually easy" to hack mobile apps (I'm thinking in Android right now: decompiling the app, changing manifest to allow custom SSL, compiling again and sniffinf through a SSL proxy all the requests). In those request I've

What are these weird booleans used for in JMH?

拟墨画扇 提交于 2020-02-23 06:58:06
问题 I wrote a JMH test about the cost of new instruction, and checked the class files it generates. Except the usual classes, there're tons of derived classes in generated folder: This really shocked me, for just few annotations will lead to so many class bounded together through inheritance. I am curious about what things are in those class, so I use a decompile tool (BTW I learned this tool from one talk on KotlinConf 2019) called procyon to decompile these generated class, most of them are

Decompile C code with debug info?

做~自己de王妃 提交于 2020-02-04 01:22:28
问题 Java and Python byte code are relatively easy to decompile than compiled machine code generated by C/C++ compiler. I am unable to find a convincing answer as to why the information from the -g option is insufficient for de-compilation, but sufficient for debugging? What is the extra stuff contained in Python/Java byte code, that makes decompilation easy? 回答1: I am unable to find a convincing answer as to why the information from the -g option is insufficient for de-compilation, but sufficient

How to decompile iOS apps?

狂风中的少年 提交于 2020-02-01 17:18:05
问题 I want to see the code of an iOS app. The app I downloaded is .deb. First question : Is it possible to install .deb file on iOS or I downloaded a wrong file? After unpacking the .deb file, I got some files, including .nib, .storyboard and some other files. My main question is, How to decompile these .nib files? I tried to decompile these files using NibToXibConverter, but I didn't succeed. 回答1: Answer to your first question: I think you downloaded the wrong file. .deb files for iOS are common

How to Protect an Exe File from Decompilation

谁说胖子不能爱 提交于 2020-01-31 03:50:06
问题 What are the methods for protecting an Exe file from Reverse Engineering.Many Packers are available to pack an exe file.Such an approach is mentioned in http://c-madeeasy.blogspot.com/2011/07/protecting-your-c-programexe-files-from.html Is this method efficient? 回答1: The only good way to prevent a program from being reverse-engineered ("understood") is to revise its structure to essentially force the opponent into understanding Turing Machines. Essentially what you do is: take some problem

Decompile & recompile single file from jar

三世轮回 提交于 2020-01-23 01:53:49
问题 This problem has been solved witht he help of the comments: It was necessary to recompile the java with the correct target version. In my case javac -source 1.3 -target 1.3 instead of simply javac did the trick. Problem Description: I have a compiled .jar java program in which a single url string needs to be modified. Using JD I was able to decompile the code and make the changes. As I would like to avoid having to recompile the entire project I thought I could simply recompile the single

Protect C++ program against decompiling [duplicate]

倖福魔咒の 提交于 2020-01-21 08:31:28
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: Is it possible to decompile C++ Builder exe? Is C++ Builder exe safe? I use Microsoft Visual C++ 2010 Express to write my programs. When i want to distribute my program I compile it with 'Release' configuration and also I set the linker to not add debug information. So my question is, Is my executable safe or anyone can decompile it and see the source code? If it is unsafe, how can I prevent it from being

Decompiling Anonymous Method IL in .NET Core

戏子无情 提交于 2020-01-16 04:26:06
问题 I have this method public void Add(Action<Cursor> action) { // Decompile `action` to C# } Inside the method I want to decompile the anonymous method inside action to C# code, or AST representation of C# code. I tried using Mono.Cecil and ICSharpCode.Decompiler (from the ILSpy repository), but I couldn't find a way to decompile anonymous methods, as both libraries require you to load the assembly from a physical location and search the method through the types graph, which seems very