Commit graph

17887 commits

Author SHA1 Message Date
iceman1001 13b74dd817 text 2024-01-16 13:52:25 +01:00
iceman1001 5b31211971 style 2024-01-16 11:53:42 +01:00
iceman1001 e89ec244cd rename sriwrite command 2024-01-16 11:52:10 +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
iceman1001 805269ad4a text 2024-01-15 19:54:22 +01:00
iceman1001 73843fd366 testing to extent DMA buffer to 768 bytes 2024-01-15 17:36:19 +01:00
iceman1001 3baf5acc6f text 2024-01-15 17:35:00 +01:00
iceman1001 26b46a7330 adapt text output when parsing json files and detecting there is no more blocks to load 2024-01-15 17:27:12 +01:00
iceman1001 ca21348ff6 text 2024-01-15 17:14:04 +01:00
iceman1001 f69eb8b127 text 2024-01-15 16:34:06 +01:00
Iceman db45aff1ff
Merge pull request #2250 from nvx/linter_fixes
Fix some missing frees, null dereferences and missing initialisation picked up by clang-analyzer
2024-01-15 15:26:52 +01:00
nvx d2d6f80d11 Fix some missing frees, null dereferences and missing initialisation picked up by clang-analyzer 2024-01-16 00:22:53 +10:00
Iceman 5db2276602
Merge pull request #2249 from nvx/cardhopper_improvements
Multiple hf_cardhopper improvements
2024-01-15 13:11:24 +01:00
iceman1001 4df743c2a0 style 2024-01-15 13:08:55 +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 a79b2bb725 fix the too long filename bug when using a smaller width param. also added some extra text for output length of binary strings in decode. One tend to not see if its 25 or 26 bits sometimes :) 2024-01-15 12:58:23 +01:00
iceman1001 00dfd6e5f1 text 2024-01-15 11:53:35 +01:00
iceman1001 8831c9cfcf text 2024-01-15 11:44:15 +01:00
iceman1001 0607f3a47b added some sanity checks for the person who enters too small blocksize 2024-01-15 11:18:35 +01:00
iceman1001 f563f461d9 text 2024-01-15 04:11:46 +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 52241eff9e hf 15 wrbl - to handle different models 2024-01-15 02:57:11 +01:00
iceman1001 c017565025 text 2024-01-15 02:35:47 +01:00
iceman1001 36be4d9556 text and style for comparing 2024-01-15 01:14:58 +01:00
iceman1001 35667fa0d6 its activate not select 2024-01-15 01:13:59 +01:00
iceman1001 e84fab36f6 adapt output 2024-01-15 00:35:21 +01:00
iceman1001 9655afb4de text 2024-01-15 00:34:11 +01:00
iceman1001 9a26666858 adapted the read block in "hf xerox info" to something more generic 2024-01-14 22:00:35 +01:00
iceman1001 e0b1b1af56 extra empty line to improve readbility 2024-01-14 21:30:46 +01:00
iceman1001 89555c0caa added list 2024-01-14 21:26:35 +01:00
iceman1001 a88eae9f4e textual 2024-01-14 20:30:50 +01:00
iceman1001 61573a014e fix decoding of info in view command and turning off at select card 2024-01-14 20:26:56 +01:00
iceman1001 c880b613d6 added log wait for write block 2024-01-14 18:56:11 +01:00
iceman1001 5a483df74d add set isodepstate in lua 2024-01-14 18:24:54 +01:00
iceman1001 d0cb240c64 style 2024-01-14 18:23:50 +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 0b022e3c7e text 2024-01-14 16:17:40 +01:00
iceman1001 4661616ce6 fix logic 2024-01-14 15:05:07 +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
Iceman 224da75e7a
Merge pull request #2247 from evildaemond/patch-3
Update hf_mf_uid_downgrade.lua
2024-01-14 10:36:41 +01:00
Adam Jon Foster 12e6b95d47
Update hf_mf_uid_downgrade.lua
Expanding the description for the downgrade and what causes it

Signed-off-by: Adam Jon Foster <me@evildaemond.com>
2024-01-14 12:24:47 +08: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 0b9191185b "emv reader" - make apdu logging based on verbose flag and honor previous set value. In case we ever do this in Preferences 2024-01-10 15:04:23 +01:00
iceman1001 641308e29c detection 2024-01-10 09:24:52 +01:00
iceman1001 0d24e8252f wrong format string 2024-01-09 21:37:29 +01:00
iceman1001 8b61e28081 changed to defines and prepped to identify st25B... 2024-01-09 15:40:40 +01:00
iceman1001 42cd0e37e0 text 2024-01-09 13:14:53 +01:00