Giter Site home page Giter Site logo

mayankmetha / rucky Goto Github PK

View Code? Open in Web Editor NEW
489.0 34.0 63.0 38.71 MB

A simple to use USB HID Rubber Ducky Launch Pad for Android.

Home Page: https://mayankmetha.github.io/Rucky

License: GNU General Public License v3.0

Java 98.95% Shell 0.47% Python 0.29% CMake 0.03% C++ 0.26%
hacking-tool android kali-nethunter usb-hid rubber-ducky rubberducky security rubberduck rubber-duck hackingtools

rucky's Issues

Kernel Support

Hi,
I have an issue when i exécuté an usb attack on Rucky
The issue is : kernel do n'ont support câble usb attack"

My kernel is 47.2.A.10.107
On a Sony Xperia XZp G8141

Is there à solution already exisying for this issue ? Or i have go use other device ? Thanks

Cursor not visible

I can't see the courser while editing texts in editor because its in same colour as baground in dark mode and normal mode. Please add an option to change cursour colour or change it by default opposite to background colours..

Rucky unable to use Network socket attack

Hi
I'm unable to use the network socket attack. My Kernel is supported and usb attack works fine
I have tried several ports 22,443,80.
The Network socket showed connected in all 3 cases but i was unable to execute the script after pressing the run button
I tried rndis in Usb arsenal to make it work
i tried different devices including android
I used hello world script
the built in nethunter HID works and Duckhunter too
Wifi injection is not working if that effects the situation

Crash after crash

Phone: Nexus 5x
NetHunter: 2020.4
Kernel: 3.10.73-Re3son-3.5

After downloading Rucky from NetHunterStore it keeps crashing.
Crash also occurs when I download the .apk file from github.
Reinstallation does not work.

kernel not supported on google pixel

Hi, I get the error message "kernel not supported" on my pixel. I know that a custom kernel is required, but I do not know which one I should use with android 10 on a google Pixel.
Speeter
(btw. sorry for my bad english)

Kernel Not supported

Hello,

After somes times I was able to unlock my P8 LITE 2017 PRA LX1's bootloader and installed lineageOS 17.1 with rooted thing

But Rucky is telling me that my kernel is not compatible

I've downloaded Rucky from the Nethunter Store

Should I install nethunter ?

OR is it any kernel that would be compatible and that I could flash ? or is there any tutorial to build my own kernel to enable HID attacks, or is there just a trick or something to install it ?

Cheers !

Feature Request: Encrypted scripts

I want to send username and password to my computer to login, but I dont want this script stored in plaintext. It would be useful if I can save a script encrypted and when loading it from storage I have to "unlock" it with a password.
This will be useful for any kind of sensitive scripts

Dependency file missing

When opened, notification that Dependency file is missing pops up. Two possible options aviable: Exit or Download and Install

Exit works fine ;)
But the App crashes by Download and Install.

I tried to reinstall, check if I granted root acess properly, checked latest version, checked if my device caused any errors (due to a device changer), but I can't find the problem.

P.m. if you need the logs

In kind Regards,
.

Kernel isn't supported

Screenshot_20190828-153424_Device Control

Sorry if I open a New Issue, but I checked my kernel and it should work ??? I just simply accepted the fact that Rucky isn't compatible, but it should be? I'm really confused by now ¯_(ツ)_/¯

In Kind Regards

All

Type: Missing/Correction
Keyboard Language:
Unicode Value: \u
Encoding: ASCII/ISO_8859-1/ISO_8859-5/Unicode
Shift Used: T/F
Meta/Windows Used: T/F
Alt Used: T/F
Ctrl Used: T/F

Syntax

Hello can you add some more syntax:
MOUSE x:y — usb keyboard can click mouse with hid(NethunterStore), so can you add it here
WHILE like REPEAT but you can REPEAT 10 {
What you need to repeat
}
Thx

Write for us

I'm sorry for writing here but it was the only way to contact you,

You are good in the cybersecurity field? Then you can write for us about your own tool on GitHub and the use of it.
Your article will be published with your name and a link to your website and social media accounts if you want. Please reply to us at Email: kalitutwrite @ gmail.com
Walid Salame
kalitut .com
Twitter:@xKaliSec

A few questions.

