chg: 'hf mf nack' - extracted in into mifarehost for easier usage in other cmds like

'hf 14a info'
chg: 'hf mf nack' - changes on devices side from @doegox   Thanks!
This commit is contained in:
iceman1001 2017-12-05 23:34:52 +01:00
commit 0a1a48df01
5 changed files with 88 additions and 50 deletions

View file

@ -67,8 +67,6 @@ typedef struct {
//uint8_t foundKey[2];
} icesector_t;
extern char logHexFileName[FILE_PATH_SIZE];
extern int mfDarkside(uint8_t blockno, uint8_t key_type, uint64_t *key);
@ -95,6 +93,6 @@ extern int saveTraceCard(void);
extern int tryDecryptWord(uint32_t nt, uint32_t ar_enc, uint32_t at_enc, uint8_t *data, int len);
extern bool detect_classic_prng(void);
extern bool detect_classic_nackbug(void);
extern int detect_classic_nackbug(bool verbose);
extern void detect_classic_magic(void);
#endif