Commit Graph

17875 Commits

Author SHA1 Message Date
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
iceman1001
814dc8652d change 14b sriwrite, now supports a force option to override block checks. Good for devices like Gentilkiwis... 2024-01-09 13:11:47 +01:00
iceman1001
e5b4cbedb6 refactored 14b read and 14b write. Write now also tries to verify that block has changed 2024-01-09 13:10:43 +01:00
iceman1001
17f4b95bdd removed user side timeout and improved debug messages 2024-01-09 13:09:38 +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
fd08617dfe text 2024-01-09 10:36:54 +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
131721c94a fix hf 14b dump - now always turn off the field even when called with --ns 2024-01-09 10:01:35 +01:00
Iceman
d3ef9e3c1d Merge pull request #2242 from francis2054/patch-2
Update Troubleshooting.md
2024-01-09 09:12:46 +01:00
Francis
a2af356ee3 Update Troubleshooting.md
Signed-off-by: Francis <zzvipercorezz@gmail.com>
2024-01-09 01:51:07 +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
69ec1c6c04 remove some repeating 14b select calls 2024-01-08 22:17:50 +01:00