nfc
NFC/RFID reading, writing, cloning, MIFARE cracking.
Load with: use nfc
Quick example
use nfc
result = nfcop("value")
prn(result)
Functions
Reader operations
nfcop(dev)
Opens a connection or resource. Takes dev.
nfccl(h)
Closes or clears. Takes h.
Tag detection
nfcpo(h, tmo)
Performs the operation. Takes h, tmo.
nfcui(h)
Performs the operation. Takes h.
nfcty(h)
Performs the operation. Takes h.
MIFARE Classic
nfcmf(h, sec, key)
Performs the operation. Takes h, sec, key.
nfcmf1(h, sec, blk, d, key)
Performs the operation. Takes h, sec, blk, d, key.
nfcmf2(h, sec, kt, key)
Performs the operation. Takes h, sec, kt, key.
MIFARE keys
nfcdf()
Performs the operation.
nfcdf1()
Performs the operation.
nfcdf2()
Performs the operation.
Crack MIFARE
nfccr(h, sec)
Creates a new instance. Takes h, sec.
nfcda(uid, ks, kk)
Performs the operation. Takes uid, ks, kk.
cndar(h, sector)
Performs the operation. Takes h, sector.
NTAG/Ultralight
nfcnt(h, sp, ct)
Performs the operation. Takes h, sp, ct.
nfcnt1(h, pg, d)
Performs the operation. Takes h, pg, d.
nfcnt2(pwd)
Performs the operation. Takes pwd.
Clone operations
nfcdu(h)
Performs the operation. Takes h.
nfccl1(h, tgt)
Performs the operation. Takes h, tgt.
Emulation
nfcem(ty, uid, d)
Performs the operation. Takes ty, uid, d.
DESFire
nfcde(h, aid)
Decodes. Takes h, aid.
nfcde1(h, kn, key)
Performs the operation. Takes h, kn, key.
nfcde2(h, fid, off, ln)
Performs the operation. Takes h, fid, off, ln.
FeliCa
nfcfe(h)
Performs the operation. Takes h.
nfcfe1(h)
Performs the operation. Takes h.
nfcfe2(h, c)
Performs the operation. Takes h, c.
Amiibo/NFC toys
nfcam()
Performs the operation.
Card formatting
nfcfm(h, ty)
Performs the operation. Takes h, ty.
Replay attack
nfcre(h, d)
Performs the operation. Takes h, d.
Sniffing
nfcsn(cond)
Performs the operation. Takes cond.
nfcsn1(h)
Performs the operation. Takes h.
nfcsn2(h)
Performs the operation. Takes h.
Notes
- NFC tag reading and writing.