Create Dump.py

This commit is contained in:
Izaac 2017-06-14 09:39:40 -05:00 committed by GitHub
parent a8ed86ba3f
commit 6293fa9658

View file

@ -37,7 +37,7 @@ while continue_reading:
if status == MIFAREReader.MI_OK: if status == MIFAREReader.MI_OK:
# Print UID # Print UID
print "Card read UID: "+str(uid[0])+","+str(uid[1])+","+str(uid[2])+","+str(uid[3]) print "Card read UID: %s,%s,%s,%s" % (uid[0], uid[1], uid[2], uid[3])
# This is the default key for authentication # This is the default key for authentication
key = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF] key = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]