How To Use Expression Helper in MTools

MTools uses the mXparser library, so it can fully calculate with all the algorithms provided by mXparser.

mXparser Website:

In most cases, the calculation method used by Mifare Classic cards is XOR, sum, negation, CRC, etc. in logical operations.

When summing consecutive bytes, you need to repeat the input. In order to save time and memory, I have added an expression helper to MTools.

Original Expression: b15 = b1+b2+b3+b4+···+b13+b14

Expression Helper: b15 = sum(1:14)

The bytes must be consecutive, and the first and last parameters must be connected with a colon.

Supported Algorithms

Expression Helper Example

Expression in MTools

Expression can be added when mark check byte of Mifare Classic Card.
The real-time calculation in Sniffer can help you compare and analyze more efficiently.

1 thoughts on “How To Use Expression Helper in MTools

Leave a Reply

Your email address will not be published. Required fields are marked *