EmpireProject/Empire

osx prompt and keylogger lang issue

Ouverte

#1 175 ouverte le 3 juil. 2018

 (2 commentaires) (0 réaction) (0 personne assignée)PowerShell (2 920 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (7 836 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

the osx prompt and keylogger work fine, except one important thing which is the following: the keyboard layout isn't taken into account so while the key pressed returned might be correct on a default US keyboard I presume, on another one it isn't It's quite easy to "translate" for simple key like a > q but some combos like @ on some keyboards are very different. that command return the layout used but I fail to find a way to properly translate what Empire returns given the layout any idea ?

defaults read /Library/Preferences/com.apple.HIToolbox.plist  AppleEnabledInputSources
(
        {
        InputSourceKind = "Keyboard Layout";
        "KeyboardLayout ID" = 251;
        "KeyboardLayout Name" = "ABC-AZERTY";
    }
)

Guide contributeur