Commit graph

483 commits

Author SHA1 Message Date
iceman1001 db1b28f327 rename hts read/write commands to rdbl/wrbl to match rest of the client. added a lf hitag hts reader comamnd, modified the lf search to identify hitag2/s/82xx in the chipset detection 2024-09-14 21:00:42 +02:00
iceman1001 34e00146c6 change data available check in hf mf sim on device side. 2024-09-14 18:37:56 +02:00
iceman1001 7a5d1b1ddf clean 2024-09-13 13:39:04 +02:00
douniwan5788 29f9862cf1 refactor: iso14443a_fast_select_card 2024-09-08 23:04:57 +08:00
iceman1001 b0dd246d94 const and bad OR 2024-09-06 09:52:30 +02:00
iceman1001 431a5d585e fix one too small 2024-09-05 19:51:10 +02:00
iceman1001 7a4bd03cc0 added bounds checking for when the proxmark3 is simulating a ISO14443a tag 2024-09-05 18:38:17 +02:00
iceman1001 129d6f1e6d a bit untested, I am sure all standalone modes fails now. lets see if this is enough of bounds checking 2024-09-05 17:59:34 +02:00
iceman1001 9c181dd83d step one of bounds checking all responses when receiving ISO14443A frames... because @doegox find a missbehaving IC clone..... 2024-09-05 17:52:10 +02:00
douniwan5788 740ab6bb33 fix: mfDarkside hangs 2024-09-04 23:28:13 +08:00
douniwan5788 5e9533a792 refactor: mfDarkside error code 2024-09-04 23:28:13 +08:00
iceman1001 4ddb417107 fix bit flag comparing to prefered style 2024-08-25 15:08:04 +02:00
nvx 49f7ae57dc Changed hf mf gdmcfg/gdmsetcfg commands to support Gen1a and GDM Alt magic wakeups
This was implemented with a new pair of RPCs CMD_HF_MIFARE_READBL_EX and CMD_HF_MIFARE_WRITEBL_EX
these RPCs support all combinations of read/write commands, wakeup, and auth options so
in time can replace the other MFC read/write commands too reduce armsrc code size
and complexity.

Also added config parsing for the gdm cfg block when reading with hf mf gdmcfg and
explicitly with hf mf gdmparsecfg.
2024-01-26 20:09:08 +10:00
iceman1001 b7928eb85e text 2024-01-25 11:22:55 +01:00
iceman1001 efc8c0b8ab added a interactive flag for hf14asniff, and unified text across the project 2024-01-25 10:21:36 +01:00
iceman1001 6c1ebc3398 cleaning up redundant functions. the extra checks in bigbuff might affect simulation 2024-01-24 23:41:48 +01:00
iceman1001 238572c337 style 2024-01-01 21:52:05 +01:00
iceman1001 1f4f5febae adapt magic detection and textual output. Hf mf info - now uses found keys to send for magic detection 2023-12-30 23:08:58 +01:00
iceman1001 20d95fa3ea remove some more parity arrays 2023-12-15 09:33:02 +01:00
iceman1001 30c7ce1335 wait until timeout 2023-12-15 09:22:35 +01:00
iceman1001 c210b370fe remove par 2023-12-15 09:13:20 +01:00
iceman1001 ab0ee92f57 the par[] array allocation was the root cause for the stack smashing. Making one static array to be reused across 14a functions took care of the issue.\nalso made the command allocation for ISO14 APDU sending a bigbuf allocation instead. Since nothing in the APDU has to do with EMULATOR memory etc. The trace log grows from start of bigbuff, allocations grows from end of bigbuff 2023-12-14 23:35:30 +01:00
iceman1001 f4f832e121 style 2023-12-14 00:33:02 +01:00
iceman1001 0ff41fa652 style 2023-10-12 14:53:26 +02:00
iceman1001 60ff2351ba text 2023-10-09 12:47:00 +02:00
Philippe Teuwen 3aeb5c493f fix a few cppcheck warnings 2023-09-07 22:28:37 +02:00
Philippe Teuwen d74e264250 style 2023-09-07 20:13:18 +02:00
iceman1001 276bd29da9 cleanup and fix shadowing var 2023-09-03 14:43:38 +02:00
iceman1001 3e034e146a remove unneeded line 2023-09-03 12:36:30 +02:00
Thomas Pedley e3cc8a98e9 Fix MFU authentication to send PACK correctly. 2023-08-30 08:05:23 +01:00
Henry Gabryjelski efce76db53 more const for iso14443a 2023-08-14 22:07:04 -07:00
iceman1001 97a1f97308 style 2023-07-27 23:42:06 +02:00
iceman1001 58f9ba0abf ugly hack to load the signature data if we are on a MFC Ev1 card. First we dont want to trigger the partial read unnecessary and secondly we dont save signature data in our MFC dump file. Need to adapt the JSON format for this 2023-07-27 22:23:33 +02:00
iceman1001 5faf625032 adapt name to match code style 2023-07-27 18:02:53 +02:00
iceman1001 fbdf50d756 minor text stuff 2023-07-26 17:49:14 +02:00
iceman1001 1cb15c84c1 adapting hf mf cget* commands to longer timeouts. Same with the quick eload used in autopwn among others.\nAlso adapted the return codes, so its more accurate in its reporting back to the client. Also added some more informative messages 2023-07-25 21:29:31 +02:00
iceman1001 514af4cf84 missing break 2023-07-23 12:51:12 +02:00
startrekdude 44b7aa2e8b Add a tagType for Seos cards to SimulateIso14443aInit
These values were observed from a standard-keyed 4K Seos card.
2023-07-21 16:02:46 -04:00
iceman1001 134f09be5e style 2023-07-17 17:46:27 +02:00
kormax 7f5e1c9657 Move custom polling frame generation logic to client 2023-07-16 19:27:38 +03:00
kormax a9cba02514 Move custom polling frame generation logic to client 2023-07-16 17:39:32 +03:00
kormax c4f1b0768d Pass polling config via pointer instead of by-value, thus saving RAM 2023-07-16 16:49:31 +03:00
iceman1001 8fc05ad2a5 style 2023-07-16 15:30:43 +02:00
kormax 0094318515 Make ISO14443-A polling method more flexible 2023-07-16 14:46:30 +03:00
nvx edd8e36d80 Cleanup arm-side reader-mode mifare classic block read/write code. 2023-07-04 00:11:01 +10:00
iceman1001 74f02fef8a style 2023-06-24 17:16:28 +02:00
iceman1001 c937e3b760 fix tear off to work with topaz wrbl. fix topas wrbl to handle LOCK/OTP block 13,14, which needs write_nonerase command, fixed output for rdbl 2023-06-24 00:02:50 +02:00
iceman1001 97eb0238b1 style 2023-06-02 10:45:04 +02:00
Davi Mikael 757e53c6ac removing debug statement in iso14443a 2023-05-24 09:48:00 -03:00
Davi Mikael 440c5ac1fa
Merge branch 'RfidResearchGroup:master' into master 2023-05-24 09:33:20 -03:00