Jump to content

Mac Keyboard: KEY_ASTERISK to produce @ sign


unknownfreq
 Share

Recommended Posts

Hello everyone,

I'm trying to produce a Ducky script for Mac, but i cannot produce the @ sign.

I'm on a Danish Macbook and the key combination to produce the @ sign is: RIGHT_ALT + *

In the dk.properties file but I tried typing 

ASCII_41 = KEY_ASTERISK MODIFIERKEY_RIGHT_ALT 

When i try to encode with  

java -jar ../USB-Rubber-Ducky/Encoder/encoder.jar -i mac_root.txt -o inject.bin -l ../USB-Rubber-Ducky/Encoder/resources/dk.properties

I get error: 

Key not found:KEY_ASTERISK MODIFIERKEY_RIGHT_ALT

 

Hope someone can help!

And thanks for all the great tools hak5

Link to comment
Share on other sites

  • 9 months later...

Hi,

A bit late perhaps but I ran into the same issue. I think the danish layout is created from a windows machine and thus a lot of keys are a bit off. 

I currently working my way through the layout and got the at sign to work using:

ASCII_40 = KEY_BACKSLASH, MODIFIERKEY_RIGHT_ALT

I'm still trying to figure out how to do backward slash. It should be something along the lines of this:

ASCII_5C = KEY_7, MODIFIERKEY_RIGHT_ALT, MODIFIERKEY_SHIFT

But it's ignoring the MODIFIERKEY_SHIFT so it's giving me ¶ instead. 

Use this for reference for the ascii codes https://www.ascii-code.com/

Link to comment
Share on other sites

  • 1 month later...

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.

 Share

  • Recently Browsing   0 members

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