forked from vk496/mfoc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
83 changed files
with
90,201 additions
and
786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,44 @@ | ||
MFOC is an open source implementation of "offline nested" attack by Nethemba. | ||
Later was added so called "hardnested" attack by Carlo Meijer and Roel Verdult. | ||
|
||
This program allow to recover authentication keys from MIFARE Classic card. | ||
|
||
Please note MFOC is able to recover keys from target only if it have a known key: default one (hardcoded in MFOC) or custom one (user provided using command line). | ||
|
||
This is a port to win32 x64 platform using native tools (Visual Studio 2019 + LLVM clang-cl toolchain). | ||
This tree was also reworked for gnu toolchain (autotool + gcc like the original). | ||
|
||
Based on the idea by vk496 to integrate mylazycracker into mfoc, forked from his tree. | ||
|
||
For credits (there are many) just look at the AUTHORS file. | ||
|
||
Uses | ||
libnfc https://github.com/nfc-tools/libnfc/ | ||
libusb-win32 https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/ | ||
pthreads4w https://sourceforge.net/projects/pthreads4w/ | ||
liblzma https://tukaani.org/xz/ | ||
|
||
pthreads4w and liblzma are static linked. | ||
All these libs are precompiled and included in src\lib | ||
|
||
# Build from source | ||
Windows: | ||
Make sure you have Visual Studio 2019 with Desktop developement with C++, C++ Clang Compiler for Windows and C++ Clang-cl for v142 build tools installed. | ||
Open the solution and start compile. | ||
The compiled zip package will be in dist. | ||
|
||
Linux: | ||
``` | ||
autoreconf -is | ||
autoreconf -vis | ||
./configure | ||
make && sudo make install | ||
``` | ||
|
||
# Usage # | ||
Needs libusb0.dll and nfc.dll in the path, better on the same directory. | ||
Needs to install libusbK v3.0.7.0, using Zadig https://zadig.akeo.ie/, go to Option, List All Devices, select your reader, select libusbK(v3.0.7.0) and click on replace driver. | ||
Put one MIFARE Classic tag that you want keys recovering; | ||
Lauching mfoc, you will need to pass options, see | ||
``` | ||
mfoc -h | ||
mfoc-hardnested -h | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
src/mfoc.1 | ||
src/mfoc-hardnested.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
version=4 | ||
|
||
https://github.com/nfc-tools/mfoc/tags/ .*/mfoc-(.*)\.tar\.gz | ||
https://github.com/gelotus/mfoc/tags/ .*/mfoc-(.*)\.tar\.gz |
Oops, something went wrong.