Commit graph

899 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
iceman1001
4e07fc2b31 if enabled but no delay, then disable tear off just in case. enforce user to set a delay. if not this function will be triggered over and over which might confuse users normal operation 2025-05-27 09:43:11 +02:00
iceman1001
74f1936132 convert to our calloc instead since we prefer to know allocated shared memory is empty. Also removed a malloc(1) which is just a waste of bytes just like @NVX said a year ago at DefCon 2025-05-25 09:55:32 +02:00
iceman1001
b6a39768a1 text 2025-05-24 21:30:23 +02:00
iceman1001
c716467a7e fixed output for hf iclass trbl to not have tear off debug message and its more compact now 2025-05-23 10:52:09 +02:00
iceman1001
c847896a15 fix #2835 due to wrong variable used to calculate the size of the emulator memory to download , all get memory from emulator memory failed with a block no larger that 30-ish 2025-05-01 08:34:39 +02:00
iceman1001
42cdd34e59 fix #2834 refactored to use local pointer, no modification of input polling_parameters pointer is done. The compilation error error: initializer element is not constant .frames should be fixed. Using defines and removed some global vars 2025-04-30 18:55:07 +02:00
iceman1001
cb4a0e2333 rename struct to follow code style 2025-04-30 13:27:41 +02:00
Philippe Teuwen
49521078e5 fix mf aes key length and typo in make help 2025-04-20 11:20:14 +02:00
iceman1001
875b3c44b4 unify text - step 1 2025-03-25 10:12:16 +01:00
iceman1001
12ba14fa58 text 2025-03-22 13:04:18 +01:00
douniwan5788
4bde83b89d Added lf hitag htu support for Hitag µ/8265 2025-03-19 18:56:23 +08:00
douniwan5788
3d0c8cab5c Refactor Hitag low-level functions into hitag_common 2025-03-19 17:05:39 +08:00
leecher1337
0e2a02bdf0 Implement new command hf 15 slixprotectpage to do ISO15693_PROTECT_PAGE on slix tags 2025-03-09 11:54:51 +01:00
iceman1001
cef07dedf6 code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits 2025-02-21 15:38:33 +01:00
Philippe Teuwen
1acc030fd4 rework simaid & rename few vars 2025-02-12 08:44:42 +01:00
Jakub Kramarz
9696c97639 sam_picopass: adapt implementation from sam_seos 2025-01-27 20:17:43 +01:00
iceman1001
00f9403537 guard the smarttonfc command 2025-01-14 21:48:26 +01:00
Iceman
76ad5a5b51
Merge branch 'master' into cherry_pick_emv
Signed-off-by: Iceman <iceman@iuse.se>
2025-01-14 16:26:35 +01:00
Jakub Kramarz
0f7574c982 sam_seos: add option to send arbitrary requests 2025-01-07 00:05:41 +01:00
Jakub Kramarz
c08e6c47c8 sam_seos: add suppport for HID SAM communication with SEOS cards, based on bettse/seader project 2025-01-07 00:05:33 +01:00
Piotr Rzeszut
2fe0ba57b2 Change lf t55xx chk -m to read dictionary from spiffs file 2024-12-26 02:52:59 +01:00
Piotr Rzeszut
dd646a64a6 Add additional file exists check to remove errors 2024-12-26 01:25:54 +01:00
Piotr Rzeszut
d9a3e4f050 Refactor keys in flash statistics to check for files 2024-12-26 01:11:46 +01:00
Piotr Rzeszut
5af815f271 Mifare dictionary uploaded to spiffs using legacy function 2024-12-25 21:08:44 +01:00
Piotr Rzeszut
0e0dcf4f4e Fix memory erase before writing keys dictionaries for SPI flash with different page number than 4 - always erase on the last page. 2024-12-07 16:48:59 +01:00
Piotr Rzeszut
88d9345bc7 Correct list of flash pages to be erased after extenging Mifare flash dictionary area 2024-12-07 13:12:01 +01:00
Philippe Teuwen
830549b474 hf mf isen: add collect_fm11rf08s_without_backdoor option 2024-11-25 00:53:57 +01:00
n-hutton
4a23fb05f0 Cherry pick POC of emv simulation 2024-11-21 19:23:03 +00:00
iceman1001
2ad635ce57 style 2024-11-20 23:32:02 +01:00
ANTodorov
76aaef96cc
rework addressing the review comments
Reverted 'mfr_id' to 'manufacturer_id'
Moved devices table definition to flashmem.h
Single global variable 'spi_flash_pages64k'
The local structure holding the actual device data is used in firmware.c only

