-
-
Notifications
You must be signed in to change notification settings - Fork 87
Terminal Commands
If the Chameleon is connected via USB it can be set up and controlled with a simple terminal or TeraTerm.
For easier use of the command-line using a terminal software the local-echo functionality should be activated, to be able to see what is typed into the chameleon. When using TeraTerm, this can be achieved by selecting Setup -> Terminal and check "Local Echo".
The current firmware supports the following commands:
- VERSIONMY
- CONFIGMY
- UIDMY
- READONLYMY
- UPLOADMY
- DOWNLOADMY
- RESETMY
- UPGRADEMY
- MEMSIZEMY
- UIDSIZEMY
- BUTTONMY
- SETTINGMY
- CLEARMY
- HELPMY
- RSSIMY
- DETECTIONMY
^Top
Requests version information of the current firmware.
Syntax: versionmy?
101:OK WITH TEXT
ChameleonMini-new-1.0
^Top
Get/Set the configuration of the current slot.
Note: The ChameleonMini has 8 possible slots (1-8)
Returns a list of the available configurations (see Configurations)
Syntax: configmy
101:OK WITH TEXT
NONE,MF_ULTRALIGHT,MF_CLASSIC_1K,MF_CLASSIC_4K
Set the configuration of the current slot as a MIFARE classic 4K emulation.
Syntax: configmy=MF_CLASSIC_4K
101:OK WITH TEXT
Returns the configuration of the current slot.
Syntax: configmy?
101:OK WITH TEXT
MF_CLASSIC_4K
^Top
Returns the UID of a card in the current slot.
Syntax: uidmy?
101:OK WITH TEXT
9E63BC03A
Sets a new UID, passed in hexadecimal notation.
Syntax: uidmy=9E63BC03A
101:OK WITH TEXT
^Top
Configures the read-only mode to the internal memory. Activates (1) or deactivates (0) the read-only mode (Any writing to the memory is silently ignored.)
Print the possible states.
Syntax: readonlymy
101:OK WITH TEXT
1,0
Returns the current state of the read-only mode.
Syntax: readonlymy?
101:OK WITH TEXT
0
Activate the read-only mode
Syntax: readonlymy=1
100:OK
^Top
Waits for an XModem connection in order to upload a new virtualized card into the currently selected slot, with a size up to the current memory size.
Syntax: uploadmy
<ENTER>
^Top
Waits for an XModem connection in order to download a virtualized card with the current memory size.
Syntax: downloadmy
<ENTER>
^Top
Reboots the Chameleon, i.e., power down and subsequent power-up. Note: A reset usually requires a new Terminal session.
Syntax: resetmy
<ENTER>
^Top
Sets the Chameleon into firmware upgrade mode (DFU). This command can be used instead of holding the BUTTON while power-on to trigger the bootloader.
Syntax: upgrademy
<ENTER>
^Top
Returns the memory size occupied by the current configuration in Byte.
Syntax: memsizemy?
101:OK WITH TEXT
4096
^Top
Returns the UID size of the currently selected card type in Byte.
Syntax: uidsizemy?
101:OK WITH TEXT
4
^Top
Get/Set the action for pressing the button shortly.
Returns a list of the available button actions.
Syntax: buttonmy
101:OK WITH TEXT
NONE,RANDOM_UID,UID_LEFT_INCREMENT,UID_RIGHT_INCREMENT,UID_LEFT_DECREMENT,UID_RIGHT_DECREMENT,SWITCHCARD
Returns the currently set action for pressing the right button shortly. DEFAULT: SWITCHCARD.
Syntax: buttonmy?
101:OK WITH TEXT
SWITCHCARD
Sets the action for pressing the button shortly.
Syntax: buttonmy=random_uid
^Top
Get/Set the active slot (number between 1 and 8) for the card/reader emulation (see Settings).
Returns the currently activated slot.
Syntax: settingmy?
101:OK WITH TEXT
NO.1
Sets the active slot to 2
Syntax: settingmy=2
100:OK
^Top
Clears the content of the current slot.
Syntax: clearmy
<ENTER>
100:OK
^Top
Returns a comma-separated list of all commands supported by the current firmware.
Syntax: helpmy
101:OK WITH TEXT
VERSIONMY,CONFIGMY,UIDMY,READONLYMY,UPL....
^Top
Returns the voltage measured at the antenna of the Chameleon, e.g., to detect the presence of an RF field or compare the field strength of different RFID readers.
Syntax: rssimy
<ENTER>
101:OK WITH TEXT
2648 mV
^Top
Performs the MF Classic Key attack to a reader.
Syntax: detectionmy?
<ENTER>
100:OK
Props to @AndreasBujok for the layout
Home
Getting started
Basic usage
Supported cards/config
Windows
Linux
OSX
Development Environment
Terminal commands
Slots configuration
Hardware summary
Program with AVRISP mkII
Program with modified USBASP
Reference fuses and lockbits
Reference SPI Flash
RevE Bootloader