逆向 | 开发 | 信息安全
xxr0ss / antifrida Goto Github PK
View Code? Open in Web Editor NEW一些Frida检测手段
一些Frida检测手段
逆向 | 开发 | 信息安全
I am unable to run the project in " Armeabi-v7a " devices. Got below compile error
Execution failed for task ':app:buildCMakeRelWithDebInfo[armeabi-v7a]'.
Build command failed.
Error while executing process /Users/raknahs/Library/Android/sdk/cmake/3.18.1/bin/ninja with arguments {-C /Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/.cxx/RelWithDebInfo/2l91r113/armeabi-v7a antifrida}
ninja: Entering directory `/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/.cxx/RelWithDebInfo/2l91r113/armeabi-v7a'
[1/3] Building ASM object CMakeFiles/antifrida.dir/syscall.S.o
[2/3] Building CXX object CMakeFiles/antifrida.dir/antifrida.cpp.o
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:40:18: warning: expression result unused [-Wunused-value]
unused_param(thiz);
^~~~
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:18:26: note: expanded from macro 'unused_param'
#define unused_param(x) (x)
^
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:249:55: warning: format specifies type 'unsigned long *' but the argument has type 'uint64_t *' (aka 'unsigned long long *') [-Wformat]
if (sscanf(buf, "%lx-%lx %4s %lx %*s %*s %s", &base, &end, perm, &offset, path) != 5) {
~~~ ^~~~~
%llx
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:249:62: warning: format specifies type 'unsigned long *' but the argument has type 'uint64_t *' (aka 'unsigned long long *') [-Wformat]
if (sscanf(buf, "%lx-%lx %4s %lx %*s %*s %s", &base, &end, perm, &offset, path) != 5) {
~~~ ^~~~
%llx
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:249:74: warning: format specifies type 'unsigned long *' but the argument has type 'uint64_t *' (aka 'unsigned long long *') [-Wformat]
if (sscanf(buf, "%lx-%lx %4s %lx %*s %*s %s", &base, &end, perm, &offset, path) != 5) {
~~~ ^~~~~~~
%llx
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:264:83: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
"frida signature "%s" found in %lx - %lx", sig, base, end);
~~~ ^~~~
%llx
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:264:89: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
"frida signature "%s" found in %lx - %lx", sig, base, end);
~~~ ^~~
%llx
6 warnings generated.
[3/3] Linking CXX shared library /Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/build/intermediates/cxx/RelWithDebInfo/2l91r113/obj/armeabi-v7a/libantifrida.so
FAILED: /Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/build/intermediates/cxx/RelWithDebInfo/2l91r113/obj/armeabi-v7a/libantifrida.so
: && /Users/raknahs/Library/Android/sdk/ndk/24.0.8215888/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi27 --sysroot=/Users/raknahs/Library/Android/sdk/ndk/24.0.8215888/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O2 -g -DNDEBUG -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libantifrida.so -o /Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/build/intermediates/cxx/RelWithDebInfo/2l91r113/obj/armeabi-v7a/libantifrida.so CMakeFiles/antifrida.dir/syscall.S.o CMakeFiles/antifrida.dir/antifrida.cpp.o -llog -latomic -lm && :
ld: error: undefined symbol: my_openatreferenced by antifrida.cpp:81 (/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:81)
CMakeFiles/antifrida.dir/antifrida.cpp.o:(read_pseudo_file_at(char const*, char**, unsigned int*, bool))
referenced by antifrida.cpp:231 (/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:231)
CMakeFiles/antifrida.dir/antifrida.cpp.o:(Java_com_xxr0ss_antifrida_utils_AntiFridaUtil_scanModulesForSignature)
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
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.