Jump to content

Duckencoder with MAC Commands issue


Rainman_34

Recommended Posts

I just got my USB Rubber ducky and have started learning the coding and making exploits. Of course I have to be different and own a MAC as I hate Windows. So just to see how things work and start with the VERY basics I made the following script. I know the delays are long but I just want to see each step run.

REM This is a hello world script to test functionality on a MAC

DELAY 4000

COMMAND SPACE

DELAY 2000

STRING Terminal

ENTER

DELAY 2000

STRING say Hello World

ENTER

I then save the file as hello.txt and run my duck encoder with the following command.

java -jar duckencode.jar -i hello.txt -o inject.bin

The encoder then runs and prints out ERROR: Line 3

I have tried to copy the inject.bin file to my micro SD card and run it on the RB however the COMMAND SPACE line does not run but the rest of the commands do.

I have also tried the following structures as well. With the following options I do not get the error when running the duckencoder however the terminal still does not open.

REM This is a hello world script to test functionality on a MAC

DELAY 4000

GUI SPACE

DELAY 2000

STRING Terminal

ENTER

DELAY 2000

STRING say Hello World

ENTER

REM This is a hello world script to test functionality on a MAC

DELAY 4000

F4

DELAY 2000

STRING Terminal

ENTER

DELAY 2000

STRING say Hello World

ENTER

Any suggestions to help getting this working on a MAC would be greatly appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...