mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Merge pull request #1907 from natesales/iceclass-read-sim
feat: add standalone ICECLASS read/sim mode
This commit is contained in:
commit
881783585b
2 changed files with 15 additions and 2 deletions
|
@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
|||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||
|
||||
## [unreleased][unreleased]
|
||||
- Add ICECLASS standalone read/sim mode (@natesales)
|
||||
- Added verbose flag to `hf iclass encode` (@natesales)
|
||||
- Fixed `Makefile` regression that broke `make install` (@henrygab)
|
||||
- Fixed `lf em 4x70 brute` - now works as expected (@adite)
|
||||
|
|
|
@ -43,9 +43,10 @@
|
|||
#define ICE_STATE_ATTACK 2
|
||||
#define ICE_STATE_READER 3
|
||||
#define ICE_STATE_CONFIGCARD 4
|
||||
#define ICE_STATE_DUMP_SIM 5
|
||||
#define ICE_STATE_DUMP_SIM 5
|
||||
#define ICE_STATE_READ_SIM 6
|
||||
|
||||
#define HF_ICLASS_NUM_MODES 6
|
||||
#define HF_ICLASS_NUM_MODES 7
|
||||
|
||||
// ====================================================
|
||||
// Select which standalone function to be active.
|
||||
|
@ -56,6 +57,7 @@
|
|||
//#define ICE_USE ICE_STATE_READER
|
||||
//#define ICE_USE ICE_STATE_CONFIGCARD
|
||||
//#define ICE_USE ICE_STATE_DUMP_SIM
|
||||
//#define ICE_USE ICE_STATE_READ_SIM
|
||||
|
||||
// ====================================================
|
||||
|
||||
|
@ -720,6 +722,16 @@ void RunMod(void) {
|
|||
mode = ICE_STATE_NONE;
|
||||
break;
|
||||
}
|
||||
case ICE_STATE_READ_SIM: {
|
||||
DbpString("-=[ enter " _CYAN_("`read & sim`") " mode, read cards, then sim after button press ]=-");
|
||||
DbpString("Entering reader dump mode");
|
||||
reader_dump_mode();
|
||||
SpinDelay(1200); // debounce button press
|
||||
DbpString("Entering fullsim mode");
|
||||
fullsim_mode();
|
||||
DbpString("Exiting fullsim mode");
|
||||
LEDsoff();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue