Giter VIP home page Giter VIP logo

purify's Introduction

Purify

Purify is a Proof-of-Concept Android application that can remove advertisements (ads) from any apk (i.e. Android app). It doesn't need root privileges.

Disclaimer

This application is just a proof of concept, I wrote it in few hours. The code isn't so tidy and the application can fail. If the application fails, the new purified apk (i.e. without ads) will crash.

How it works

Purify takes in input an apk and changes the content of classes.dex. In details, the application looks for well known ads domains (e.g. example.ads.site.com) and replaces the domains with invalid domains. Thus, for example, an application instead to do an http request to example.ads.site.com/banner.php?size=100 will request an invalid url as aaaaaaaaaaaaaaa/banner.php?size=100. For the majority of the apps this should mean that the app will not display any ads. However, some apps can crash, so it doesn't work always.

Requirements

Purify can edit the classes.dex file inside an apk, it will produce a new purified apk containing the same (old) signature. You can try to install it, however probably you will get an error during the installation asserting that the package is corrupted. A valid apk must be signed, otherwise you can't install it, so you need to use also an apk signer to correctly sign the application. I recommend the open source ZipSigner. Purify requires Android 4.2 or higher.

License

GPLv3

purify's People

Contributors

echo-devim 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.