Skip to content

Instantly share code, notes, and snippets.

@ceres-c
Last active February 4, 2020 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ceres-c/92da81decd3ddf8a951ae4538fb25746 to your computer and use it in GitHub Desktop.
Save ceres-c/92da81decd3ddf8a951ae4538fb25746 to your computer and use it in GitHub Desktop.
010Editor Template for Mifare Ultralight cards
//------------------------------------------------
//--- 010 Editor v8.0 Binary Template
//
// File: MifareUltralight.bt
// Authors: ceres-c
// Version: 1.0
// Purpose: Mifare Ultralight structure parsing.
// Commonly used in tickets.
// Category: Electronics
// File Mask:
// ID Bytes:
// History:
// 1.0 2017-07-14 ceres-c: Initial release
//------------------------------------------------
struct FILE {
struct Manufacturer_pages {
char UID_Part_1[3] <fgcolor=cDkGreen>;
char Check_Byte_1[1] <fgcolor=cLtRed>;
char Manufacturer_Data[4] <fgcolor=cLtAqua>;
char Check_Byte_2[1] <fgcolor=cLtRed>;
char Internal[1] <fgcolor=cLtBlue>;
char Lock_Bytes[2] <fgcolor=cDkRed>;
char OTP_Page[4] <fgcolor=cPurple>;
} manufacturer_pages;
struct Pages {
char Data[4];
} pages[ 16 ];
} file <bgcolor=cSilver>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment