Commit graph

898 commits

Author SHA1 Message Date
iceman1001 07983aa1b4 added a rdbl commmand 2024-01-26 22:50:52 +01:00
iceman1001 bfa912952e added a trace of xerox info execution 2024-01-26 21:25:45 +01:00
iceman1001 79d143c970 fix json loading for lf em 4x05 2024-01-26 13:14:34 +01: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 649e8f581a fixed hf 15 writedsfid, it was missing the longer wait for writes. Also made the command honor the -o flag instead of enforing it. I tested with and without on a card and both works 2024-01-25 12:11:44 +01:00
iceman1001 efc8c0b8ab added a interactive flag for hf14asniff, and unified text across the project 2024-01-25 10:21:36 +01:00
Yann GASCUEL 6a9eb0c97d add changelog entries 2024-01-24 14:09:00 +01:00
nvx da564aed3c Fix hf sniff
This was broken in commit 17ab86c52 as the forced rounding up of
the size to 4-byte alignment in BigBuf_malloc made the size check
possibly larger than the buffer size as the check was always +3 on
the requested size rather than the rounded size. This was made
worse by BigBuf_max_traceLen not taking into account alignment
either and the alignmentn check in hfsnoop.c checking to 2 byte
alignment instead of 4 byte alignment.

The alignment size check now checks the size after alignment
rounding, and BigBuf_max_traceLen takes into account alignment
losses too reducing the need for BigBuf consumers to have to care
about alignment.
2024-01-24 00:10:05 +10:00
martian b86065c4ea
Merge branch 'master' into flashdump
Signed-off-by: martian <martijn@plak.net>
2024-01-22 21:05:13 +01:00
iceman1001 2f6df627dc modified mfu info to correctly identify ntag i2c tags 2024-01-22 20:09:44 +01:00
Martijn Plak 974713a4d8 CMD_READ_MEM_DOWNLOAD, hw readmem and --dumpmem 2024-01-22 17:17:56 +01:00
iceman1001 29ba621f5d 14b dump/view now support -z flag for dense output 2024-01-20 23:14:35 +01:00
iceman1001 5fd69c76d7 added support for dense output in xerox dump / info commands 2024-01-20 20:40:31 +01:00
iceman1001 3f1e0f46db hf mfu dump/view/eview now supports dense output. 2024-01-20 06:24:13 +01:00
team-orangeBlue 8146bbe38a
Update CHANGELOG.md
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-20 00:24:07 +03:00
wh201906 40c35cc634
Show statistical data after tuning 2024-01-19 00:08:02 +08:00
iceman1001 49f07a39d5 lf idteck demod takes a raw hex string and tries to decode it 2024-01-18 16:20:35 +01:00
iceman1001 7d67ac633a lf em 410x demod --bin takes a binary string and tries to demodulate EM4100. However, current preamble detection needs an extra ZERO in the beginning of the binary string 2024-01-18 16:17:42 +01:00
iceman1001 98e44176a9 lf em 4x05 view is a new command to view dump files. lf em 4x05 view got detailed breakdown of config word bits. protection bits are guarded by verbose flag and identifcation got better generic instead of an wrongly absolut match 2024-01-18 16:11:21 +01:00
iceman1001 df67ac7658 hf 15 eview and view now supports -z flag to make the output more dense 2024-01-17 21:12:41 +01:00
Augusto Zanellato bdc634240a Add support for specifying size in hf mf cload 2024-01-17 00:06:59 +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 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 9c7890e50c in data manrawdemode the em410xdecode resets the size if it fails to decode, render the setdemodbuf useless afterwards. 2024-01-16 08:59:08 +01:00
iceman1001 ad50a6a6c5 add one more ndef message decoder. This one is for android managed provision message. Its just printing the text. Most likely other decoding needed 2024-01-16 00:06:03 +01:00
nvx 1828358ab0 Multiple hf_cardhopper improvements
Allow button presses to break
Handle non-zero CID from reader by relaying RATS to the card and improving PPS and WTX handling
More reliably cook ATS values
Ignore packets that look like they're coming from the client (NG packets)
2024-01-15 22:05:30 +10:00
iceman1001 b135413995 text 2024-01-15 13:01:45 +01:00
iceman1001 02f5e729ca added a new command "hf 15 wipe" which zeros out a card memory with writeblocks. Improved restore and wipe time. Also identified TI tags and their quirks. On device side when getting a error response from tag it doesnt care about eof package. So we send that one too. Which leads to a spurious package we ignore on client side. 2024-01-15 04:11:20 +01:00
iceman1001 838d224cd2 added a hf xerox view command, it now also prints some more part info and fixed a bug with 255 != 256 2024-01-14 18:22:55 +01:00
iceman1001 8d0b41a911 this commit fixes #2244 #2246 #1596 #2101. Its kind of a big refactoring and I most likely broke something. With that said. Now: HF 15 commands now uses NG packets, hf 15 raw support -k keepfield on and -s select, hf 15 dump/rdbl/rdmulti should handle blocksizes of 4 or 8, the error messages are unified and error handling the same. Some understanding how add_option impacts response message from card. A more clear separation between PM3 flags and ISO15693 protocol flags. 2024-01-14 14:23:51 +01:00
iceman1001 261760e903 adapted the colors when setting and getting preference values.\nprefs set client.debug - now toggles client side APDY logging 2024-01-10 22:04:38 +01:00
iceman1001 42cd0e37e0 text 2024-01-09 13:14:53 +01:00
iceman1001 f8c9c10c22 text 2024-01-08 21:18:01 +01:00
Marcos Del Sol Vives 442df4aaff
Update changelog 2024-01-07 22:34:40 +01:00
Marcos Del Sol Vives 572bdbf727
Document dependency on GD for ePaper devices 2024-01-07 17:15:13 +01:00
iceman1001 0d5e76a9ca text 2024-01-04 23:30:48 +01:00
Francis 22085b0568
Update CHANGELOG.md
Signed-off-by: Francis <zzvipercorezz@gmail.com>
2024-01-04 23:14:29 +01:00
Francis d203996c05
Update CHANGELOG.md
Moved changelog entry

