mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
ADD: 'amiitool' - Added @socram8888 's great tool for manipulating amiibo tags. The idea is to build it in the pm3 client. It compiles as is, but the hookup in client is not done. *WORK IN PROGRESS*
This commit is contained in:
parent
c6089d7fdb
commit
92fadc2a9f
10 changed files with 606 additions and 0 deletions
32
client/amiitool/amiibo.h
Normal file
32
client/amiitool/amiibo.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* (c) 2015-2017 Marcos Del Sol Vives
|
||||
* (c) 2016 javiMaD
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#ifndef HAVE_NFC3D_AMIIBO_H
|
||||
#define HAVE_NFC3D_AMIIBO_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "keygen.h"
|
||||
#include "util.h"
|
||||
|
||||
#define NFC3D_AMIIBO_SIZE 520
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
nfc3d_keygen_masterkeys data;
|
||||
nfc3d_keygen_masterkeys tag;
|
||||
} nfc3d_amiibo_keys;
|
||||
#pragma pack()
|
||||
|
||||
bool nfc3d_amiibo_unpack(const nfc3d_amiibo_keys * amiiboKeys, const uint8_t * tag, uint8_t * plain);
|
||||
void nfc3d_amiibo_pack(const nfc3d_amiibo_keys * amiiboKeys, const uint8_t * plain, uint8_t * tag);
|
||||
bool nfc3d_amiibo_load_keys(nfc3d_amiibo_keys * amiiboKeys, const char * path);
|
||||
void nfc3d_amiibo_copy_app_data(const uint8_t * src, uint8_t * dst);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue