Comments (3)
Hi @justinagain, for 1) look at Reorder obfuscator, it should do something similar to what you described. For 2), since both Goto and Reorder obfuscators usually work, I think goto instructions can be used inside the body of a method without problems.
from obfuscapk.
@ClaudiuGeorgiu - thanks for this. So, I ran Reorder and indeed it added random gotos. Now the fun part - this causes many problems for decompilation. Neither of these are Obfuscapk's problem, per se, but something people should be aware of.
1.) A tool like Jadx that uses smali will fail on those methods and be unable to create Java source code. As there is no unconditional goto in Java (but there is in Dalvik byte code) - it cannot render the obfuscated code back to Java. Jadx will output the byte code so you at least know what is going on.
2.) More problematic is running this through a tool like Soot. Soot will fail on these and outline an error related to the Registy and null pointer. I do not know the ramifications of this. It's possible that Soot is unable to handle the unconditional goto or maybe its an invalid app output by Obfuscapk. I did not run it in an emulator to see which is the case - have no plans to. Just letting you know!
You can close this ticket.
from obfuscapk.
Thanks for the feedback!
from obfuscapk.
Related Issues (20)
- Error obfuscapk BundleDecompiler HOT 12
- apktool error during rebuilding HOT 7
- unknown shorthand flag HOT 7
- About metasploit HOT 2
- apktool errror HOT 1
- About enc key HOT 1
- Whether About is Bundle Support aab? HOT 5
- obfuscate .JSON file HOT 5
- Failure with Rebuild obfuscator using *.aab file HOT 9
- this docker image can not support mac m1.
- 'docker run -v "/root/":"/workdir" obfuscapk -w /workdir/obfuscation_dir/ -o' can not run.
- class_rename incorrectly replaced the command
- path error HOT 2
- Encrypting strings in a java class or in the resources files HOT 3
- APK Tool OOM HOT 1
- TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType HOT 1
- Failed install obfuscated apk. HOT 4
- sign bundle .aab with custom key
- Obfusca apk working on kotlin? HOT 1
- Apk Obfuscation and apktoll error i think
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obfuscapk.