There are three features I am wondering about, and I am willing to take a crack at implementing them myself if you don't have any plan to, however I don't have any experience with android keyboard gadget and how it works (i'm assuming this is the kernel patch this app requires?), and would appreciate a nudge in the right direction about where i can learn how this thing works.

  • Executing scripts as soon as device is connected. I assume this wouldn't be too difficult to implement? I always get a popup when my phone connects to a computer and is ready to send a payload, so im pretty sure this is something the device can detect.
  • Mouse support? From the looks of things, android keyboard gadget supports mouse input, however it doesn't seem like duckyscript does. Has this been implemented?
  • Spoofing the emulated hid device's serial number (or whatever device specific identifier they have). What i mean by this, is i am basically asking how windows recognises a new device from one that's connected before. Is there some sort of identifier? So if a computer only accepts input from trusted devices, could i imitate a trusted device?

Rucky not registering the ENTER key on android device

Type: Missing/Correction
Keyboard Language: American English
Unicode Value: \u
Encoding: ASCII/ISO_8859-1/ISO_8859-5/Unicode
Shift Used: F
Meta/Windows Used: F
Alt Used: F
Ctrl Used: F

Hey so, the app works fantastically great against a PC but it needs some improvement against android
When I plug my phone with another phone using a USB type C cable then launch a simple attack which is supposed to unlock the target android phone
"DOWN
LEFT
ENTER"
the ENTER command doesn't register on the target android phone when using rucky
but it works fine when I use nethunter's built in duckhunter HID

I prefer rucky over nethunter HID due to the fact that it has more features and rucky has less bugs than nethunter

the target android phone's model is SM-N985(note 20 ultra)
the attacker's android which is using rucky is SM-G781B(S20 FE 5G)

TL;DR ENTER key doesn't work against an android phone

F11=F1

I tried to run a simple script that display a fake update screen on windows using the default browser:

GUI r
DELAY 500
STRING chrome -k http://fakeupdate.net/win10ue/
ENTER
F11

But instead of pressing f11 and going full screen, the computer detected f1 and opened the help page of the browser.

Feature: Own file path

Hey,
your app is great. Thanks for your hard work. I am missing the feature of saving my scripts to a custom file path. It would be great if you could specify a custom script path on first startup. Maybe you can think about that.

Have a great day :)
greetings chikko

HELP WANTED

Hey mayan,

it come to my attention that you need a bit help regarding the transations.

If this is still the case then let me know.

I will try my best.

Regards

Not working

