Commit graph

940 commits

Author SHA1 Message Date
iceman1001 500e10f3a5 text 2024-04-13 10:59:55 +02:00
iceman1001 9b8cf1e323 the waitforResponseTimeoutW fct will lock the client in situations like sniffing and if the device locks up there is no way to exit nice. This fix will look for life signs from the device. if lost, we will break. Allowing for the client to handle it better 2024-04-07 23:50:58 +02:00
iceman1001 a68a5a8825 if using readline , the CTRL-C should now handle it a bit more nicer. Especially the pm3 history file should be flushed with the upside you dont loose all your commands you issued and mistakingly pressed CTRL-C. for the linenoice and Win32, you still have this issue. 2024-04-06 20:57:54 +02:00
iceman1001 82a809887c hf mf ginfo -now supports decoding of a user supplied configuration block and improved textual output 2024-04-05 00:40:13 +02:00
iceman1001 21f25ccd1f the data load for long file since we got the extended sniff possibility is hard to see. This commit now shows a comma printed version. It helps me :) 2024-04-03 17:05:34 +02:00
iceman1001 64a5b048e5 text 2024-03-26 15:11:12 +01:00
iceman1001 c66e781a9c annotation of the hitag2 protocol now properly identifies different parts without shifting of whole hex arrays. Took the idea from RFIdler (@adamLLaurie) where he treats it like a binary string instead. It works. Problem: We use whole bytes in our logging protocol and Hitag2 uses 5, 10, 32, 64 bits commands. START_AUTH is 11000, which as a MSB aligned byte is 0xC0. Now we shift it down to LSB centered and 11000 becomes 0x18. This reduces all issues with handing the rest of the array. \n\nTake note that our protocol uses whole bytes. I had to print out number of actually captured bits in the trace log now. Otherwise 65 or 71 bits would not look any different but will not work when used with other tools. This also means we abuse the logging protocol by using the parity byte arry to store number of "left over bits" in the par[0] position. 2024-03-26 15:04:39 +01:00
iceman1001 dd62dc9275 changelog 2024-03-20 23:33:02 +01:00
iceman1001 2f6f4806da text 2024-03-20 23:31:14 +01:00
iceman1001 555fe1566f changes to hf mf info for some more detections 2024-03-16 19:04:31 +01:00
Henry Gabryjelski 7036e91f2e Add to changelog 2024-03-11 18:16:59 -07:00
Antonio Gamez Diaz 27ac51a991 Add entry in changelog.md 2024-03-11 20:15:45 +01:00
iceman1001 9de6f59136 modified standalone mode hf_unisniff. It now also sniffs iclass. Another option added was for hw standalone -b, which allows you to trigger a particular sniff from client. Good for debugging w/o need to recompile or upload a config file. 2024-03-06 21:07:42 +01:00
iceman1001 6a933555df mem spiffs dump now honors the -d filename and save to file when used together with the -t param 2024-03-05 14:55:30 +01:00
iceman1001 41696acc19 the key type was wrong in the output. I figure this should fix it 2024-03-04 08:48:39 +01:00
Iceman a0b26257db
Merge branch 'master' into id48
Signed-off-by: Iceman <iceman@iuse.se>
2024-03-03 22:06:54 +01:00
iceman1001 2d6cd1a875 added support to show EG.DG7, and some textual changes for info 2024-03-03 21:56:28 +01:00
Henry Gabryjelski d4942584ec Add CHANGELOG entry 2024-03-03 12:16:57 -08:00
iceman1001 8279036ade text 2024-03-03 18:42:33 +01:00
iceman1001 74f357465c updated missing entires. Thanks to @francesco-scar for pointing it out 2024-03-03 18:38:08 +01:00
iceman1001 259e19e87d modified hf mf dump to also print the dumped memory. It now acts like most other dump commands in the pm3 client 2024-03-03 18:35:39 +01:00
iceman1001 490111ee47 fixed the magic detection , and improved the hints reporting MF Classic tags 2024-02-21 23:23:54 +01:00
iceman1001 8291315137 release text 2024-02-18 20:55:42 +01:00
iceman1001 2e03d62e0c release name 2024-02-18 20:53:19 +01:00
iceman1001 c1156d24f2 hf fudan dump now supports the nosave flag 2024-02-16 22:50:16 +01:00
iceman1001 c544d67d2b Thanks to the user jareckib for his solution of adding two extra blocks to t5577 in order to clone a more modern Electra tag. Find it under the extra param lf em 410x clone --electra 2024-02-16 21:21:02 +01:00
iceman1001 fe4812111c text 2024-02-16 18:21:11 +01:00
wh201906 710c8ede8e
Better hw detectreader
Fix regression in 5f831ee776
Add support for switching modes by keyboard
2024-02-16 21:52:27 +08:00
iceman1001 c4c1601446 added rudimentary functions for doing AES authentication against MIFARE UL AES tags. (wip) 2024-02-15 16:20:47 +01:00
iceman1001 cb570cb103 the function return 32bits, a left over since the swap to 64bits. Making UL AES not being properly identified 2024-02-15 12:13:40 +01:00
iceman1001 0d17f453f7 reworked the hf st info output. A bit more clear now 2024-02-15 12:08:53 +01:00
iceman1001 c3e269d1b6 took PR #2283 and fixed it up. Added contact inteface to PCSC pass through (@gm3197) 2024-02-10 19:00:01 +01:00
iceman1001 30012344a7 some fixes for mfu info where it had some debug messages from device side and didnt test pwd all the time. Also allow keygen to take a block number now 2024-02-09 08:52:23 +01:00
iceman1001 666f0aacc7 renamed 2024-02-09 08:46:20 +01:00
iceman1001 521791dbb7 lf em 410x clone now allows for all zeros card number. Thanks to Amal for reminding me about it 2024-02-09 08:44:21 +01:00
iceman1001 ee794d7f1c text 2024-02-04 11:52:01 +01:00
iceman1001 c49a7c040b added a lf em 4x50 view command and lf em 4x50 dump now supports the nosave flag 2024-02-03 11:09:28 +01:00
iceman1001 81ce1fd4ab changed magic detection to use flags. Fixes previous problems with magic ntag, also renamed defines to seperate them better. 2024-02-02 15:53:57 +01:00
iceman1001 29c136167b text 2024-02-01 10:05:54 +01:00
iceman1001 0db2d1c92a added lf hitag eview command and unified some command description across the client 2024-01-30 11:02:10 +01:00
iceman1001 53a5087d67 added lf hitag view command to view dump files 2024-01-30 10:35:30 +01:00
iceman1001 5a828bd6a8 data diff now handles file sizes up to 4096 bytes 2024-01-29 18:57:19 +01:00
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