Skip to content

Commit

Permalink
Update pre-compiled libtool-checker.so binaries to attempt to ensure …
Browse files Browse the repository at this point in the history
…fstack protection added.
  • Loading branch information
scottyab committed May 21, 2021
1 parent eff8e89 commit 88dbbd2
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 16 deletions.
5 changes: 4 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ android {
minSdkVersion minSdkVer
targetSdkVersion targetSdkVer
versionCode 10
versionName "0.8.1"
versionName "0.9"
vectorDrawables.useSupportLibrary = true

archivesBaseName = "RootBeerSample-$versionName-[$versionCode]"

}

//check if the keystore details are defined in gradle.properties (this is so the key is not in github)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,30 @@ class CheckForRootWorker(context: Context) {
suspend operator fun invoke(): List<RootItemResult> = getRootResults()

private fun getRootResults() = listOf(
RootItemResult("Root Management Apps", rootBeer.detectRootManagementApps()),
RootItemResult("Potentially Dangerous Apps", rootBeer.detectPotentiallyDangerousApps()),
RootItemResult("Root Cloaking Apps", rootBeer.detectRootCloakingApps()),
RootItemResult(
"Root Management Apps", rootBeer.detectRootManagementApps(
arrayOf(
"com.tippingcanoe.hukd",
"com.google.android.gm", "bbc.mobile.weather"
)
)
),
RootItemResult(
"Potentially Dangerous Apps", rootBeer.detectPotentiallyDangerousApps(
arrayOf(
"com.tippingcanoe.hukd",
"com.google.android.gm", "bbc.mobile.weather"
)
)
),
RootItemResult(
"Root Cloaking Apps", rootBeer.detectRootCloakingApps(
arrayOf(
"com.google.android.apps.photos",
"com.alltrails.alltrails"
)
)
),
RootItemResult("TestKeys", rootBeer.detectTestKeys()),
RootItemResult("BusyBoxBinary", rootBeer.checkForBusyBoxBinary()),
RootItemResult("SU Binary", rootBeer.checkForSuBinary()),
Expand Down
14 changes: 2 additions & 12 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,34 +1,25 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true

# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

VERSION_NAME=0.0.9
VERSION_CODE=9
VERSION_NAME=0.1.0
VERSION_CODE=10
GROUP=com.scottyab


POM_DESCRIPTION=A tasty root checker library and sample app. We've scoured the internets for different methods of answering that age old question... Has this device got root?
POM_URL=https://github.com/scottyab/rootbeer.git
POM_SCM_URL=https://github.com/scottyab/rootbeer.git
Expand All @@ -39,6 +30,5 @@ POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=scottyab
POM_DEVELOPER_NAME=Scott Alexander-Bown

RELEASE_REPOSITORY_URL=https://oss.sonatype.org/service/local/staging/deploy/maven2
SNAPSHOT_REPOSITORY_URL=https://oss.sonatype.org/content/repositories/snapshots
Binary file modified rootbeerlib/src/main/jniLibs/arm64-v8a/libtool-checker.so
100755 → 100644
Binary file not shown.
Binary file modified rootbeerlib/src/main/jniLibs/armeabi-v7a/libtool-checker.so
100755 → 100644
Binary file not shown.
Binary file modified rootbeerlib/src/main/jniLibs/x86/libtool-checker.so
100755 → 100644
Binary file not shown.
Binary file modified rootbeerlib/src/main/jniLibs/x86_64/libtool-checker.so
100755 → 100644
Binary file not shown.

0 comments on commit 88dbbd2

Please sign in to comment.