I think that the app is not working using this method of HID : https://github.com/tejado/android-usb-gadget
Could you please make it work.
I know my phone is possible of HID input because it works with https://github.com/tejado/Authorizer app
I can also send inputs using this (explained here https://github.com/tejado/android-usb-gadget)
"cd /data/local/tmp

Send letter 'a'

echo a | ./hid-gadget-test /dev/hidg0 keyboard
"

I can also do everything this guy does here https://www.youtube.com/watch?v=Mek9DMGy8os (time 6:23)

Phone: Redmi K20 Pro (MIUI 12)(Android 11)

Automatic launch attack on USB connection

USB Connect Launch is turned on but I don't understand how to make it actually launch the attack without me pressing a button.
I couldn't find an answer anywhere over the web. Help please?

Rucky will not install

Phone: Oneplus 8 Pro
Android version 11
Build: Oxygen OS 11.0.2.2.IN11AA
Kernel version: 4.19.110-perf+

I had rucky installed on Oxygen OS 10.5.12 and working great (thanks by the way)
I did an OTA to 11.0.2.2 and then Rucky disappeared
when trying to redownload from NH store I get "Failed to install due to unknown error"
when installing the apk directlyi click install, a bar appears for a half a second then it says "app not installed"

i factory reset my phone on 11.0.2.2 and installed kali chroot from scratch, tried installing rucky again and still same error
is there a way i can see the install log to find out what is happening?
I know android 11 is pretty fresh so there may not be much support but i just really didnt want to have to downgrade to 10 again.
EDIT:
I'm sorry I forgot to check back in. Installing version 1.9 has solved my problem.
Thank you for the support!

Can't STRING $

When I type
STRING $test
The output is test
STRING $
The output is
I tried many times with different ways but can't write this symbol "$"
I need this for writing some commands in powershell in windows and many more things .

And thanks for your support in advance <3

Spanish special characters

Type: Missing/Correction
Keyboard Language: Spanish
Unicode Value: \u
Encoding: ASCII/ISO_8859-1/ISO_8859-5/Unicode
Shift Used: T/F
Meta/Windows Used: 8.1
Alt Used: T/F
Ctrl Used: T/F

Hi, I'm having trouble with STRING and special characters in Spanish keyboard (Latam). when I write "some line in cmd" and > .txt it adds "=" at the end, aswell "*" is missing in a string, the only way to type in some characters is SHIFT but it is like guessing the keyboard keycodes

rucky works but doesn't execute anything

Hi,

Using android 10, custom ROM. Rucky as an app works fine, in the tweaks tab it also shows 'USB Connected'. Root permission granted but does nothing.

Whenever I enter the ducky script and run it with the play button, the system just tells me it was granted superuser rights but it does nothing at all. No error or any feedback from the app nor the target pc, it doesn't even run the first line, which in this case is just open windows run menu. To me, it seems working fine but pc doesn't recognize my phone as a keyboard or something. What am I doing wrong?

thanks for any help

using the latest app version, downloaded from your releases
device: xiaomi mi 9t pro
os version: 17.1.20200411-unofficial-raphael
kernel: 4.14.117.perf-g3e05af5

This simple script I'm trying to run:
DELAY 3000
GUI r
DELAY 500
STRING notepad
DELAY 500
ENTER
DELAY 750
STRING Hello World!!!
ENTER

Stuck on android 10

almost every time, it stucks when starting and also after the play button pressed
and if you don't mind I want to know why you've added permission for GPS???

thanks for the great application

Disable usb conmection detection

i have rooted S21 Ultra and with USB Gadget tool rucky 1.9 works perfectly and rucky 2.0, 2.1 doesnt detect any cable or so, i tested everythink and still doesnt do anything

Latest app not parsing/installing

Hey so, your app is amazing but in the latest version it won't install on my phone so I'm forced to use an older version of rucky

I'm on android 11, one ui 3.0
Phone model : SM-G781B

So let's say I've used an older apk version an issue arises which is that it doesn't properly work on other Android phones to be more specific built in ducky functions like DOWN, ENTER, etc don't work well
I've then tried the same commands in duckhunter HID and it worked
I could've just used nethunter but nethunter's ducky hid is glitchy takes time to convert and doesn't take into account spaces in the STRING command

Save keyboard layout, location & notification

Hello !

I've tested Rucky and it seems to work well. :D

I see few improvements though, like the possibility to change the default keyboard layout maybe in the settings or to keep the last one use instead of getting back to the American one.

Also, I don't understand why there must be always the notification and why it's seems to always be launched.
Is it possible to remove this ?

Last thing, I didn't understand why we need the location permission ?

Thanks in advance !

Need help: Typing in a different language

I want to be able to make the script type in different language (non-English)
I want to to be able to type in arabic, willing to help with the code, just need to know how to add it and I'll do the work.

rucky just freeze

hi i have rucky installed on nethunter hid enabled android device. after launching rucky i cannot click anything on the screen none of the icons work..

Feature request: auto-apply configfs

To use this tool, a custom kernel is needed.
However, in this repository, I found that it is possible to replace this kernel patch by using configfs if the kernel is newer than 3.19.
That's why USB Gadget Tool allows me to add the USB device and use Rucky without manually patching my kernel.

My suggestion would be to add an option to automatically apply this configfs patch before executing the script.
An example would be a similar project, Android USB Script. Their tool automatically uses configfs if no kernel patch is detected.

Cursor color issue

While using the app and trying to edit the script using the editor there
The cursor color is the same as the background so I can't see where am I typing
I wish u fix it soon to make the app 100% perfect
Thx in advance

STRING command do starnge things

I tested Rucky on Kali Linux and commands like CTRL ALT T work as well. But if i need input text comand STRING do starnge things, for example if i execute comands:
CTRL ALT T
DELAY 200
STRING lol
opens new terminal window and Rucky input here "lsls@s@s@s@s" .
If I execute comand "STRING lol" when I focused on this text area, Rucky input "lo" and press Super button (The same of Windows button)
And when my phone with Rucky connected to computer my computer keyboard work strange too. I installed Rucky from official NetHunter store.

Stopping

Hi
When I restart my phone or boot it a message appear say "Rucky has been stopped "
Is this an error that can be fixed or no ?
And thanks in advance ❤

Galaxy s5 klte touchwiz 6 android 6.0.1

Hey I can't use rucky

I have lenovo k8 plus phone.
With android 8.
This apk is installed but when I open this it freeze.
What I can do.??

ALT SHIFT doesn't work

I have Russian language default in my computer. For the script to work, need to switch language in English by pressing "ALT+SHIFT". The Rucky can't do this. I tried "ALT SHIFT","ALT-SHIFT", "ALT shift", "Alt-shift", "ALT+SHIFT", etc... It doesn't work. "GUI r" works good, but "ALT Shift" doesn't. The script is:

DELAY 3000
ALT SHIFT
DELAY 500
GUI r
DELAY 500
STRING iexplore -k http://fakeupdate.net/win10u/index.html
ENTER
DELAY 100
ALT SHIFT

Sorry for my bad English.

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.