xdek42 / autoreinforce Goto Github PK
View Code? Open in Web Editor NEW自动加固Android App
自动加固Android App
配置文件
[Application]
app = drozer.apk
num = 0
[FUNCTION0]
class =
function =
signature =
运行成功并生成签名的apk文件
但是在android 4.4真机上运行直接crash
logcat:
07-25 16:10:10.251 17772-17772/com.mwr.dz A/libc: Fatal signal 11 (SIGSEGV) at 0x793ae124 (code=2), thread 17772 (com.mwr.dz)
07-25 16:10:10.281 5144-5144/? E/ActivityThread: Activity com.htc.launcher.Launcher has leaked IntentReceiver com.htc.launcher.masthead.FeedActionBar$2@41f06a08 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity com.htc.launcher.Launcher has leaked IntentReceiver com.htc.launcher.masthead.FeedActionBar$2@41f06a08 that was originally registered here. Are you missing a call to unregisterReceiver()?
at android.app.LoadedApk$ReceiverDispatcher.(LoadedApk.java:895)
at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:664)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1670)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1650)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:481)
at com.htc.launcher.masthead.FeedActionBar.(FeedActionBar.java:92)
at com.htc.launcher.masthead.FeedActionBar.(FeedActionBar.java:81)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:839)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:745)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:375)
at android.app.Activity.setContentView(Activity.java:1997)
at com.htc.launcher.Launcher.onCreate(Launcher.java:1139)
at android.app.Activity.performCreate(Activity.java:5312)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2552)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2653)
at android.app.ActivityThread.access$800(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5872)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1069)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:885)
at dalvik.system.NativeStart.main(Native Method)
07-25 16:10:10.581 4829-17786/? E/ActivityManager: App crashed! Process: com.mwr.dz
Q1:
我要加固的应用中,有自己实现的application类
这个加固方式会直接覆盖掉自己实现的application?
Q2:
如果有两个及以上预置应用一起加固的话
这个libreinforce.so没法具体区分了
2018-11-01 09:42 [INFO] apk decompressed completed
2018-11-01 09:42 [INFO] apk decompiled completed
2018-11-01 09:42 [INFO] classes.dex parsing completed
2018-11-01 09:42 [INFO] classes.dex modified completed
2018-11-01 09:42 [INFO] classes.dex encrypted completed
2018-11-01 09:42 [INFO] AndroidManifest.xml modified completed
2018-11-01 09:42 [ERROR] ndk-build failed
╰─$ ndk-build
Android NDK: Could not find application project directory !
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
/Users/~~/Private/android/android-ndk-r10e/build/core/build-local.mk:143: *** Android NDK: Aborting . Stop.
你好,我最近也在做类似加固的研究,并取得一些进展,所以想和你讨论下一起进步,可以加下qq?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.