Comment on page
Among the files and folders present on the USB flash disk is config.txt. Editing this file with a standard text editor (like Notepad on Windows, TextEdit on Mac, vim/nano on Linux) will let you configure settings such as keymap, WiFi, SSH and DNS.
The only mandatory configuration is the language/keymap, which by default is set to US.
# Mandatory configurations:
# Specifies the keymap with the corresponding two letter json file name from the languages/ directory on the udisk. The default is US for a US English keyboard. Change this depending on the language/keymap of your target.
WIFI_SSID [network name]
# Specifies the SSID of the WiFi network in which to connect.
# Special characters & spaces must be escaped with '\'. EX: My\ Network\!\!
WIFI_PASS [network password]
# Specifies the WPA-PSK passphrase for the WiFi network.
# Omit this value for open networks.
# Special characters & spaces must be escaped with '\': EX: MyP\@\$\$word\!\!
SSH [ENABLE, DISABLE]
# If enabled, the Key Croc will be accessible by SSH in both attack and arming modes.
DNS [address 1] [address 2]
# Overrides the DNS setting provided by the WiFi network's DHCP server.
VID [VID_0X<vid hex>]
# Overrides the cloned Vendor ID from the attached keyboard
PID [PID_0X<pid hex>]
# Overrides the cloned Product ID from the attached keyboard
# Specifies the Manufacturer USB descriptor
# Specifies the iProduct USB descriptor
# Requires [password] to be typed on the keyboard attached to the Key Croc to enter arming mode.
# (OPTIONAL WITH ARMING_PASS) Defining this adds a timeout to the protected arming mode listener
# ARMING_PASS hak5croc
# ARMING_TIMEOUT 5
# This allows 5 seconds to press the button after typing hak5croc on the attached keyboard
# WARNING: MISCONFIGURATIONS BELOW WILL LOCK YOU OUT OF YOUR DEVICE.
Last modified 2yr ago