Jump to content
S3t3c

MacOS & local keyboard layout

Recommended Posts

Hi,

I spent quite some time fiddling around my BB, plugged on a Macbook with a french layout, I now understand setting DUCKY_LANG to "fr" is not enough, and that I probably have to define a specific language file, but I still get strange results.

IN CONFIG.TXT:

DUCKY_LANG fr

 

IN FR.JSON (there are lots more lines !):

"!":"00,00,25",
"=":"00,00,38",



IN PAYLOAD:

 

# ISO (European) Apple keyboard
ATTACKMODE HID VID_0x05ac PID_0x0273 STORAGE

LED ATTACK

RUN OSX textedit
Q ENTER
Q DELAY 500
Q TAB
Q TAB
Q TAB
Q TAB
Q TAB
Q TAB
Q SPACE
Q ENTER
Q STRING exclamation mark:!
Q ENTER
Q STRING equals sign:=
Q ENTER
Q STRING keycode 00,00,25:
Q KEYCODE 00,00,25
Q ENTER
Q STRING keycode 00,00,2e:
Q KEYCODE 00,00,2e
Q ENTER
Q STRING keycode 00,00,38:
Q KEYCODE 00,00,38
Q ENTER
Q STRING keycode 00,00,56:
Q KEYCODE 00,00,56


sync
LED FINISH

 

IN RESULTS :

Quote

Exclamation mark:=
Equals sign:-
Keycode 00,00,25:!
Keycode 00,00,2e:-
Keycode 00,00,38:=
Keycode 00,00,56:-

As you can see, the exclamation mark and equals sign are not correctly interpreted, despite the (apparently) correct translation table in fr.json.

Any idea?

Best regards,
S3t3c

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...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...