Skip to content

Instantly share code, notes, and snippets.

hermes55555

Block or report user

Report or block hermes55555

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hermes55555
hermes55555 / gist:04c0dab9fd30a22e5657
Created Nov 16, 2015 — forked from alphazo/gist:3303282
Clone MiFare cards using chinesse UUID writable cards
View gist:04c0dab9fd30a22e5657

libnfc supports UUID writable cards and even has some dedicated tools for them.

However it doesn't work with some of the cards found on eBay that are even simpler to use. Sector 0 is unlocked and can be written without any additional commands. libnfc requires a small patch to get it working.

Following has been tested under ArchLinux with modified libnfc 1.5.1, mfoc 0.10.2 and a SCL3711 dongle.

Patch & recompile libnfc

The patch is fairly simple, open libnfc-1.5.1/utils/nfc-mfclassic.c and comment 2 lines (it was lines 384 and 385 for me):

  // Try to write the trailer
You can’t perform that action at this time.