mustime / adrill Goto Github PK
View Code? Open in Web Editor NEWAn Android native libraries injection tool. supports arch arm/arm64/x86/x86_64. Support Android 4.x to 11.0.
License: Other
An Android native libraries injection tool. supports arch arm/arm64/x86/x86_64. Support Android 4.x to 11.0.
License: Other
想在模拟器玩玩,好像不支持
I build it but it has error. i cannt understand this. please help me
Build started... 1>------ Build started: Project: adrill, Configuration: Debug x64 ------ 1>ANDROID_HOME=F:\\Microsoft\AndroidSDK\25 1>ANT_HOME=D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Apps\apache-ant-1.9.3 1>JAVA_HOME=C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot 1>NDK_ROOT=F:\\Microsoft\AndroidNDK64\android-ndk-r16b 1>ANDROID_HOME=F:\\Microsoft\AndroidSDK\25 1>ANT_HOME=D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Apps\apache-ant-1.9.3 1>JAVA_HOME=C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot 1>NDK_ROOT=F:\\Microsoft\AndroidNDK64\android-ndk-r16b 1>main.cc 1>selinux.cc 1>sdk_code.cc 1>elf_dlfcn.cc 1>file_utils.cc 1>ptrace_wrapper.cc 1>call_procedure.cc 1>call_procedure-x86.cc 1>clang.exe: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] 1>clang.exe: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument] 1> undefined reference to 'CallProcedure::returnValue()' 1> undefined reference to 'CallProcedure::returnValue()' 1> undefined reference to 'CallProcedure::returnValue()' 1> undefined reference to 'CallProcedure::returnValue()' 1> undefined reference to 'CallProcedure::_setupCall(unsigned long, std::__ndk1::vector<long, std::__ndk1::allocator<long> > const&)' 1> undefined reference to 'CallProcedure::_checkCall()' 1> undefined reference to 'strtof_l' 1> undefined reference to 'strtod_l' 1>clang.exe: error: linker command failed with exit code 1 (use -v to see invocation) 1>D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Application Type\Android\3.0\Android.Common.targets(119,5): error MSB6006: "clang.exe" exited with code 1. 1>Done building project "adrill.vcxproj" -- FAILED. 2>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------ 2>Project not selected to build for this solution configuration ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 1 skipped ==========
hi, i am facing problem building with windows, can you help me to build using android.mk and Application.mk ?
needed or dlopened by "(unknown)" is not accessible for the namespace "(anonymous)"
3|aosp:/data/local/tmp # ./i --pid 11529 --libpath /data/local/tmp/libudp.so
WARNING: linker: /data/local/tmp/i: unsupported flags DT_FLAGS_1=0x8000001
[!] func 'mmap'(0xc75a88b0) is not within module '/system/lib/libc.so'(0xffffffff-0x0)
[!] func 'munmap'(0xc75f75c4) is not within module '/system/lib/libc.so'(0xffffffff-0x0)
[!] func 'dlopen'(0xc771834c) is not within module '/system/lib/libdl.so'(0xffffffff-0x0)
[!] func 'dlerror'(0xc7718200) is not within module '/system/lib/libdl.so'(0xffffffff-0x0)
[!] something went wrong, see errors listed above.
I tried to inject shared library into app on Android 9.0 (64bit) by Adrill x86-64 and Adrill x86 but it is not impossible
C:\Users\Admin>adb shell "su 0 /data/local/tmp/adrill --pname com.ketchapp.rider --libpath /data/local/tmp/libsoLib.so"
[>] found pid 5416 for process 'com.ketchapp.rider'
[-] attcahing to process 5416 ...
[-] saving registers ...
[-] calling remote mmap ...
CallProcedure::remoteCall failed to check call status
[!] failed to call remote mmap
[-] restoring registers ...
[-] detaching from process 5416 ...
[!] something went wrong, see errors listed above.
so what i need to do now?
按照你的方法,将so文件放到目标app的files文件夹中,依然还是不能正常注入
3|PCRT00:/data/local/tmp # ./adrill_x86 --pid 5744 --libpath /data/local/tmp/libjni_cmake.so
WARNING: linker: /data/local/tmp/adrill_x86: unsupported flags DT_FLAGS_1=0x8000001
[!] process 5744 not found!
[!] something went wrong, see errors listed above.
3|PCRT00:/data/local/tmp # ./adrill_x86 --pname com.thunder.ty --libpath /data/local/tmp/libjni_cmake.so
WARNING: linker: /data/local/tmp/adrill_x86: unsupported flags DT_FLAGS_1=0x8000001
[>] found pid 5744 for process 'com.thunder.ty'
[!] process 5744 not found!
[!] something went wrong, see errors listed above.
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.