08/06/2015 at 16:47 •
ok so this project has been resurrected, the following is a list of things I would like to do / add to this project
1) Cross platform support (windows, mac, linux)
2) Allow command line arguments so i can run a script without a UI using java -jar DuckyEmulator.jar script.duck
3) Turn this from an emulator into maybe a notepad like app for making scripts, allow editing and saving of scripts
4) if 3 works out, add the ability to click a button to compile the scripts into .bin files for the duck
5) a one click solution that immediately moves compiled .bin files to the ducky's sd card
6) back to 3 and 4, have line numbering and word highlighting
7) maybe have error checks in real time, highlight incorrect scripts or give suggestions (this is a far out ambition)
8) insane idea, export script jars, as in export a jar file version that when clicked runs the embedded script, rather than needed a ducky (this could be nefarious but I'm thinking ducky scripting for automated backup and restore stuff, I swear purely innocent...)
9) add support for multiple languages and keyboard layouts as current layout is default irish keyboard (whoops)
I'll update this with more ideas if i remember to, or if anyone else has any suggestions I like
08/06/2015 at 14:24 •
OK so I've gotten a few messages with issues with this program, so I've decided to go back and revisit this project, its been a while and I've improved my java programming since making this project. So to start, I'd like to get this compatible across all platforms but I do not have a mac available to test this on, linux I can try in a virtual machine. Lastly this program uses the java robot class to type so I need a way to allow uses to adjust it for different keyboard layouts, help with this would be appreciated. The project and its source has been fully released on github for anyone to view and share opinions on and play around with. This is surprisingly my first time ever using github and I'm still learning.
06/09/2014 at 21:26 •
OK so things are working well for now and there is not much more I want to do with this project until I can get feed back or further testing, the code is released for anyone who would like to make changes of their own. For now I will be working on completing other projects.
05/23/2014 at 19:56 •
ok a quick update to let anyone interested know that in the details section i have added a dropbox link to a zip file containing a working jar of the ducky simulator as well as the netbeans project folder incase anyone wants to make their own improvements. this is a beta so far, it works fine for me and its run a few scripts successfully so far, any issues anybody finds please comment and let me know.
05/19/2014 at 01:30 •
ok this is a quick update, I have fixed up the GUI a little, decided to set it to take the look and feel of whatever os it is currently running on. I have also tidied up the code a little too, I hope to release the first version to the public before the week is up, I'll probably just release it as a zip folder containing an executable jar file and the netbeans project folder, I've never used git hub before so I'll considering looking into how to use it (obviously a newb here). anyways here a pic with the native windows 8.1 look and feel.
I will try and test this on a spare laptop soon and see how it works with alternative keyboards (still looking for a better solution than the java robot class), I will also try and start testing inside linux and see how it looks and works.
05/18/2014 at 13:52 •
ok so with University exams going on I've lost time needed to work on this project, but when they are done I'll continue working on it and hopefully have a first release out soon.
so far I have most of the work done, its able to read ducky scripts, identify commands and then execute them as needed. so far all seems good apart from extremely messy and probably inneficient code (I'll fix later) and a minor bug where for the string command I can get it to type out every character except for quotations (probably just missed putting it in).
for now its working fine on windows 8.1 64 bit on a Toshiba laptop with an i.e. layout keyboard. the simulator uses the Java robot class for now in order to type strings and simulate pressing buttons like the ducky, I'm not too sure yet how well this will work out for other computers and keyboard layouts. I will have to look into a better solution than the robot class, any suggestions here would be much appreciated.
I have added a GUI to this project and i will be improving it after everything works, part of the GUI allows showing the ducky code in a text field, I am half considering dividing this project into two parts, 1) a GUI that will work as if like a ducky script IDE and 2) a script launcher, the part that simulates being a ducky and executes the script. I'm sure most people already have their own favourite editors for making ducky scripts so unless there's interest in the first part of this idea I may leave it for now and just concentrate on making a working ducky simulator.
05/14/2014 at 19:03 •
OK so I have 2 days to the start of my college exams (instead of studying I'm building this)...............
OK besides the GUI looking like garbage I'm happy enough so far with how its working, I just have to finish adding the ability for it to read and run a few more commands, then I'll be releasing what I will call an alpha version (I'm just gonna go through the entire alphabet until I'm finished or out of letters).
just a note though, while it seems to work on my laptop here fine (64 bit windows 8.1 on a Toshiba laptop with an i.e. keyboard) I don't know how well it will run on other laptops, OS's and keyboard layouts.
this simulator is being made entirely in Java and mainly using the robot class to achieve key commands.
also note I am the furthest thing from an expert in Java, by the time i do release the source, please be gentle, I'm well aware I've probably committed plenty of coding no no's in it.