nfc-mfsetuid(1)
nfc-mfsetuid π
okay so bestie, welcome to the nfc-mfsetuid page β it lives in the NFC Utilities corner of the manual, section 1, and it's genuinely one of the most iconic little tools in the libnfc lineup π
β¨ NAME β¨
nfc-mfsetuid β the MIFARE 1K special card UID setting and recovery tool π«Ά
πΈ SYNOPSIS πΈ
nfc-mfsetuid [ UID ]
π DESCRIPTION π
so like, nfc-mfsetuid is a MIFARE tool, and what it does is it lets you set the UID on those special versions of Mifare 1K cards β you know the ones, the Chinese clones π
but wait, there's more, because it will also recover damaged cards π like, cards that have had invalid data written to block 0 (for example a wrong BCC) β yeah, this tool pulls them back from the brink, no cap.
heads up tho: currently only a 4 Byte UID is supported. that's the vibe, that's the limit, periodt.
you either specify an eight hex character UID, or you leave it blank and get the default '01234567' π
π OPTIONS π
-fβ Format. wipes all the data (sets it to0xFF) and resets theACLsback to defaults. it's giving factory reset energy π₯-qβ Quiet. suppresses the output of commands and responses. very demure, very silent π€«
π BUGS π
found a bug? don't suffer in silence bestie, please report any bugs on the libnfc issue tracker at:
https://github.com/nfc-tools/libnfc/issues
π§ LICENCE π§
libnfcis licensed under the GNU Lesser General Public License (LGPL), version 3.libnfc-utilsandlibnfc-examplesare covered by the BSD 2-Clause license.
β AUTHORS β
Adam Laurie <adam@algroup.co.uk> β main character energy fr fr π«Ά
this manual page was written by Adam Laurie <adam@algroup.co.uk>. it is licensed under the terms of the GNU GPL (version 2 or later).
and that's the whole page bestie β brought to you by the libnfc girlies, dated Sep 05, 2011, living under the nfc-mfsetuid(1) name. slay, stay safe, and always check your BCC π β¨
π¦ where this page comes from
- alpine 3.24: libnfc-doc 1.8.0-r2 Β· LGPL-3.0-or-later
- arch rolling: libnfc 1.8.0-4 Β· LGPL-3.0-or-later
- debian bookworm: libnfc-examples 1.8.0-2 Β· LGPL-3.0-only
- debian trixie: libnfc-examples 1.8.0-3.1+b1 Β· LGPL-3.0-only
- fedora 43: libnfc-examples 1.8.0-12.fc43 Β· LGPL-3.0-or-later
- fedora 44: libnfc-examples 1.8.0-13.fc44 Β· LGPL-3.0-or-later
- nixos 26.05: libnfc 1.8.0
- nixpkgs unstable: libnfc 1.8.0
- ubuntu jammy: libnfc-examples 1.8.0-2 Β· LGPL-3.0-only
- ubuntu noble: libnfc-examples 1.8.0-3.1build1 Β· LGPL-3.0-only
- ubuntu questing: libnfc-examples 1.8.0-3.1build1
- ubuntu resolute: libnfc-examples 1.8.0-3.1build2 Β· LGPL-3.0-only
- ubuntu stonking: libnfc-examples 1.8.0-3.1build2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms