ysrc / anti-emulator Goto Github PK
View Code? Open in Web Editor NEW基于文件特征的Android模拟器检测
基于文件特征的Android模拟器检测
我在夜神上尝试了一下,没有检测到模拟器,具体原因是stat(“/system/bin/nox-prop”)无法返回该文件的状态信息,但是该文件确实是存在的。
不甘心用stat试了下其他系统文件,可以正常返回状态信息,猜测会不会夜神对nox-prop做了一些手脚导致无法用stat返回状态信息?
8.0系统中native-lib.cpp#getVersionInfo()无法读取到设备版本,由于手头没有设备,目前怀疑/proc/version文件可能有变动
art: Failed to register native method com.qtfreet.anticheckemulator.emulator.JniAnti.getApkSign()Ljava/lang/String; in /data/app/cn.com.x x x-1/base.apk
07-11 17:28:28.329 12997-12997/? E/art: ----- class 'Lcom/qtfreet/anticheckemulator/emulator/JniAnti;' cl=0x12c59550 -----
07-11 17:28:28.329 12997-12997/? E/art: objectSize=432 (432 from super)
07-11 17:28:28.329 12997-12997/? E/art: access=0x0008.0001
07-11 17:28:28.329 12997-12997/? E/art: super='java.lang.Class<java.lang.Object>' (cl=0x0)
07-11 17:28:28.329 12997-12997/? E/art: vtable (0 entries, 11 in super):
07-11 17:28:28.329 12997-12997/? E/art: direct methods (4 entries):
07-11 17:28:28.329 12997-12997/? E/art: 0: void com.qtfreet.anticheckemulator.emulator.JniAnti.()
07-11 17:28:28.329 12997-12997/? E/art: 1: int com.qtfreet.anticheckemulator.emulator.JniAnti.checkAntiFile()
07-11 17:28:28.329 12997-12997/? E/art: 2: java.lang.String com.qtfreet.anticheckemulator.emulator.JniAnti.getCpuinfo()
07-11 17:28:28.329 12997-12997/? E/art: 3: java.lang.String com.qtfreet.anticheckemulator.emulator.JniAnti.getKernelVersion()
c 方法getCpuInfo出现了未return的时候
`char *getCpuInfo() {
return (char *) "NULLLLLLLLL"; //# 需要最终有返回,否则异常。
}
`
在ADT Bundle上执行时提示这个错误,所有的JNI方法都出现找不到的异常。
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.