Skip to content

Commit fe66e19

Browse files
committed
Upload files
1 parent 58d4b81 commit fe66e19

File tree

200 files changed

+21531
-1
lines changed

Some content is hidden

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

200 files changed

+21531
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
# Frida-Injector-for-Android
1+
[![License Info](https://img.shields.io/badge/license-GNU_GPLv3-blue.svg?style=flat-square)](https://github.com/TimScriptov/Frida-Injector-for-Android)
2+
# Frida Injector - Pocket Edition
3+
4+
### Community
5+
> [4pda][1]<br>
6+
> [Telegram][2]<br>
7+
8+
[1]: https://4pda.ru/forum/index.php?showtopic=998591
9+
[2]: https://t.me/frida_injector_pe

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 30
5+
buildToolsVersion '30.0.0'
6+
7+
defaultConfig {
8+
applicationId "com.mcal.fridainjectorpe"
9+
minSdkVersion 21
10+
//noinspection OldTargetApi
11+
targetSdkVersion 29
12+
versionCode 3
13+
versionName "3.0"
14+
}
15+
16+
buildTypes {
17+
release {
18+
minifyEnabled true
19+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
20+
}
21+
}
22+
23+
compileOptions {
24+
sourceCompatibility = 1.8
25+
targetCompatibility = 1.8
26+
}
27+
}
28+
29+
dependencies {
30+
implementation fileTree(dir: 'libs', include: ['*.jar'])
31+
implementation project(':filepicker')
32+
implementation 'androidx.appcompat:appcompat:1.1.0'
33+
implementation 'androidx.cardview:cardview:1.0.0'
34+
implementation 'androidx.preference:preference:1.1.1'
35+
implementation 'com.google.android.material:material:1.1.0'
36+
37+
implementation 'com.chrisplus.rootmanager:library:2.0.5@aar'
38+
39+
implementation 'io.github.inflationx:calligraphy3:3.1.1'
40+
implementation 'io.github.inflationx:viewpump:2.0.2'
41+
}
296 KB
Binary file not shown.

app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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

app/src/main/AndroidManifest.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:tools="http://schemas.android.com/tools"
5+
package="com.mcal.fridainjectorpe">
6+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
7+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
8+
<application
9+
android:requestLegacyExternalStorage="true"
10+
android:allowBackup="true"
11+
android:icon="@mipmap/ic_launcher"
12+
android:roundIcon="@mipmap/ic_launcher_round"
13+
android:label="@string/app_name"
14+
android:supportsRtl="true"
15+
android:theme="@style/AppTheme"
16+
android:name="com.mcal.fridainjectorpe.App"
17+
tools:targetApi="q"
18+
android:fullBackupContent="false">
19+
<activity
20+
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
21+
android:windowSoftInputMode="adjustResize|stateHidden"
22+
android:name=".activities.MainActivity">
23+
<intent-filter>
24+
<action android:name="android.intent.action.MAIN" />
25+
26+
<category android:name="android.intent.category.LAUNCHER" />
27+
</intent-filter>
28+
</activity>
29+
<activity android:name=".activities.SettingsActivity"/>
30+
<provider
31+
android:name="androidx.core.content.FileProvider"
32+
android:authorities="com.mcal.fridainjectorpe.fileprovider"
33+
android:exported="false"
34+
android:grantUriPermissions="true">
35+
<meta-data
36+
android:name="android.support.FILE_PROVIDER_PATHS"
37+
android:resource="@xml/filepaths" />
38+
</provider>
39+
</application>
40+
</manifest>
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* Copyright (C) 2020 Тимашков Иван
3+
*
4+
* This program is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
package com.mcal.fridainjectorpe;
18+
19+
import android.annotation.SuppressLint;
20+
import android.app.Application;
21+
import android.content.Context;
22+
import android.content.SharedPreferences;
23+
24+
import androidx.preference.PreferenceManager;
25+
26+
import io.github.inflationx.calligraphy3.CalligraphyConfig;
27+
import io.github.inflationx.calligraphy3.CalligraphyInterceptor;
28+
import io.github.inflationx.viewpump.ViewPump;
29+
30+
public class App extends Application {
31+
@SuppressLint("StaticFieldLeak")
32+
public static Context context;
33+
public static SharedPreferences preferences;
34+
35+
public static Context getContext() {
36+
if (context == null) {
37+
context = new App();
38+
}
39+
return context;
40+
}
41+
42+
public void onCreate() {
43+
super.onCreate();
44+
context = getApplicationContext();
45+
ViewPump.init(ViewPump.builder()
46+
.addInterceptor(new CalligraphyInterceptor(
47+
new CalligraphyConfig.Builder()
48+
.setDefaultFontPath("fonts/Lato.ttf")
49+
.setFontAttrId(R.attr.fontPath)
50+
.build()))
51+
.build());
52+
preferences = PreferenceManager.getDefaultSharedPreferences(this);
53+
}
54+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Copyright (C) 2020 Тимашков Иван
3+
*
4+
* This program is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
package com.mcal.fridainjectorpe.activities;
18+
19+
import android.util.Log;
20+
21+
import com.mcal.fridainjectorpe.injector.FridaInterface;
22+
23+
import java.util.Arrays;
24+
25+
public class Interfaces {
26+
static final class ActivityInterface implements FridaInterface {
27+
@Override
28+
public Object call(Object[] args) {
29+
Log.e("FridaAndroidInject", Arrays.toString(args));
30+
return null;
31+
}
32+
}
33+
}

0 commit comments

Comments
 (0)