📖
WiKi
Shop OnlinePlay StoreApp StoreYouTube
English
English
  • Help & Info | MTools
  • Help & Info | MCalc
  • Help & Info | MTools BLE
  • MTools
    • Simple Startup
    • How to Use Sniffer
    • Algorithm & Expression
    • CRC-8 & CRC-16
    • Mifare Classic Tool vs MTools
    • Terminal for ACR122U & PN532
  • MTools BLE
  • How To Unlock
  • How To Use ChameleonUltra
  • How to use ChameleonUltra to write Mifare Dump
  • How to use TAG Scanner
  • How to use UID Changer
  • Change UID of Gen3 Magic Card(Deprecated)
  • Upgrade the firmware of ChameleonUltra and ChameleonLite
  • Upgrade the firmware of Pixl.js
  • nRF52 OTA Firmware Updates
  • PN532 CLI
    • How to Start
    • NTAG Emulate
Powered by GitBook
On this page
  • Why Need Sniffer
  • Where is Sniffer in MTools
  • How To Use Sniffer
  • Mark Money Bytes
  • Mark Check Bytes
  • Tips of Expression
  • After Expression added
  • Conclusion
  1. MTools

How to Use Sniffer

Last updated 1 year ago

Depending on the Firebase of MTools, only 15% of MTools users have used Sniffer functions of MTools. It's really an easy tool for comparison and analysis. In this article, I'll show the tutorial of how to use Sniffer in MTools.

Why Need Sniffer

After getting the keys of a sector which contains valid data, we need to compare data in different amount. So I made the Sniffer in MTools to gather and compare data more easily. The light pink and light-blue background show if the bytes change.

Where is Sniffer in MTools

  1. After adding a card in List Fragment, you can add a sector in Detail Fragment.

  2. Fill in the keyA and keyB on one sector depending on your needs.

  3. Click the 3rd section.

How To Use Sniffer

Mark Money Bytes

Mark Check Bytes

Tips of Expression

Operator 
   • + - × ÷ Modulo ➡ + - * / # 
   • XOR ➡ @^ ➡ xor 
   • NOT ➡ @~ ➡ not 
   • AND ➡ @& ➡ and 
   • OR ➡ @| ➡ or 
   • Signed left shift n ➡ @<<n 
   • Signed right shift n ➡ @>>n 
   • More 

Examples 
   • b2=b1 ➡ b2=b1 
   • b4=b2+0x1F ➡ b4=b2+31(decimal) 
   • b15=b0 xor b1 ➡ b15=b0 xor b1 
   • b2=not b0 ➡ b2=not b0 

Note 
   • Convert constant to decimal 
   • Drag up/down to change the order of calculation

After Expression added

Conclusion

If there is no Strikethrough on check bytes, it means all expressions are correct. Now you know another tip of MTools.