Commit graph

3402 commits

Author SHA1 Message Date
iceman1001
424e68dff6 fixing the wrong calculations 2023-08-24 10:20:01 +02:00
nvx
8dd963d305 make style 2023-08-24 16:34:33 +10:00
startrekdude
0d442d7f19 Add hf_cardhopper standalone mode
Adds the hf_cardhopper standalone mode, as one component of my (Sam Haskins) and
Trevor Stevado's long-range relay attack on ISO 14443-4 Type A protocols, as
presented at DEF CON 31.
2023-08-22 01:10:21 -04:00
Henry Gabryjelski
78262139ec more const for lfsampling and lfzx 2023-08-14 23:07:19 -07:00
Henry Gabryjelski
665cf3254b more const for lfops and some commonutil 2023-08-14 23:02:09 -07:00
Henry Gabryjelski
d78dae5904 more const for legicrf and the disabled LCD code 2023-08-14 22:50:25 -07:00
Henry Gabryjelski
db46e2ce11 more const for iso15693 2023-08-14 22:45:48 -07:00
Henry Gabryjelski
a8d84b2f13 more const for iso14443b 2023-08-14 22:16:11 -07:00
Henry Gabryjelski
efce76db53 more const for iso14443a 2023-08-14 22:07:04 -07:00
Henry Gabryjelski
8af8723528 const for i2c 2023-08-14 21:45:21 -07:00
Henry Gabryjelski
6eae62edec const for hitagS 2023-08-14 20:34:13 -07:00
Iceman
d6e36f8b7a
Merge pull request #2070 from henrygab/more_const
Enable `const` in more places
2023-08-14 15:21:17 +02:00
Alex
6947a61d98 Whitespace 2023-08-09 14:30:07 +02:00
Henry Gabryjelski
47ea4d6566 const for hitag2 2023-08-09 00:11:52 -07:00
Henry Gabryjelski
282c0904a5 visual alignment only .. no code change 2023-08-09 00:08:13 -07:00
Henry Gabryjelski
890ea0d321 const for hfops 2023-08-09 00:03:48 -07:00
Henry Gabryjelski
6f38c814a7 Note inconsistency in FPGA frame layout docs. 2023-08-08 23:59:42 -07:00
Henry Gabryjelski
6804e719e5 const for felica 2023-08-08 23:55:20 -07:00
Henry Gabryjelski
63a457c27f const and static functions for epa 2023-08-08 23:38:26 -07:00
Henry Gabryjelski
0af484fdee const for em4x70 2023-08-08 23:24:10 -07:00
Henry Gabryjelski
1a8ef489c8 const for em4x50 2023-08-08 23:03:34 -07:00
Henry Gabryjelski
e973aebae6 Workaround SPIFFS lack of const 2023-08-08 22:56:51 -07:00
Henry Gabryjelski
b279df2d46 more const - spiffs 2023-08-08 22:50:34 -07:00
Henry Gabryjelski
31645c56b0 more use of const 2023-08-08 21:09:31 -07:00
Henry Gabryjelski
7801abf7a5 Localize effect of unused macro 2023-08-08 21:06:17 -07:00
Henry Gabryjelski
5bd8058113 More const enabled 2023-08-08 21:03:36 -07:00
Henry Gabryjelski
5e71621c69 const improvement for BigBuf.h 2023-08-08 20:52:21 -07:00
iceman1001
007f9fcffb style 2023-08-03 13:02:42 +02:00
Philippe Teuwen
cb72897b17 mkversion.sh: now regenerates version_pm3.c (and consequently the binaries) only when needed
and add --force to forcibly regenerate version_pm3.c

and small fixes:
* document mkversion.sh usage
* remove call to mkversion.sh in client/experimental_lib/CMakeLists.txt on release
* remove call to old `mkversion.pl` in bootrom/Makefile
* just in case, mkversion.sh takes care of atomic write of the file
2023-08-03 01:03:24 +02:00
iceman1001
97a1f97308 style 2023-07-27 23:42:06 +02:00
iceman1001
4e6962864a fix loading mifare keys to flash memory, forgot to wipe the new area which we extended to 2023-07-27 22:53:01 +02:00
iceman1001
58f9ba0abf ugly hack to load the signature data if we are on a MFC Ev1 card. First we dont want to trigger the partial read unnecessary and secondly we dont save signature data in our MFC dump file. Need to adapt the JSON format for this 2023-07-27 22:23:33 +02:00
iceman1001
8bfb915624 adapt the leftovers 2023-07-27 19:01:46 +02:00
iceman1001
64ea48e7d0 remove fct in header file.\nreverted this decline 2023-07-27 18:57:11 +02:00
iceman1001
8ef1cdbd75 inceased waiting time.. 2023-07-27 18:56:11 +02:00
iceman1001
6ba002725f rmeoved some fct devices side regarding eml get/ set 2023-07-27 18:55:41 +02:00
iceman1001
5faf625032 adapt name to match code style 2023-07-27 18:02:53 +02:00
iceman1001
d9f2d5287e maybe the return codes are wrong in legic sim now 2023-07-27 16:46:52 +02:00
iceman1001
42700d3c51 skip sector 16 at all since it seems to always be locked down even if the keys authenticate. MFC Ev1 related and less errrors in autopwn when running against a MFC Ev1 in the dumping phase 2023-07-27 12:40:04 +02:00
iceman1001
96944aec69 reinstate less checks of data_available 2023-07-27 12:37:42 +02:00
iceman1001
123ef14667 style 2023-07-26 23:50:12 +02:00
iceman1001
fc3a518f28 There is a race condition when we go from iclass commands to mf command. Especially noticable when eload large files where we used to spam the device with usb packages.\ntry iclass eload, then mf eload, and you see the client hang. With this change we trigger a preload of the fpga image before we start uploading to the device. Current places I could trigger this bug was in eload and gsave. With this patch only the first call takes some time if fpga image must be loaded. The following goes fast.\n\n if you find that the client hangs when going between, this could be the root cause. 2023-07-26 23:47:55 +02:00
iceman1001
b696a2036f improved the eload upload times by using large chunks. Quite much faster now.\nAddapted the dots and text for eload / sim across the client 2023-07-26 23:39:27 +02:00
iceman1001
8793f1c9c5 color 2023-07-26 23:33:05 +02:00
iceman1001
fbdf50d756 minor text stuff 2023-07-26 17:49:14 +02:00
iceman1001
1cb15c84c1 adapting hf mf cget* commands to longer timeouts. Same with the quick eload used in autopwn among others.\nAlso adapted the return codes, so its more accurate in its reporting back to the client. Also added some more informative messages 2023-07-25 21:29:31 +02:00
iceman1001
514af4cf84 missing break 2023-07-23 12:51:12 +02:00
startrekdude
44b7aa2e8b Add a tagType for Seos cards to SimulateIso14443aInit
These values were observed from a standard-keyed 4K Seos card.
2023-07-21 16:02:46 -04:00
Philippe Teuwen
173379b999 Rewrote completely cmds & options lf hitag read/dump/wrbl/ta
for more coherence with other pm3 cmds.
Still there remain strange things but it should be a step in the right direction...
2023-07-21 01:08:24 +02:00
iceman1001
60cc36b398 Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2023-07-17 19:34:43 +02:00