mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
0fb0c35308
CHG: 'script run read_pwd_mem.lua' - script now can print those uploaded dictionary files. How to upload pm3 --> mem load f default_iclass_keys i pm3 --> mem load f default_keys m pm3 --> mem load f default_pwd t How to validate / view PM3 -->scr run read_pwd_mem -o 237568 -k 8 pm3 -->scr run read_pwd_mem -o 241664 -k 6 pm3 -->scr run read_pwd_mem -o 245760 -k 4
41 lines
No EOL
1.2 KiB
C
41 lines
No EOL
1.2 KiB
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2018 iceman
|
|
//
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
// the license.
|
|
//-----------------------------------------------------------------------------
|
|
// Proxmark3 RDV40 Flash memory commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDFLASHMEM_H__
|
|
#define CMDFLASHMEM_H__
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
#include "proxmark3.h"
|
|
#include "ui.h"
|
|
#include "cmdparser.h"
|
|
#include "common.h"
|
|
#include "util.h"
|
|
#include "util_posix.h" // msclock
|
|
#include "loclass/fileutils.h" //saveFile
|
|
#include "comms.h" //getfromdevice
|
|
|
|
typedef enum {
|
|
DICTIONARY_NONE = 0,
|
|
DICTIONARY_MIFARE,
|
|
DICTIONARY_T55XX,
|
|
DICTIONARY_ICLASS
|
|
} Dictionary_t;
|
|
|
|
extern int CmdFlashMem(const char *Cmd);
|
|
|
|
extern int CmdFlashMemRead(const char* cmd);
|
|
extern int CmdFlashMemLoad(const char* cmd);
|
|
extern int CmdFlashMemSave(const char* cmd);
|
|
extern int CmdFlashMemWipe(const char *Cmd);
|
|
extern int CmdFlashMemInfo(const char *Cmd);
|
|
#endif |