fneagle Posted September 29, 2020 Share Posted September 29, 2020 To start with the payload development, I configured the Key Croc using config.txt. I just made WiFi and language settings like this: DUCKY_LAMG de WIFI_SSID ThisAP WIFI_PASS ThisPasswordisBad Wifi is working fine, so the config seems okay. My example script looks like this MATCH easy QUACK DELAY 5000 # Start attack QUACK LOCK QUACK GUI-r QUACK DELAY 2 QUACK STRING "powershell.exe" QUACK ENTER QUACK STRING "Das ist ein Test qwertzui yxcvbn" It started the PowerShell Window using the Keyword "easy", but the Output looks like this: Das ist ein Test qwertyui zxcvbn This means for me, that the keyboard language is not detected correctly. What else can I do to solve the problem? I'm using Version 1.3_510 and the udisk includes the directory /languages with de.json and all other languages. What does the export command mean? export DUCKY_LANG=de If I use the line in my script, nothing is working. Thanks for any suggestion! Link to comment Share on other sites More sharing options...
fneagle Posted September 29, 2020 Author Share Posted September 29, 2020 I just checked the Keylogger-Output. It recognizes the correct keys. So, it has something to do with HID. What experiences do you have with other languages and HID feature? Please help! Link to comment Share on other sites More sharing options...
fneagle Posted October 1, 2020 Author Share Posted October 1, 2020 It appears that the DUCKY_LANG is never exported from config.txt and Q and QUACK always go back to the default US language. If you manually export DUCKY_LANG=de in every payload it works. This makes no sense for me and should be fixed in the next release. For German readers only: https://pentestit.de/hak5-key-croc-grundlagen/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.