StringFuck - Yet Another String Obfuscator for Android

Overview

StringFuck

Yet Another String Obfuscator for Android

MavenCentral

一个字符串混淆器,旨在防止被jadx、MT等工具一键解密

目前还很简陋,只能简单骗过反编译器(毕竟纯 Java)

可能存在不少 bug,只是个玩具,不适用于生产环境

Features

  • 只支持 AGP 7+
  • 支持 API 24-32
  • 防一键解密(目前很简陋,人工还是容易找到解密类)

使用方法

Root project
buildscript {
    val stringFuckVersion by extra("0.1.2")
    dependencies {
        classpath("icu.nullptr.stringfuck:gradle-plugin:$stringFuckVersion")
    }
}
App
val stringFuckVersion: String by rootProject.extra

plugins {
    id("icu.nullptr.stringfuck")
}

dependencies {
    implementation("icu.nullptr.stringfuck:library:$stringFuckVersion")
}

stringFuck {
    // 解密密钥,ByteArray 类型
    key = xxx
    // 或使用 setKey(String)
    
    // 编译时是否输出调试信息
    isPrintDebugInfo = false
    
    // 是否在 debug buildType 中使用
    isWorkOnDebug = false
    
    // 是否使用白名单模式
    // 若不启用,StringFuck 只会混淆以列表中开头的类
    // 若启用,StringFuck 会混淆以列表中开头以外的所有类
    isWhiteList = false
    
    // 混淆列表
    obfuscationList = setOf("icu.nullptr")
    
    // 自定义加密方法,类型 ((String) -> ByteArray)?,设置为空则使用默认 Xor 方案
    encryptMethod = null
    
    // 自定义解密类完整类名,设置为空则使用默认 Xor 方案
    decryptMethodClassPath = null
}
初始化
StringFuck.init();
You might also like...
Android Studio plugin which automatically generates drawable selectors from appropriately named resources.
Android Studio plugin which automatically generates drawable selectors from appropriately named resources.

SelectorChapek for Android This Android Studio plugin automatically generates drawable selectors from appropriately named Android resources. How to in

Maven Plugin for Android Application development and more

ANDROID MAVEN PLUGIN A plugin for Android application development with Apache Maven 3.0.5+ and the Android SDK. Please check out our website for furth

 Gradle plugin which downloads and manages your Android SDK.
Gradle plugin which downloads and manages your Android SDK.

DEPRECATED This plugin is deprecated and is no longer being developed. Tools and dependencies are automatically downloaded using version 2.2.0 of the

A Gradle plugin to support the Groovy language for building Android apps

Groovy language support for Android Deprecated: This plugin has been deprecated in favor of Kotlin which has the full support of JetBrains and Google.

Add a different ribbon to each of your Android app variants using this gradle plugin. Of course, configure it as you will

Easylauncher gradle plugin for Android Modify the launcher icon of each of your app-variants using simple gradle rules. Add ribbons of any color, over

An easy-to-use sbt plugin for working with all Android projects
An easy-to-use sbt plugin for working with all Android projects

Build Android Projects Using SBT http://scala-android.org/ Change log | FAQ Auto-import from gradle using sbt-android-gradle NOTE: 1.6.0 is the last v

A Gradle Plugin that removes unused resources in Android projects.
A Gradle Plugin that removes unused resources in Android projects.

#Lint Cleaner Plugin Removes unused resources reported by Android lint including strings, colors and dimensions. Depracated As of Android Studio 2.0+

A Leiningen plugin for building Clojure/Android projects

lein-droid A Leiningen plugin to simplify Clojure development for Android platform. It acts as a build-tool for Clojure/Android projects. Usage First

Maven Archetypes for Android development

android-archetypes This projects provides several Maven archetypes for Android. Those archetypes allows to quickly bootstrap a Maven project to develo

Owner
Nullptr
Nullptr
A tool to convert unit tests from one standard to another

unit-test-exchange-maven-plugin This plugin works as a tool to convert unit test

null 1 Feb 3, 2022
A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.

ADB Idea A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development. The following commands are provided: Uninst

Philippe Breault 2k Dec 28, 2022
IntelliJ / Android Studio plugin for Android Holo Colors

This project is not maintained anymore. Holo Colors doesn't make sense since the introduction of Material Design and the ability to set the primary co

Jérôme Van Der Linden 644 Nov 10, 2022
gradle-android-scala-plugin adds scala language support to official gradle android plugin

gradle-android-scala-plugin gradle-android-scala-plugin adds scala language support to official gradle android plugin. See also sample projects at htt

saturday06 345 Dec 10, 2022
[Deprecated] Android Studio IDE support for Android gradle unit tests. Prepared for Robolectric.

#[Deprecated] Google has finally released a proper solution for unit testing. Therefore this plugin will no longer be activlty maintained. android-stu

Evan Tatarka 236 Dec 30, 2022
ADB WIFI Android Studio plugin for debug android app over Wi-Fi.

ADB WIFI ADB WIFI Android Studio plugin for debug android app over Wi-Fi. How to install in Android Studio: go to Preferences

Sutachad Wichai 298 Jan 3, 2023
Android Studio plug-in for generating ButterKnife injections from selected layout XML.

ButterKnifeZelezny Simple plug-in for Android Studio/IDEA that allows one-click creation of Butterknife view injections. How to install in Android Stu

Avast 3.4k Dec 14, 2022
GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.

Gradle Play Publisher Gradle Play Publisher is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and

null 3.9k Dec 30, 2022
IntelliJ Plugin for Android Parcelable boilerplate code generation.

IntelliJ/Android Studio Plugin for Android Parcelable boilerplate code generation This tool generates an Android Parcelable implementation based on fi

Michał Charmas 2.1k Dec 27, 2022