hak5/usbrubberducky-payloads

Same value for two characters.

emilbuss opened this issue · 9 comments

The se lang json file has # and ~ as the same value. This makes it imposible to use ~ in a rubber ducky script since the output becomes #
Is there a fix for this?

"#":"02,00,20",
"~":"02,00,20",

My guess is it should be "~":"02,00,21",
but you would need to test this. if you have payload studio pro. you can edit in browser (this only effects your browsers version).
if you use community then I believe you need to download it make changes and upload it back in (this only effects your browsers version).

Once you know it to work then make a pull request to update this file.

My guess is it should be "~":"02,00,21", but you would need to test this. if you have payload studio pro. you can edit in browser (this only effects your browsers version). if you use community then I believe you need to download it make changes and upload it back in (this only effects your browsers version).

Once you know it to work then make a pull request to update this file.

I tried modifying the json with the following:

  • change it to "~":"02,00,21",
  • Tried the value from the default US json
  • tried swapping value for ~ and #
  • tried swapping places if one reads before the other.
    Cannot get it to work

"#":"02,00,20", is right that's why when you where ~ you where getting #
what keys do you press to get ~? at the moment it's set to SHIFT + 3 which is #

"#":"02,00,20", is right that's why when you where ~ you where getting # what keys do you press to get ~? at the moment it's set to SHIFT + 3 which is #

I have a Swedish keyboard so ~ for me is a bit weird. See picture. It is ALTGR and this key
image

as a wild guess it could be
"~":"40,00,30",

Sadly that gave me an extra enter key :D

then this one might be wrong too "^":"02,00,30",

"~":"40,00,30", should be the correct one, however, when you use that char on a physical keyboard, I seem to remember that you need to hit space for it to actually appear

DELAY 1000
STRING ~
SPACE
STRING ^
SPACE

Gives output: ~^

with json config:
"^": "02,00,30"
"~": "40,00,30"

Pressing space fixes the issue. Thank you!