Commit Graph

17714 Commits

Author SHA1 Message Date
nvx 33eaaa535f Changed hf_cardhopper standalone mode to allow running over the internal Proxmark3 USB-CDC serial port.
This functionality can be enabled by adding the following to your Makefile.platform:
STANDALONE_PLATFORM_DEFS+=-DCARDHOPPER_USB
2023-12-29 22:06:57 +10:00
Iceman 56c3187852 Merge pull request #2216 from mishamyte/doc/magic-cards
Extended documentation for magic tags
2023-12-28 18:25:45 +01:00
iceman1001 9163e26e59 wrong size, need to verify its history 2023-12-28 10:34:31 +01:00
Iceman 78dfd84b00 Merge pull request #2219 from wh201906/hw_connect
Update connection type in CLI prompt
2023-12-27 15:36:01 +01:00
wh201906 e5dd9952d7 Misc
Change style of if block with single statement
Reset rx_empty_counter in uart_open()
2023-12-27 22:22:19 +08:00
wh201906 3aab9a4d04 Update CLI prompt after switching connection type 2023-12-27 22:21:50 +08:00
Iceman abdaf57cd9 Merge pull request #2218 from wh201906/net_simplify
Clean up the code for network connection
2023-12-27 13:56:50 +01:00
Mykhailo Shevchuk 5c69ea7524 ULtra + UL-5 2023-12-26 23:03:09 +02:00
Mykhailo Shevchuk 2cd0c04575 GDCUID 2023-12-26 22:39:52 +02:00
Iceman 18062deab1 Merge pull request #2215 from wh201906/tcp_check
Check TCP connection state
2023-12-26 21:24:18 +01:00
Mykhailo Shevchuk b9572d561e GDM + small refactoring 2023-12-26 22:11:04 +02:00
Mykhailo Shevchuk bc8004cf8e ZUID 2023-12-26 20:45:02 +02:00
Mykhailo Shevchuk 3a811a5872 UFUID 2023-12-26 20:23:40 +02:00
Mykhailo Shevchuk 49a319de51 FUID 2023-12-26 18:24:09 +02:00
wh201906 3fb4515893 Check TCP connection state 2023-12-26 21:23:43 +08:00
wh201906 39866f9ed2 Reuse code for TCP and UDP connection
Put prefix length validation before memcmp() to avoid overflow
2023-12-26 17:58:41 +08:00
wh201906 81780bd164 Add uart_parse_address_port() 2023-12-26 17:58:22 +08:00
wh201906 ecec001fdd Put uart_bind() into uart_common.c 2023-12-26 17:56:14 +08:00
Iceman 5dba7c342c Merge pull request #2214 from n-hutton/fpga_building_docker
Add a note on building in a docker image instead
2023-12-26 06:15:33 +01:00
n-hutton d04b936e2f Update fpga_arm_notes.md
Signed-off-by: n-hutton <nathan.cameron.hutton@gmail.com>
2023-12-25 23:16:15 +00:00
n-hutton 8f9f86dfbb Add a note on building in a docker image instead 2023-12-25 22:58:33 +00:00
iceman1001 5e06656580 fixed some overflows when debug printing client side when emrtd dump/info 2023-12-25 15:25:05 +01:00
iceman1001 417abcbb4c use appropriate return code 2023-12-24 10:44:46 +01:00
iceman1001 eb673d27b7 hf mfp dump - still a skeleton command. Need some more love. Fix #2212 2023-12-24 10:41:53 +01:00
iceman1001 0eea4e31c4 fiddling with thinfilm, which suffers in simulation 2023-12-18 22:18:21 +01:00
iceman1001 2c20c0c647 more debug messages 2023-12-18 22:16:51 +01:00
iceman1001 0c675df40d use MIX 2023-12-18 22:16:13 +01:00
iceman1001 0a820bbb67 added some easy test for saflok key generation 2023-12-18 22:15:54 +01:00
iceman1001 8bb74815b7 adapted some output 2023-12-18 22:14:51 +01:00
iceman1001 2bfc31a7b6 changed "data dectectclock" to try all clocks when not called with any params. Adapted the "lf search -1u" - with text and it should be more intuitive 2023-12-18 22:12:26 +01:00
iceman1001 bdbfa26f9a fix lf config --reset where the resetet value got overwritten. testing some rounding and textual changes to lf search -1uc 2023-12-18 14:52:56 +01:00
iceman1001 f8f135a3b7 style 2023-12-18 10:11:11 +01:00
iceman1001 7fa09a556a improved the autocorreleate detection. lf search -1uc got some more textual improvements 2023-12-18 10:04:19 +01:00
Mykhailo Shevchuk 9f7597c43b OTP & OTP 2.0 2023-12-17 23:14:40 +02:00
iceman1001 586acf0933 modified the autocorrelate part in lf search -1u command. It should be a more informative output and better bytes length reporting 2023-12-17 21:42:54 +01:00
Mykhailo Shevchuk 742080ed57 OTP + OTP 2.0 2023-12-17 22:07:30 +02:00
iceman1001 1c8b2110bb reduce stack usage 2023-12-15 16:39:42 +01:00
iceman1001 20d95fa3ea remove some more parity arrays 2023-12-15 09:33:02 +01:00
iceman1001 30c7ce1335 wait until timeout 2023-12-15 09:22:35 +01:00
iceman1001 c210b370fe remove par 2023-12-15 09:13:20 +01:00
iceman1001 04769f3183 fudan command is never 512 bytes. Converted to use MIX instead 2023-12-14 23:44:07 +01:00
iceman1001 fe4c5792fc make sure its initialised 2023-12-14 23:43:30 +01:00
iceman1001 4a303afecc in hf 14a raw the check for the datalength to be less than 512 bytes wasnt enforced. I might have gotten this wrong. But now we can use MIX instead. Same for APDUs. So sending 488 bytes to device is possible. I can only think of one person ever doing such a thing and I am sure I will hear about this 2023-12-14 23:42:51 +01:00
iceman1001 2709882312 untested/unused code but in the process of removing all OLD, will need to verify its never larger than 488 bytes 2023-12-14 23:40:30 +01:00
iceman1001 7fe12d4d1b payload should not be larger than 488 bytes, so we can use MIX instead 2023-12-14 23:39:21 +01:00
iceman1001 70520af03b style 2023-12-14 23:38:04 +01:00
iceman1001 6b9963b12a forgot to free the allocated memory 2023-12-14 23:37:37 +01:00
iceman1001 e7e3e86ea4 text 2023-12-14 23:36:12 +01:00
iceman1001 ab0ee92f57 the par[] array allocation was the root cause for the stack smashing. Making one static array to be reused across 14a functions took care of the issue.\nalso made the command allocation for ISO14 APDU sending a bigbuf allocation instead. Since nothing in the APDU has to do with EMULATOR memory etc. The trace log grows from start of bigbuff, allocations grows from end of bigbuff 2023-12-14 23:35:30 +01:00
iceman1001 95d1d5646f an attempt to reduce some stack memory. No need for the debug printing to be 512 bytes. Now limited to 200 chars 2023-12-14 23:29:43 +01:00