Maestropastelero Posted October 17, 2017 Share Posted October 17, 2017 Can someone please give me a hand with the keyboard layout, is impossible to get any payload to work with this one. On my country we use ES-LA layout (Spanish, Latin) and every time the BB sends a \ the computer gets a : - " if I use the ES language setting. - } if I use the US one - And nothing happens(or at least it don't send any QUACK command) if I set the recently added ES-LA. (https://raw.githubusercontent.com/hak5/bashbunny-payloads/master/languages/es-la.json) For adding the language I am adding the raw json file into D:\languages\ and modifying the config.txt file to use it. Here is an example output for running something under windows : RUN WIN powershell ".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\$SWITCH_POSITION\file.cmd')" turns into powershell .((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads"switch2"file.cmd') As you can see it prints " instead of \ This is the layout for every ES-LA keyboard, but I can't figure out how to do the mapping. I 'll appreciate any help on this Link to comment Share on other sites More sharing options...
JediMasterX Posted October 18, 2017 Share Posted October 18, 2017 +1 There is any tutorial on mapping the keys? JMX Link to comment Share on other sites More sharing options...
Maestropastelero Posted October 23, 2017 Author Share Posted October 23, 2017 Anyone?, just a little help to understand the mapping ? :) Link to comment Share on other sites More sharing options...
semefi Posted October 29, 2017 Share Posted October 29, 2017 Hi guys, are you from Mexico? I already have the key map from our keyboard layout, but I still have some troubles with some characters like ¿¡°¬@ everything else is working fine Link to comment Share on other sites More sharing options...
Maestropastelero Posted October 30, 2017 Author Share Posted October 30, 2017 On 10/29/2017 at 12:51 AM, semefi said: Hi guys, are you from Mexico? I already have the key map from our keyboard layout, but I still have some troubles with some characters like ¿¡°¬@ everything else is working fine Hi Semefi I am from Chile, but we use the same key mapping, would be really helpful if you can share your mapping config with me, even if you still have some characters issue, that's better than the current es-la config file on the wiki. thanks Link to comment Share on other sites More sharing options...
elkentaro Posted October 30, 2017 Share Posted October 30, 2017 You gonna need to map the keys according to table 10 in this document : The basis is a AT-101 keyboard So you take the key position , and map the character code according to its position. The one catch is that the HID Reporter that gets send over is still for an AT-101 keyboard so if you have a key code that is beyond the scope of the basic AT-101 key there isn't a way to send the key code. However in your case it could be you are not sending the right modifier code. Link to comment Share on other sites More sharing options...
semefi Posted October 30, 2017 Share Posted October 30, 2017 4 hours ago, Maestropastelero said: Hi Semefi I am from Chile, but we use the same key mapping, would be really helpful if you can share your mapping config with me, even if you still have some characters issue, that's better than the current es-la config file on the wiki. thanks I've already done the pull request, give a couple of hours to be approved. Link to comment Share on other sites More sharing options...
semefi Posted October 31, 2017 Share Posted October 31, 2017 @Maestropastelero Did you test it ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.