Signed-off-by: Francis <zzvipercorezz@gmail.com>
2024-01-04 23:13:52 +01:00
Francis 010da01779
Update CHANGELOG.md
Signed-off-by: Francis <zzvipercorezz@gmail.com>
2024-01-04 22:56:35 +01:00
iceman1001 ef166a1030 fixed wrong parameter handling and helptext 2024-01-04 13:09:31 +01:00
wh201906 00686a91d0
Ignore button jitters in bootloader mode 2024-01-03 15:39:50 +08:00
iceman1001 6f49cc0224 title 2024-01-03 02:01:17 +01:00
iceman1001 0245ea4f7c title 2024-01-03 01:59:31 +01:00
iceman1001 fe36bdaca4 text 2024-01-02 22:13:00 +01:00
iceman1001 7b0e4e6394 added hints for all HF protocols in "hf search" 2024-01-01 21:39:46 +01:00
Eric Betts dbc0f59304 Changelog 2024-01-01 09:18:58 -08:00
nvx d156e48a83 hf 14a apdu now uses the FWI and SGFI values from the ATS to determine an appropriate timeout.
This fixes issues when using the command against cards that indicate really slow times, such as card emulation by hf_cardhopper.
2024-01-01 21:14:32 +10:00
iceman1001 20eddd8250 added a thread that starts when a device is detected to be offline. It runs until it finds a device and reconnects to it. Signals the READLINE hook event and the prompt is updated to match current status. This removes the need to type "hw connect" on clients that has been compiled with READLINE lib. 2023-12-31 15:25:58 +01:00
iceman1001 e9996d081c the offline detection printing of the prompt looks better now 2023-12-31 11:00:41 +01:00
iceman1001 68f63ec739 using the same hiding of debug logging when performing the magic tests 2023-12-30 21:02:16 +01:00