Giter VIP home page Giter VIP logo

anish-adm / trust_fall Goto Github PK

View Code? Open in Web Editor NEW
37.0 1.0 44.0 187 KB

A Flutter plugin for detecting the trust fall of the device(Jailbroken, root, emulator and mock location detection).

Home Page: https://pub.dartlang.org/packages/trust_fall

License: MIT License

Java 43.70% Ruby 9.89% Objective-C 8.05% Dart 38.37%
flutter jailbreak root-detection mock-location emulator-detector simulator-detector circleoftrust

trust_fall's People

Contributors

anish-adm avatar anish-appx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

trust_fall's Issues

com.anish.trust_fall.Rooted.GreaterThan23.checkRootMethod2 (GreaterThan23.java)

main (native): tid=1 systid=14044
#00 pc 0x7550c libc.so
#1 pc 0x1af800 libart.so
#2 pc 0x3dc650 libart.so
#3 pc 0x2addc libopenjdk.so
#4 pc 0x2ad40 libopenjdk.so
at java.lang.UNIXProcess.forkAndExec(UNIXProcess.java)
at java.lang.UNIXProcess.(UNIXProcess.java:133)
at java.lang.ProcessImpl.start(ProcessImpl.java:141)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:699)
at java.lang.Runtime.exec(Runtime.java:564)
at com.anish.trust_fall.Rooted.GreaterThan23.checkRootMethod2(GreaterThan23.java)
at com.anish.trust_fall.Rooted.GreaterThan23.checkRooted(GreaterThan23.java)
at com.anish.trust_fall.Rooted.RootedCheck.isJailBroken(RootedCheck.java)
at com.anish.trust_fall.MainMethodCallHandler.onMethodCall(MainMethodCallHandler.java)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java)
at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0(DartMessenger.java)
at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$R4HPk6oFVb-i-YR_PN9YE6kqx1I.run(-.java)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:263)
at android.app.ActivityThread.main(ActivityThread.java:8292)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)

[Question] Bluestack Not Detected as Emulator. Intended or Bug?

I tried to prevent our app from being use on emulators and simulators but our QA was able to use our app using BlueStacks.

My question is, is Trust Fall only intended for checking Android Emulator (ADB) and iOS Simulator (XCode)?

Here are the infos I get from device_info when checking BlueStacks' emulator. information:
Screen Shot 2021-01-29 at 10 36 19 AM

Permission required even when I've granted permission

I've added these two lines to the manifest

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

However, Android throws an exception when I try to call isTrustFall saying that location permission is needed

java.lang.SecurityException: uid 10159 does not have android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION.

Hello, i have this error ocurring:

java.lang.SecurityException: uid 10159 does not have android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION.

I allready added this to the androidManifest in the same place where you ask por internet permissions.

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

I also allready did flutter clean, several times, and still have the same issue.
I have Flutter sdk 1.20.4

I add a partial loging:
I/RootBeer(24900): LOOKING FOR BINARY: /data/local/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /data/local/bin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /data/local/xbin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /sbin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /su/bin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/bin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/bin/.ext/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/bin/failsafe/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/sd/xbin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/usr/we-need-root/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/xbin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /cachesu Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /datasu Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /devsu Absent :( E/MethodChannel#trust_fall(24900): Failed to handle method call E/MethodChannel#trust_fall(24900): java.lang.SecurityException: uid 10160 does not have android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION.

Please Help, thnx !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.