Jump to content
Sign in to follow this  
unknownfreq

Mac Keyboard: KEY_ASTERISK to produce @ sign

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

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

hello!

 

On many apple keyboard we use ALT + G --> @ (fr and CH_fr apple layouts)

 

ASCII_40 = KEY_G, MODIFIERKEY_RIGHT_ALT
// 64 @

or

ASCII_40 = KEY_G, MODIFIERKEY_LEFT_ALT
// 64 @


 

Share this post


Link to post
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.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...