difference in code:
```
   text    data     bss     dec     hex filename
 223189  138560    6067  367816   59cc8 ./armsrc/obj/fullimage.elf <-- c9e751d darkside: fix backdoor support

 223437  138624    6075  368136   59e08 ./armsrc/obj/fullimage.elf <-- this commit
 ======================================
   +248     +64      +8    +320
```
2024-11-20 14:10:02 +02:00
ANTodorov
f3fa732062
refactor spi flash detection 2024-11-19 09:35:26 +02:00
ANTodorov
861c7efd26
fix missing offsets
the data was written, but it should be readable too...
2024-11-17 22:16:35 +02:00
ANTodorov
48ec109a1e
use all spi flash v0.1
* introduced a new communication command CMD_FLASHMEM_PAGES64K to get the number of 64k pages
* "the last page" is a special, holding the dicts and some other stuff, relocated to there
* raised timeout when wiping a mem page (W25Q16 looks a bit slower than W25X20BV)
* loop all pages in Flash_WipeMemory()
2024-11-17 19:03:15 +02:00
iceman1001
3a3ea75d12 style 2024-11-15 14:28:14 +01:00
iceman1001
d398576fc7 the 14a sim had a wrong size check of the irats pointer instead of actual size. Only way around it was to add the length at function call 2024-11-15 13:27:39 +01:00
Philippe Teuwen
5470303588 prepare MifareAcquireStaticEncryptedNonces for standalone 2024-10-16 01:48:36 +02:00
Philippe Teuwen
a11ba61b01 hf mf ecfill: add support for quick dump via backdoor auth 2024-10-13 22:55:41 +02:00
Adam Jon Foster
fd678ae1c7
Update appmain.c
Signed-off-by: Adam Jon Foster <me@evildaemond.com>
2024-09-23 14:49:25 +08:00
Adam Jon Foster
4ff0726eb6
Update appmain.c
Signed-off-by: Adam Jon Foster <me@evildaemond.com>
2024-09-23 14:34:56 +08:00
douniwan5788
8b7f34b4d9 refactor: Merge enum hitag_function. read/write has already been differentiated by command 2024-09-22 20:05:25 +08:00
iceman1001
db1b28f327 rename hts read/write commands to rdbl/wrbl to match rest of the client. added a lf hitag hts reader comamnd, modified the lf search to identify hitag2/s/82xx in the chipset detection 2024-09-14 21:00:42 +02:00
douniwan5788
80b9f6bb4d refactor: Renamed WITH_NO_COMPRESSION to WITH_COMPRESSION for consistent style 2024-09-04 22:48:55 +08:00
Philippe Teuwen
de86cd85d1 Added support for dumping FM11RF08S data at once 2024-09-03 11:43:57 +02:00
Philippe Teuwen
c73e2ea623 Added support for collecting all fm11rf08s nT/{nT}/par_err at once 2024-09-02 23:11:36 +02:00
douniwan5788
0710a37429 fix: bitstream_index_map overflow 2024-08-30 16:05:47 +08:00
douniwan5788
4b6653696c fix: CMD_DOWNLOAD_BIGBUF for getSamples() and download_trace() 2024-08-27 23:45:42 +08:00
douniwan5788
413a17a7a6 feature: Make the FPGA bitstreams working with SKIP_* define.
Now, you can enable at least two of your favorite technologies (such as LF and HF 14443A) attached a standalone mode and still have spare ROM space for other functionalities on a Proxmark3 Easy with a 256KiB ROM.
2024-08-26 20:55:59 +08:00
douniwan5788
c1fdb2e78c fix: WITH_LF WITH_LEGICRF WITH_ISO14443a 2024-08-26 20:55:58 +08:00
Philippe Teuwen
099a37af91 add --hardreset to hf mf isen 2024-08-07 16:09:11 +02:00