Commit graph

18064 commits

Author SHA1 Message Date
Iceman 769a0aa26b
Merge pull request #2270 from martian/rename-cmdreadmem-flag
Rename CMD_READ_MEM_DOWNLOAD flag.
2024-01-24 17:11:15 +01:00
iceman1001 e4835e69a3 recompiled the fpga images 2024-01-24 17:06:41 +01:00
Martijn Plak 6202da367f coding style 2024-01-24 17:05:37 +01:00
Iceman 52bacab60c
Merge pull request #2269 from lnv42/master
iso15 sim & sniff improvments & HF_15SIM standalone
2024-01-24 16:56:35 +01:00
Martijn Plak 1d14bc38c5 Rename CMD_READ_MEM_DOWNLOAD flag.
It got included in pm3_cmd.lua but shouldn't be because it's not a command.
Also, the bitshift in the value upsets some versions of lua.
2024-01-24 16:36:52 +01:00
Yann GASCUEL c1bc9f75f6 iso15sim: fix type issue to make CodeQL happy 2024-01-24 15:47:39 +01:00
Yann GASCUEL 6a9eb0c97d add changelog entries 2024-01-24 14:09:00 +01:00
Yann GASCUEL 2aa419beba cmdhf15: addapt sim to new iso15sim eml format 2024-01-24 13:59:13 +01:00
Yann GASCUEL 524a439d6e cmdhf15: dump: fix arg parsing/sanitization 2024-01-24 13:59:13 +01:00
Yann GASCUEL 7f666d445c cmd_hf_15: fix & simplify flag parsing 2024-01-24 13:59:13 +01:00
Yann GASCUEL 7c44337941 cmdhf15: addapt dump to new iso15sim eml format 2024-01-24 13:59:13 +01:00
Yann GASCUEL e6bca3221d cmdhf15: addapt eview to new iso15sim eml format 2024-01-24 13:59:13 +01:00
Yann GASCUEL 0bbb054b33 cmdhf15: addapt eload/esave to new iso15sim eml format 2024-01-24 13:59:13 +01:00
Yann GASCUEL ddaba93d32 client: fileutils: iso15sim: add jfs15_v4 JSON format to fit eml fmt 2024-01-24 13:59:13 +01:00
Yann GASCUEL e5f519e085 iso15sim: fix tag initialisation when full 00 uid provided 2024-01-24 13:59:13 +01:00
Yann GASCUEL aabbf7d4b2 iso15sim: enhance parameter controls and add reply when error 2024-01-24 13:59:13 +01:00
Yann GASCUEL 05912ff130 iso15sim: rename, move and PACK iso15_tag struct to be usable in client 2024-01-24 13:59:13 +01:00
Yann GASCUEL a9b068108b iso15sim: fix: typo 2024-01-24 13:59:13 +01:00
Yann GASCUEL c8dce595ba hf15sim: fix: ignore manifacturer code is present in requests 2024-01-24 13:59:13 +01:00
Yann GASCUEL 548b804650 standalone: hf_15sim: fix typo 2024-01-24 13:59:13 +01:00
Yann GASCUEL 7cd9f20efb iso15sim: add support for addressed requests including IC number 2024-01-24 13:59:13 +01:00
Yann GASCUEL f71eaaec55 iso15sim: add suppot for SET_PASSWORD 2024-01-24 13:59:13 +01:00
Yann GASCUEL 4a45aaf065 standalone: hf_15sim: adapt instruction depending on flash presence 2024-01-24 13:59:13 +01:00
Yann GASCUEL d73576ecf5 standalone: hf_15sim: text/debug fix 2024-01-24 13:59:13 +01:00
Yann GASCUEL afa821b3ec iso15sim: fix: reset error to 0 after an error append 2024-01-24 13:59:13 +01:00
Yann GASCUEL 8dc87d5432 iso15sim: get more variable randoms 2024-01-24 13:59:13 +01:00
Yann GASCUEL a72e72a0f7 standalone: hf_15sim: reduce debug 2024-01-24 13:59:12 +01:00
Yann GASCUEL bad694d779 iso15sim: unfix the random number 2024-01-24 13:59:12 +01:00
Yann GASCUEL 40069f6fd1 iso15sim: fix compile issue: remove unused variable 2024-01-24 13:59:12 +01:00
Yann GASCUEL 9611b411da iso15sim: fix: remove reader command tracing from SimTagIso()
It's now already included in GetIso15693CommandFromReader().
2024-01-24 13:59:12 +01:00
Yann GASCUEL 120c9ab534 iso15sim: fix addressed request minimal size 2024-01-24 13:59:12 +01:00
Yann GASCUEL 5e2ff11838 iso15sim: fix CRC lenght calculation du to change in Crc16ex() 2024-01-24 13:59:12 +01:00
Yann GASCUEL 4365378a2c iso15sim: safer flag ckecking 2024-01-24 13:59:12 +01:00
Yann GASCUEL e6a509b8a7 iso15sim: fix reversed UID print 2024-01-24 13:59:12 +01:00
Yann GASCUEL 90c6dcd355 HF_15SIM: fix & add debug info 2024-01-24 13:59:12 +01:00
Yann GASCUEL c27cf92b76 iso15sniff: enable lowsignal sniffing 2024-01-24 13:59:12 +01:00
Yann GASCUEL fa3c2e386b improve iso15 sniff quality 2024-01-24 13:59:12 +01:00
Yann GASCUEL 3327b23edd iso15sim fix & clean 2024-01-24 13:59:12 +01:00
Yann GASCUEL f8514f48d7 standalone: add HF_15SIM Standalone mode code source
Also add it into documentation and build_all_firmwares.sh
(standalone mode was added in Standalone Makefiles in a previous commit)
2024-01-24 13:59:12 +01:00
Yann GASCUEL b62bedc1dc iso15sim: add support for GET_RANDOM_NUMBER and ENABLE_PRIVACY 2024-01-24 13:59:12 +01:00
Yann GASCUEL 2a73285573 iso15sim rework: add support for lot of commands 2024-01-24 13:59:12 +01:00
iceman1001 2d34713e58 text 2024-01-23 19:46:35 +01:00
iceman1001 d608d85e3b felica... shouldnt print dbhexdump.. it should be on client side 2024-01-23 19:18:44 +01:00
iceman1001 2be0bd14ee revert change of DMA size 2024-01-23 19:17:45 +01:00
iceman1001 ab0c46a22b fingerprint regardless if we got pwd nor not 2024-01-23 15:38:52 +01:00
iceman1001 081ff216eb style 2024-01-23 15:28:50 +01:00
Iceman 61a2a58a37
Merge pull request #2267 from nvx/hf_sniff_bigbuf_alignment_fix
Fix hf sniff
2024-01-23 15:16:01 +01:00
Philippe Teuwen ead228672a crack5opencl: Fix various printf compilation errors when enabling debug macros 2024-01-23 15:10:47 +01:00
Philippe Teuwen 4e29dfa2b5 crack5opencl: Fix MEMORY_FREE_ALL macro, fix segfault 2024-01-23 15:10:07 +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