Skip to content

Commit d17a490

Browse files
committed
V1
1 parent 1b38160 commit d17a490

File tree

1,825 files changed

+25374
-90395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,825 files changed

+25374
-90395
lines changed

LICENSE

+674-21
Large diffs are not rendered by default.

README.md

+46-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1-
# Rip
2-
Ripper that extracts augmented models from Android apps.
3-
Coming soon!
1+
# RIP
2+
### 2018, Universidad de los Andes - The Software Design Lab
3+
4+
## Dependencies
5+
6+
To build the .JAR you must install Java 8 JDK and Gradle 4.5.1
7+
8+
Gradle will install the following dependencies:
9+
```
10+
* JUnit (4.12)
11+
* Apache Commons IO (2.6)
12+
* Jackson-Core (2.9.4)
13+
* Log4J (2.10.0)
14+
```
15+
## Installation
16+
17+
To build the project run the command:
18+
```
19+
gradle jarjar
20+
```
21+
The JAR file will be generated at
22+
```
23+
build/libs/RIP.jar
24+
```
25+
Set the following environment variables
26+
27+
```
28+
APK_LOCATION
29+
AAPT_LOCATION
30+
```
31+
where APK_LOCATION corresponds to the path of the apk to be analyzed, and AAPT_LOCATION is where AAPT is located.
32+
33+
**Example:**
34+
35+
```
36+
APK_LOCATION= /home/maria/Documentos/RIP/androidApps/Spunky2.apk
37+
AAPT_LOCATION= /home/maria/Android/Sdk/build-tools/27.0.3/aapt
38+
39+
```
40+
41+
## Running
42+
43+
Before running you must have an android emulator turned on or a device connected with the debugging option enabled.
44+
To run an android emulator from the terminal you can use the command **emulator -list-avds** (under Android/sdk/tools/) to check the available devices. Then, you can turn on one device by running the **emulator -avd EMULATOR_NAME command**.
45+
46+
To run the jar file, go to the folder where it was generated at (build/libs). Then, run the command `java -jar RIP.jar` to start the execution.

build.gradle

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*
2+
* This build file was generated by the Gradle 'init' task.
3+
*
4+
* This generated file contains a sample Java Library project to get you started.
5+
* For more details take a look at the Java Libraries chapter in the Gradle
6+
* user guide available at https://docs.gradle.org/3.5/userguide/java_library_plugin.html
7+
*/
8+
9+
// Apply the java-library plugin to add support for Java Library
10+
apply plugin: 'java-library'
11+
12+
// In this section you declare where to find the dependencies of your project
13+
repositories {
14+
// Use jcenter for resolving your dependencies.
15+
// You can declare any Maven/Ivy/file repository here.
16+
mavenCentral()
17+
jcenter()
18+
}
19+
20+
task jarjar(type: Jar) {
21+
manifest {
22+
attributes "Main-Class": "main.Rip"
23+
}
24+
baseName = 'RIP'
25+
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
26+
with jar
27+
}
28+
29+
30+
dependencies {
31+
compile 'commons-io:commons-io:2.6'
32+
compile 'com.fasterxml.jackson.core:jackson-core:2.9.4'
33+
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.4'
34+
compile 'com.googlecode.json-simple:json-simple:1.1.1'
35+
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.1'
36+
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'
37+
compile group: 'org.eclipse.jetty', name:'jetty-server', version: '9.2.3.v20140905'
38+
compile group: 'org.eclipse.jetty', name:'jetty-servlet', version: '9.2.3.v20140905'
39+
compile group: 'me.tongfei', name:'progressbar', version: '0.5.5'
40+
41+
// Use JUnit test framework
42+
testImplementation 'junit:junit:4.12'
43+
}
44+

docs/css/coming-soon.css

-214
This file was deleted.

docs/css/coming-soon.min.css

-5
This file was deleted.

0 commit comments

Comments
 (0)