frank184 Posted April 8, 2017 Posted April 8, 2017 Hello, I just got my Rubber Ducky and started toying with it, but can't get the desired outcome on my Ubuntu Xenial machine. System: Ubuntu 16.04 Xenial 4.4.0-70-generic Compile Steps: Deleted inject.bin, ran java -jar /path/to/duckencode.jar -i hello.txt, created an inject.bin.Script: REM Description: Open "Run a Command", run gnome-terminal DELAY 3000 ALT F2 DELAY 1500 STRING gnome-terminal DELAY 750 STRING echo Hello World ENTER Outcome: The ALT F2 part of the script not working, the delays, the string inputs and enter keys are working. Test: Opened gEdit, focused the window and replayed payload. Output: gnome-terminal echo Hello World Expectation: Gnome Terminal to open, focused, and write echo Hello World then return key. Alternative: Tried CTRL ALT t, without STRING gnome-terminal ENTER and does not work either. Alt Script: REM Description: Open Terminal DELAY 3000 CTRL ALT t DELAY 1500 STRING echo Hello World ENTER Test: Opened gEdit, focused the window and replayed payload.Output: echo Hello World Expectation: Gnome Terminal to open, focused, and write echo Hello World then return key. No Gnome Terminal opened, just did STRING echo Hello World ENTER in gEdit. Is there something I am doing wrong? Is there something I should know? Any help or suggestions would be appreciated. I will be switching over to Windows tomorrow, but just thought this was odd and worth mentioning for Ubuntu 16.04. Quote
frank184 Posted April 8, 2017 Author Posted April 8, 2017 REM Description: Open "Run a Command", run gnome-terminal DELAY 3000 ALT F2 DELAY 1500 STRING gnome-terminal ENTER DELAY 750 STRING echo Hello World ENTER Forgot the ENTER for this script, sanity checked and still no dice. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.