Commit graph

174 commits

Author SHA1 Message Date
iceman1001
804acfbefa the device side of iclass tear off is implemented. The base was done by @antiklesys. This version differs by the concept of trying to stabilize weak bits by performing a write operation in conjuction with the detected tear. Its untested but I can replicate most of the tears we performed client side. You will need to call the proxmark3 client with -f , ./pm3 -f to force flush out text which is needed for the inplace printing. I thought this was done automatically but it wasnt. hf iclass tear --arm + all the normal params to run on device side 2025-05-30 01:37:13 +02:00
seclabz
19789381df Added new standalone mode HF_ST25_TEAROFF to store/restore ST25TB tags with tearoff for counters (@seclabz) 2025-04-16 14:05:10 +02:00
iceman1001
875b3c44b4 unify text - step 1 2025-03-25 10:12:16 +01:00
Shawn Hoffman
aa286b4a16 fix bigbuf allocators (tracing + malloc) overwriting each other
* BigBuf.c: use s_ prefix for statics
* BigBuf_Clear_ext already calls clear_trace, so remove extra calls
* add some sanity checking of allocator args
* dont compare PDC_RNCR to false
2025-01-24 15:56:45 -08:00
Michael Jung
8209440a54 Fix ISO 14443-B tag simulation
See https://github.com/RfidResearchGroup/proxmark3/issues/1652

- Fix Bit Coding PICC -> PCD:  Encoding for 0 and 1 bits were reversed.
- Add a frontend delay for TR0 (No subcarrier) in TransmitFor14443b_AsTag.
- Remove unconditionally prefixing the encoded data with two '1' bits.
- Improve the Type B PICC State Machine implementation.

With these improvements my PCD can read the ISO 14443-B tag emulated by a
Proxmark3 Easy.

Signed-off-by: Michael Jung <michael.jung@secore.ly>
2024-06-11 19:05:08 +02:00
iceman1001
6f23b7f3eb fix fct name mismatch, const params, 2024-05-14 12:40:26 +02:00
iceman1001
f63ba3f31a fix fct name mismatch 2024-05-14 12:32:57 +02:00
iceman1001
7c6d60e7ef style 2024-02-03 16:05:58 +01:00
iceman1001
0afeb77c82 14b sim clean up 2024-01-28 12:30:29 +01:00
iceman1001
5028d6f664 style 2024-01-28 11:16:45 +01:00
iceman1001
c7af357dc1 style 2024-01-26 20:48:41 +01:00
iceman1001
adfab4992d not clear how the slot marker / anticollision loop works for xerox but we seem to ignore retlen 2024-01-26 19:48:52 +01:00
iceman1001
0796209ee4 xerox doesnt use framing 2024-01-26 16:48:01 +01: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
22fd440c83 style 2024-01-18 16:41:13 +01:00
iceman1001
3268621fe0 Lowered the initial wait, Heuristic decided. Might need to look at Picopass datasheet and verify :) 2024-01-16 16:21:45 +01:00
iceman1001
730cc21f08 fix the field is off check 2024-01-16 15:49:35 +01:00
iceman1001
acaaeea450 picopass uses a different CRC algo 2024-01-16 15:32:43 +01:00
iceman1001
2981dd94f7 had to keep track if the field is on or off on deviceside for 14b raw.\nAdded picopass ISO14443-B anticollision. It allows us to send raw packages over 14b. 2024-01-16 15:12:16 +01:00
iceman1001
5b31211971 style 2024-01-16 11:53:42 +01:00
iceman1001
70b4bee761 reworked the 14B comms. Uses NG packets now. Most raw / apdu / write / rd got some love 2024-01-16 11:37:13 +01:00
iceman1001
4df743c2a0 style 2024-01-15 13:08:55 +01:00
iceman1001
e69b46f6f6 logging enabled for 14b readblock.\nsupport for tearoff in 14b adpu\nfixed a bug in 14b raw when adding crc\n raw command should now not touch reserved emulator memory when freed 2024-01-09 13:07:43 +01:00
iceman1001
1efb38ba98 fix hf 14b dump command not lock up every other call and modified the output. 2024-01-09 10:22:27 +01:00
iceman1001
dae8f4ac4b forgot one 2024-01-08 23:48:45 +01:00
iceman1001
562faa8489 removed the inconsistency of both being a status value and length value 2024-01-08 23:40:45 +01:00
iceman1001
82aa6ac08c gave 14b commands some serious love and overhaul. package handling for APDU and different selects is improved. return codes now consequent 2024-01-08 21:17:42 +01:00
iceman1001
398803d930 adapt size of return messages in 14b 2024-01-07 22:34:08 +01:00
iceman1001
21e54ba9b1 adjust 14b apdu which seems to trigger memory corruption device side 2024-01-01 21:49:32 +01:00
Philippe Teuwen
d74e264250 style 2023-09-07 20:13:18 +02:00
iceman1001
70bd5b80b5 limit clearing the bigbuff for 14b raw commands only to clear_trace flag 2023-08-28 17:59:48 +02:00
iceman1001
114dda1582 After testing and verification its found that the SHALLOW MODULATION in HF is not working well in RDV4. Swapping from PWR_OE4 to PWR_OE1 makes it much better. Thanks to @d18c7db for solution and @gentlekiwi for testing and never giving up on finding the bug 2023-08-28 12:00:44 +02:00
iceman1001
424e68dff6 fixing the wrong calculations 2023-08-24 10:20:01 +02:00
Henry Gabryjelski
a8d84b2f13 more const for iso14443b 2023-08-14 22:16:11 -07:00
Philippe Teuwen
c9984985fd make miscchecks 2023-01-14 22:23:40 +01:00
iceman1001
11e097c1bb fixing hf search loop and lessing the debug statements 2022-07-07 23:43:45 +02:00
iceman1001
6d699d66bc adding support to read fuji/xerox tags, thanks to user Horror 2022-06-30 22:50:52 +02:00
iceman1001
3b5a1e8de5 added some helptexts 2022-02-24 19:31:47 +01:00
iceman1001
e550f8ccc8 cppcheck fixes for const 2022-01-06 15:40:11 +01:00
Philippe Teuwen
b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
Philippe Teuwen
88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen
4c4e291588 iso14443b: remove redundant assignment, cf issue #1497 2021-09-05 19:54:04 +02:00
Philippe Teuwen
e79fb92074 Add fpga-xc3s100e and icopyx support 2021-08-21 23:45:46 +02:00
Philippe Teuwen
5b54385347 rename globals 2021-08-21 23:08:26 +02:00
iceman1001
3fce16b7d9 fix cppchecker warnings 2021-05-07 12:27:13 +02:00
iceman1001
e4f55556ba style 2021-05-05 21:04:48 +02:00
iceman1001
54125918b5 remove debugs statements 2021-04-25 04:06:01 +02:00
iceman1001
2119c4e7bd hf 14b got some love 2021-04-23 22:25:58 +02:00
iceman1001
b267ee8ef5 convert 14b raw to use NG 2021-04-21 18:36:21 +02:00