Skip to content

Commit d168ea2

Browse files
committed
静态编译打包,增加README
1 parent 216d2ab commit d168ea2

9 files changed

Lines changed: 401 additions & 13 deletions

File tree

LICENSE

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
mfocGUI-For_PN532
2+
===================
3+
4+
This is only for pn532 version,and I had tested
5+
mfocGUI是mfoc的Windows版本,主要用途为Mifare卡的破解,饭卡,热水卡,等等。。。
6+
7+
8+
----------
9+
10+
11+
界面预览
12+
-------------
13+
![界面](https://github.com/NullYing/mfocGUI_For_PN532/raw/master/untitled%20folder/20160806193711.png)
14+
15+
----------
16+
17+
18+
####<i class="icon-refresh">Change LOG
19+
20+
> **本次更新**
21+
22+
> - 升级libnfc为1.5.1,更新了部分api函数
23+
> - 更新附带的libnfc文件,1.7.1版本
24+
> - 修改默认key
25+
> - 没去折腾acr122的驱动
26+
27+
> **未完成的开发:**
28+
29+
> - 由于libnfc版本过老,更新需要修改所有libnfc api函数。该版本libnfc为1.5.1,未编译进去acr122驱动,故只支持pn532
30+
> - 更新mfoc源码
31+
> - 自定义密钥
32+
33+
----------
34+
35+
#### <i class="icon-upload"></i> About Me
36+
37+
Copyleft © 2016 NULLYING
38+
Author:白月秋见心
39+
http://www.lastfighting.com/
40+
Email: ourweijiang@gmail.com

compiled/libnfc.dll

-7.72 MB
Binary file not shown.

compiled/mfocGUI.exe

108 KB
Binary file not shown.

src/mfocGUI/mfoc.cpp

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -735,19 +735,20 @@ int ReadCard(nfc_device_desc_t *device, std::list<performance> *performanceData,
735735

736736
// Array with default Mifare Classic keys
737737
byte_t defaultKeys[][6] = {
738-
{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, // Default key (first key used by program if no user defined key)
739-
{0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5}, // NFCForum MAD key
740-
{0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7}, // NFCForum content key
741-
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // Blank key
742-
{0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5},
743-
{0x4d, 0x3a, 0x99, 0xc3, 0x51, 0xdd},
744-
{0x1a, 0x98, 0x2c, 0x7e, 0x45, 0x9a},
745-
{0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff},
746-
{0x71, 0x4c, 0x5c, 0x88, 0x6e, 0x97},
747-
{0x58, 0x7e, 0xe5, 0xf9, 0x35, 0x0f},
748-
{0xa0, 0x47, 0x8c, 0xc3, 0x90, 0x91},
749-
{0x53, 0x3c, 0xb6, 0xc7, 0x23, 0xf6},
750-
{0x8f, 0xd0, 0xa4, 0xf2, 0x56, 0xe9}
738+
{ 0x8f, 0xd0, 0xa4, 0xf2, 0x56, 0xe9 },
739+
{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, // Default key (first key used by program if no user defined key)
740+
{0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5}, // NFCForum MAD key
741+
{0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7}, // NFCForum content key
742+
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // Blank key
743+
{0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5},
744+
{0x4d, 0x3a, 0x99, 0xc3, 0x51, 0xdd},
745+
{0x1a, 0x98, 0x2c, 0x7e, 0x45, 0x9a},
746+
{0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff},
747+
{0x71, 0x4c, 0x5c, 0x88, 0x6e, 0x97},
748+
{0x58, 0x7e, 0xe5, 0xf9, 0x35, 0x0f},
749+
{0xa0, 0x47, 0x8c, 0xc3, 0x90, 0x91},
750+
{0x53, 0x3c, 0xb6, 0xc7, 0x23, 0xf6},
751+
{0x8f, 0xd0, 0xa4, 0xf2, 0x56, 0xe9}
751752

752753
};
753754

src/mfocGUI/mfocGUI.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<ProjectGuid>{8C770BD4-C5CD-4743-93C4-BEB3D52EDC10}</ProjectGuid>
1515
<Keyword>Win32Proj</Keyword>
1616
<RootNamespace>mfocGUI</RootNamespace>
17+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
1718
</PropertyGroup>
1819
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
1920
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -28,6 +29,7 @@
2829
<WholeProgramOptimization>true</WholeProgramOptimization>
2930
<CharacterSet>NotSet</CharacterSet>
3031
<PlatformToolset>v140</PlatformToolset>
32+
<UseOfMfc>Static</UseOfMfc>
3133
</PropertyGroup>
3234
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3335
<ImportGroup Label="ExtensionSettings">
@@ -71,6 +73,7 @@
7173
<FunctionLevelLinking>true</FunctionLevelLinking>
7274
<IntrinsicFunctions>true</IntrinsicFunctions>
7375
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
76+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
7477
</ClCompile>
7578
<Link>
7679
<SubSystem>Windows</SubSystem>

src/mfocGUI/mfocMainWindow.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ URL http://www.cs.ru.nl/~petervr/papers/grvw_2009_pickpocket.pdf
3535
#pragma comment (lib, "libnfc.lib")
3636
#pragma comment (lib, "ComCtl32.lib")
3737
#pragma comment (lib, "gdiplus.lib")
38+
#pragma comment(lib, "Gdi32.lib")
39+
#pragma comment(lib, "shell32.lib")
40+
#pragma comment(lib, "comdlg32.lib")
41+
#pragma comment(lib, "Ole32.lib")
42+
#pragma comment (lib, "User32.lib")
3843
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
3944

4045
#include <stdio.h>

untitled folder/20160806193711.png

11.1 KB
Loading
746 KB
Binary file not shown.

0 commit comments

Comments
 (0)