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.

MANDATORY CONFIGURATIONS

The only mandatory configuration is the language/keymap, which by default is set to US.

  
DUCKY_LANG us
  

OPTIONAL CONFIGURATIONS

NETWORKING

  WIFI_SSID [network name]

WIFI_PASS [network password]


SSH [ENABLE, DISABLE]

DNS [address 1] [address 2]
  

DEVICE IDENTIFIERS

  VID [VID_0X<vid hex>]

PID [PID_0X<pid hex>]

MAN [MAN_label]

PROD [PROD_label]
# Specifies the iProduct USB descriptor

SERIAL [serial]
# Specifies the iSerial USB descriptor
  

PROTECTED ARMING MODE

  ARMING_PASS [password]
# Requires [password] to be typed on the keyboard attached to the Key Croc to enter arming mode.

ARMING_TIMEOUT [seconds]
# (OPTIONAL WITH ARMING_PASS) Defining this adds a timeout to the protected arming mode listener

# EXAMPLE:
# ARMING_PASS hak5croc
# ARMING_TIMEOUT 5
#
# This allows 5 seconds to press the button after typing hak5croc on the attached keyboard