mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Improved the reliability, speed and redability. Ready for a pull mr. iceman ;)
This commit is contained in:
parent
abb69e2dc9
commit
87cbf3aa70
3 changed files with 233 additions and 287 deletions
|
@ -49,6 +49,7 @@
|
|||
#include "../ui.h"
|
||||
#include "../emv/emvjson.h"
|
||||
#include "mifare/mifare4.h"
|
||||
#include "mifare/mifarehost.h"
|
||||
#include "cmdhfmfu.h"
|
||||
|
||||
typedef enum {
|
||||
|
@ -103,6 +104,16 @@ int saveFileEML(const char *preferredName, uint8_t *data, size_t datalen, size_t
|
|||
*/
|
||||
int saveFileJSON(const char *preferredName, JSONFileType ftype, uint8_t *data, size_t datalen);
|
||||
|
||||
/**
|
||||
* @brief Utility function to save a keydump.
|
||||
*
|
||||
* @param sectorsCnt the used sectors
|
||||
* @param e_sector the keys in question
|
||||
* @param fptr string pointer to the filename
|
||||
* @return 0 for ok, 1 for failz
|
||||
*/
|
||||
int createKeyDump(uint8_t sectorsCnt, sector_t *e_sector, char* fptr);
|
||||
|
||||
/** STUB
|
||||
* @brief Utility function to load data from a binary file. This method takes a preferred name.
|
||||
* E.g. dumpdata-15.bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue