از لینک زیر فایل ایزو OpenPCD 2 NFC/RFID Live Hacking System رو دانلود کنید.بیس فایل لینوکس فدورا x64 نسخه 17 و تولز های مربوطه است که در حالت لایو اجرا می شود.
سخت افزار : NFC RFID Writer/Reader/Emulator تو اینترنت مدل های زیادی است به نصبت برد "اکتیو و پسیو" فقط حتماً قابلیت خواندن و نوشتن رو داشته باشه.
کارت های مترو اولین گزینه ای که به فکرم رسید
نمونه هش md5 :
کد: انتخاب همه
md5sum : f97b06bdd42d4fba7575b5ca4356cb57
sha1sum : 83e3b4f4e691c023d9bbb7e56c5cf71c559c0319
sha256sum : af5ea58b2a1d377f82add62e9e5eede8890acb389162b25b23031a87b0dcf0e8
کد: انتخاب همه
reading and analyzing the hotel door RFID card
Dump both hotel key cards:
# place card 1 on the reader & run mfoc to break the keys and dump the card content
mfoc -O hotel1.mfd
# place card 2 on the reader & run mfoc to break the keys of the second card
mfoc -O hotel2.mfd
# inspect one of the files
ghex hotel1.mfd
# convert both binary dumps into text files
od -v -Ax -t x1 -w16 hotel1.mfd > hotel1.txt
od -v -Ax -t x1 -w16 hotel2.mfd > hotel2.txt
# highlight the differences between both key cards
meld hotel1.txt hotel2.txt
کد: انتخاب همه
libnfc & nfc-tools installation under Fedora 17
libnfc installation
svn checkout http://libnfc.googlecode.com/svn/trunk/ libnfc-read-only
cd libnfc-read-only
wget http://www.openbeacon.org/git-view/openbeacon/plain/firmware/lpc13xx/openpcd2-libnfc/patches/libnfc-r1433.patch
patch -p0 < libnfc-r1433.patch
autoreconf -vis
./configure --prefix=/usr/local/openpcd --enable-serial-autoprobe --with-drivers=pn532_uart
make
sudo make install
# adding libnfc library to library path
echo /usr/local/openpcd/lib | sudo tee /etc/ld.so.conf.d/openpcd.conf
sudo ldconfig
# show installed commands
ls /usr/local/openpcd/bin/
# return to directory above
cd ..
libnfc patch in detail
Serial interface device names are changed to /dev/ttyACMx to make sure that libnfc will be able to autodetect readers:
Index: libnfc/buses/uart_posix.c
===================================================================
--- libnfc/buses/uart_posix.c (Revision 1433)
+++ libnfc/buses/uart_posix.c (Arbeitskopie)
@@ -52,7 +52,7 @@
# elif defined (__FreeBSD__) || defined (__OpenBSD__)
const char *serial_ports_device_radix[] = { "cuaU", "cuau", NULL };
# elif defined (__linux__)
-const char *serial_ports_device_radix[] = { "ttyUSB", "ttyS", NULL };
+const char *serial_ports_device_radix[] = { "ttyACM", NULL };
# else
# error "Can't determine serial string for your system"
# endif
Index: configure.ac
===================================================================
--- configure.ac (Revision 1433)
+++ configure.ac (Arbeitskopie)
@@ -13,7 +13,7 @@
AC_DEFINE_UNQUOTED([SVN_REVISION], ["$SVN_REVISION"], [SVN revision])
AM_INIT_AUTOMAKE
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
libfreefare installation
svn checkout http://nfc-tools.googlecode.com/svn/trunk/libfreefare
cd libfreefare
autoreconf -vis
PKG_CONFIG_PATH=/usr/local/openpcd/lib/pkgconfig ./configure --prefix=/usr/local/openpcd
make
sudo make install
sudo ldconfig
# return to directory above
cd ..
nfcutils installation
svn checkout http://nfc-tools.googlecode.com/svn/trunk/nfcutils
cd nfcutils
autoreconf -vis
PKG_CONFIG_PATH=/usr/local/openpcd/lib/pkgconfig ./configure --prefix=/usr/local/openpcd
make
sudo make install
# return to directory above
cd ..
Mifare Classic Offline Cracker installation
svn checkout http://nfc-tools.googlecode.com/svn/trunk/mfoc
cd mfoc
autoreconf -vis
PKG_CONFIG_PATH=/usr/local/openpcd/lib/pkgconfig ./configure --prefix=/usr/local/openpcd
make
sudo make install
# return to directory above
cd ..