├── MyApplication2 ├── settings.gradle ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ └── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── assets │ │ │ ├── not_kitty.mod.gif │ │ │ ├── not_kitty_orig.gif │ │ │ ├── hang2.double-free.gif │ │ │ ├── not_kitty.double-free.arm64.gif │ │ │ └── not_kitty.double-free.armv7.gif │ │ │ ├── AndroidManifest.xml │ │ │ ├── cpp │ │ │ └── gif │ │ │ │ ├── egif_lib.c │ │ │ │ ├── gif_lib.h │ │ │ │ └── exploit.c │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── myapplication │ │ │ └── MainActivity.java │ ├── CMakeLists.txt │ ├── proguard-rules.pro │ ├── build.gradle │ └── app.iml ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── local.properties ├── build.gradle ├── gradle.properties ├── MyApplication2.iml ├── gradlew.bat └── gradlew ├── Makefile ├── README.md ├── egif_lib.c ├── exploit.c └── gif_lib.h /MyApplication2/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | gcc -o exploit egif_lib.c exploit.c 3 | -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | My Application 3 | 4 | -------------------------------------------------------------------------------- /MyApplication2/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /MyApplication2/app/src/main/assets/not_kitty.mod.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/assets/not_kitty.mod.gif -------------------------------------------------------------------------------- /MyApplication2/app/src/main/assets/not_kitty_orig.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/assets/not_kitty_orig.gif -------------------------------------------------------------------------------- /MyApplication2/app/src/main/assets/hang2.double-free.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/assets/hang2.double-free.gif -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/assets/not_kitty.double-free.arm64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/assets/not_kitty.double-free.arm64.gif -------------------------------------------------------------------------------- /MyApplication2/app/src/main/assets/not_kitty.double-free.armv7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/assets/not_kitty.double-free.armv7.gif -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshuJaiswal109/CVE-2019-11932/HEAD/MyApplication2/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /MyApplication2/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Oct 12 08:09:12 SGT 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip 7 | -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /MyApplication2/local.properties: -------------------------------------------------------------------------------- 1 | ## This file must *NOT* be checked into Version Control Systems, 2 | # as it contains information specific to your local configuration. 3 | # 4 | # Location of the SDK. This is only used by Gradle. 5 | # For customization when using a Version Control System, please read the 6 | # header note. 7 | #Sat Oct 12 07:33:23 SGT 2019 8 | ndk.dir=C\:\\Users\\Awakened\\AppData\\Local\\Android\\Sdk\\ndk\\20.0.5594570 9 | sdk.dir=C\:\\Users\\Awakened\\AppData\\Local\\Android\\Sdk 10 | -------------------------------------------------------------------------------- /MyApplication2/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | 5 | repositories { 6 | google() 7 | jcenter() 8 | } 9 | dependencies { 10 | classpath 'com.android.tools.build:gradle:3.5.0' 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /MyApplication2/app/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | #SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -g -fsanitize=address -fno-omit-frame-pointer") 4 | #SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -g -fsanitize=address -fno-omit-frame-pointer") 5 | #SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address") 6 | 7 | set(CMAKE_VERBOSE_MAKEFILE on) 8 | 9 | # gif 10 | set(SOURCES) 11 | file(GLOB_RECURSE SOURCES src/main/cpp/gif/*.c) 12 | 13 | add_library(pl_droidsonroids_gif SHARED ${SOURCES}) 14 | 15 | set(LIBS) 16 | list(APPEND LIBS 17 | jnigraphics 18 | android 19 | GLESv2 20 | log 21 | ) 22 | 23 | target_link_libraries(pl_droidsonroids_gif ${LIBS}) 24 | -------------------------------------------------------------------------------- /MyApplication2/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | -------------------------------------------------------------------------------- /MyApplication2/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /MyApplication2/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 |