GithubHelp home page GithubHelp logo

xiaotujinbnb / dprotect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-obfuscator/dprotect

1.0 0.0 0.0 6.08 MB

:electron: dProtect is a Proguard-based obfuscator for Java and Kotlin

Home Page: https://obfuscator.re/dprotect

License: GNU General Public License v2.0

Shell 0.09% Python 0.07% Java 94.14% Kotlin 5.64% HTML 0.02% Batchfile 0.03%

dprotect's Introduction



dProtect

dProtect is an extension of Proguard with enhanced code obfuscation features. While Proguard is known for obfuscating symbols (package names, class names, ...) and optimizing Java/Kotlin code, dProtect brings code obfuscation for Java and Kotlin on the top of Proguard:

# Arithmetic Obfuscation
-obfuscate-arithmetic,low class dprotect.examples.**
-obfuscate-arithmetic,high,skipfloat class dprotect.internal.**

# Strings Obfuscation
-obfuscate-strings class dprotect.examples.**
-obfuscate-strings class dprotect.internal.CheckPassword {
    public static java.lang.String getPassword();
    public static java.lang.String getLogin();

    private static java.lang.String KEY;
}

# Control-flow obfuscation
-obfuscate-control-flow class dprotect.internal.api.**

# Constants Obfuscation
-obfuscate-constants class dprotect.internal.api.Enum {
  *;
}

dProtect follows the same integration mechanism as Proguard such as it can be instantiated in an Android Gradle-based project as follows:

build.gradle
buildscript {
    repositories {
        mavenCentral()
        maven {
          url = uri("https://maven.pkg.github.com/open-obfuscator/dProtect")
          credentials {
              username = "your-username"
              password = "the-token"
          }
        }
    }
    dependencies {
        classpath 're.obfuscator:dprotect-gradle:1.0.0'
    }
}

You need to generate a Github token to use maven.pkg.github.com. Alternatively, you can use the dprotect-gradle-1.0.0.jar archive of the release's artifacts.

app/build.gradle
apply plugin: 're.obfuscator.dprotect'
// ...
dProtect {
    configurations {
      release {
          configuration 'dprotect-rules.pro'
      }
    }
}

dProtect Pipeline

You can also find out more information here: https://obfuscator.re/dprotect

Contact

You can reach out by email at this address: [email protected]

Maintainers

Credits

License

dProtect is released under the same License as Proguard: GNU General Public License v2.0

dprotect's People

Contributors

anatawa12 avatar autonomousapps avatar bigdaz avatar britter avatar chevreto avatar dzan avatar ericlafortune avatar ericsalemi avatar ericsalemi-gs avatar gkv38 avatar ingdas avatar jagogyselinck avatar jelle-dc avatar jonnybbb avatar laurentferierguardsquare avatar liaolintao avatar lonedev6 avatar maqsoodahmadjan avatar mrjameshamilton avatar nadeeshtv avatar paulerickson avatar pramitha-fernando avatar robinlefever avatar romainthomas avatar rubenpieters avatar runningcode avatar simonschiller avatar sleticalboy avatar ulviyyamz avatar vorburger avatar

Stargazers

 avatar

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.