Skip to content

Commit 6b77126

Browse files
author
mayankmetha
committed
Rebooted the project for Kali Nethunter support
1 parent d890dd5 commit 6b77126

14 files changed

Lines changed: 86 additions & 89 deletions

File tree

.idea/misc.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,5 @@ A simple rubber ducky attack apk
44
[Download](https://github.com/mayankmetha/Rucky/blob/master/release/rucky.apk?raw=true)
55

66
## REQUIREMENTS
7-
1) Android Oreo onwards
8-
2) [Custom kernel](https://github.com/pelya/android-keyboard-gadget)
9-
3) Root/SU
10-
4) [Added dependency file (ARM/ARM64 only)](https://github.com/mayankmetha/Rucky/blob/master/release/hid-gadget-test?raw=true)
11-
12-
## NOT SUPPORTED
13-
1) MIPS
14-
2) x86
15-
3) x86_64
16-
4) Tegra
17-
18-
## DEPENDENCY FILE
19-
1) Start terminal where you downloaded hid-gadget-test
20-
2) Type commands: `adb push hid-gadget-test /data/local/tmp/`
7+
1) Android KitKat onwards
8+
2) Kali Nethunter Support

app/build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 27
4+
compileSdkVersion 28
55
defaultConfig {
66
applicationId "com.mayank.rucky"
7-
minSdkVersion 26
8-
targetSdkVersion 27
9-
versionCode 4
10-
versionName "1.3"
7+
minSdkVersion 19
8+
targetSdkVersion 28
9+
versionCode 1
10+
versionName "1.0"
1111
}
1212
buildTypes {
1313
release {
@@ -30,9 +30,9 @@ android {
3030

3131
dependencies {
3232
implementation fileTree(dir: 'libs', include: ['*.jar'])
33-
implementation 'com.android.support:appcompat-v7:27.1.0'
34-
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
35-
implementation 'com.android.support:design:27.1.0'
36-
implementation 'com.android.support:preference-v7:27.1.0'
37-
implementation 'com.android.support:support-v4:27.1.0'
33+
implementation 'com.android.support:appcompat-v7:28.0.0'
34+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
35+
implementation 'com.android.support:design:28.0.0'
36+
implementation 'com.android.support:preference-v7:28.0.0'
37+
implementation 'com.android.support:support-v4:28.0.0'
3838
}

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
tools:ignore="ProtectedPermissions" />
1212

1313
<application
14-
android:allowBackup="true"
14+
android:allowBackup="false"
1515
android:fullBackupContent="false"
1616
android:icon="@mipmap/ic_launcher"
1717
android:label="@string/app_name"

app/src/main/java/com/mayank/rucky/MainActivity.java

Lines changed: 62 additions & 59 deletions
Large diffs are not rendered by default.

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@
3737
android:layout_above="@id/BtnGrp"
3838
android:layout_alignParentTop="true"
3939
android:ems="10"
40+
android:gravity="start"
41+
android:hint="@string/codeHint"
4042
android:inputType="textMultiLine"
4143
android:lines="25"
42-
android:hint="@string/codeHint"
4344
android:padding="5dp" />
4445

4546
<LinearLayout

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.1.0'
10+
classpath 'com.android.tools.build:gradle:3.4.1'
1111

1212

1313
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Mar 27 22:09:28 IST 2018
1+
#Mon May 27 12:19:03 IST 2019
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

release/hid-gadget-test

-17.3 KB
Binary file not shown.

release/rucky-1.2.apk

-1.08 MB
Binary file not shown.

0 commit comments

Comments
 (0)