Commit graph

3047 commits

Author SHA1 Message Date
Daniel Karling 315e58dac4 Added standalone mode that can load multiple different modes 2021-11-20 22:01:09 +01:00
pieterg 1ec2e95437
armsrc/felica: add polling response time slot support to felica_sim_lite
Make sure we respond in a valid time slot.
We were responding too early, the first time slot (which is always allowed) starts after 512 * 64 / fc.

Also, respond in incremental time slots. We could have used a fixed time slot (#0 is always allowed), but by using incremental time slots we have a better chance the reader will get our response in the expected time frame.
(when our timing is wrong, we have a risk of responding too early when using the first slot, and too late when using the last slot. Slots in the middle of the allowed range have the best chance)
2021-11-19 14:59:45 +01:00
iceman1001 67d6ba97a5 code style 2021-11-19 00:44:24 +01:00
Iceman 5f003f168d
Merge pull request #1531 from zabszk/master
Added ledcontrol to LF operations
2021-11-19 00:38:13 +01:00
Iceman 94b597febf
Merge pull request #1530 from pieterg/patch-1
armsrc/felica: fix crc offsets in felica_sim_lite
2021-11-18 17:43:48 +01:00
pieterg bf03177255 armsrc/felica: fix handling POLL with Request Code 1
apparent typo, listenmode should be set to false in order to send the
prepared response
2021-11-18 15:07:50 +01:00
Łukasz Jurczyk 218a4ba2ec
Added ledcontrol to lf functions 2021-11-18 15:00:54 +01:00
pieterg 3edd6b5b36
armsrc/felica: fix crc offsets in felica_sim_lite
the sync bytes should not be included in the crc calculation
(and the crc bytes should be placed at the end of the response buffers)
2021-11-18 12:20:09 +01:00
Łukasz Jurczyk 53611b5cad
Fixed ledcontrol in SimulateTagLowFrequencyEx 2021-11-17 16:15:27 +01:00
iceman1001 982e669a77 magsafe iterates 7a/7b/7c/7d for wupa 2021-10-23 20:45:46 +02:00
iceman1001 0e5e9163a1 added apple magsafe polling, thanks to @tcprst 2021-10-23 18:54:44 +02:00
Philippe Teuwen 4a458b2b79 typos 2021-10-18 22:35:12 +02:00
Anze Jensterle b90359b26f
Made ECP delay 15ms
Found better results with 15 ms
2021-10-17 16:04:53 +02:00
iceman1001 37b89c7b11 add ehanced contactless polling to 14a reader/raw commands 2021-10-17 11:38:37 +02:00
Philippe Teuwen 232843477c typos 2021-10-16 23:44:53 +02:00
mwalker33 e72fbb4983
hw tune (#1519)
* Update appmain.c

Patch to fix incorrect lf voltage reading when no lf antenna is connected.
v_lf134, v_lf125 should be set to 0 in case they are not updated later and leave it with an invalid random value.
2021-10-14 10:05:19 +02:00
Philippe Teuwen 88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen 6f6a3161a9 Fix typos, applying Fix-spelling-errors.patch from Kali, thanks Sophie!
da550dbec7 (6e9d1bb9c071feb1a5ad25ec24296a3f6751f2d1)
2021-10-04 20:48:55 +02:00
Philippe Teuwen 4d46c1907f Added CROSS_CC and similar args for maintainers, see Maintainers.md 2021-09-21 13:50:15 +02:00
iceman1001 d3696ee2c3 Revert "Release v4.14434 - crimson"
This reverts commit 2c4c676db2.
2021-09-18 21:44:56 +02:00
iceman1001 2c4c676db2 Release v4.14434 - crimson 2021-09-18 21:44:55 +02:00
Philippe Teuwen 9f36ce1b9d cppcheck reduce variable scopes 2021-09-05 23:42:14 +02:00
Philippe Teuwen 4c4e291588 iso14443b: remove redundant assignment, cf issue #1497 2021-09-05 19:54:04 +02:00
Philippe Teuwen 7404695e46 remove tabs 2021-09-05 00:49:57 +02:00
iceman1001 78b48a6ce7 change default standalone mode to LF_SAMYRUN 2021-09-04 22:13:54 +02:00
Philippe Teuwen 847c3d531e missing include 2021-09-04 01:26:57 +02:00
Philippe Teuwen 2db34e0ad6 cppcheck invalid printf arg type 2021-09-04 00:54:59 +02:00
merlokk ca40ee99d6 make style 2021-08-30 12:36:48 +03:00
Philippe Teuwen 2ce30201b2 Fix lf em 410x watch and standalone bug introduced with Electra changes 2021-08-28 19:10:14 +02:00
merlokk d46d23d079 make style 2021-08-25 14:44:06 +03:00
Philippe Teuwen 72d9bc94bb
Merge pull request #1479 from AxisRay/fix-bcc-error
fix bcc incorrect
2021-08-22 16:14:38 +02:00
Ray Lee 3d93a10ad0 fix bcc incorrect 2021-08-22 20:48:54 +08:00
Philippe Teuwen b63dcb707e rework desfire declarations 2021-08-22 13:56:35 +02:00
Philippe Teuwen e79fb92074 Add fpga-xc3s100e and icopyx support 2021-08-21 23:45:46 +02:00
Philippe Teuwen d56d8f0f65 rename common_area typedef and global 2021-08-21 23:29:56 +02:00
Philippe Teuwen bc76c7263e reduce some globals scope 2021-08-21 23:14:54 +02:00
Philippe Teuwen 5b54385347 rename globals 2021-08-21 23:08:26 +02:00
Philippe Teuwen 437f5f6448 rename typedef structs 2021-08-21 22:45:03 +02:00
Philippe Teuwen f4f14317e1 rename typedef structs 2021-08-21 22:24:58 +02:00
Philippe Teuwen 8280fc3c07 rename global version_information and its struct type 2021-08-21 20:11:22 +02:00
Philippe Teuwen ce57637c80 rename globals GraphTraceLen OddByteParity pm3_capabilities 2021-08-21 17:53:54 +02:00
Ray Lee 0b01b060cf fix naming convertion messes up 2021-08-17 13:02:22 +08:00
Ray Lee 5768ae9395 make style 2021-08-14 10:59:50 +08:00
Ray Lee dd340c60a2 make it better
Directly write into eml mem
Infinite loop
2021-08-14 10:50:28 +08:00
Ray Lee 14fb3fb118 only one loop 2021-08-12 13:46:46 +08:00
Ray Lee abb8e9f4c0 hs_mfcsim refactored
add multi cards support
2021-08-12 13:31:32 +08:00
Ray Lee 6d673b1063 fix uid 0000000 2021-08-09 18:58:47 +08:00
Ray Lee e1b6e342d9 follow alphabetic order 2021-08-08 16:11:57 +08:00
Ray Lee f317fc38f5 Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 into new-standalone-mode 2021-08-08 14:58:29 +08:00
Ray Lee 6fae3b7b0e add new standalone mode MFCSIM 2021-08-07 22:19:08 +08:00
merlokk 09bb3f62a1 make style 2021-08-05 00:01:53 +03:00
Philippe Teuwen ee22a824ce Add support for Electra demodulation 2021-08-04 15:11:30 +02:00
iceman1001 8472c6ffe7 make style 2021-07-29 15:00:00 +02:00
iceman1001 765d2acbb0 t55xx detect/read/write/dump etc will fail if you set lf config to something. Moved the reset / restore of lf config to device side for T55XX readblock. t55xx sniff still obeys lf config since it uses lf sniff beneath. 2021-07-29 10:51:31 +02:00
iceman1001 bc5d7084c3 change t55xx detect to unset lf config decimation to 1 if its value wasnt 1. Thanks to @mwalker33 2021-07-28 09:51:35 +02:00
iceman1001 0a32e3ca05 fix hf 15 sample 2021-07-27 19:16:28 +02:00
merlokk 73f62ae27e make style 2021-07-26 18:00:15 +03:00
iceman1001 9564863d95 fix LF_THAREXDE compilation on Proxspace by removing double defined global var 2021-07-25 14:03:06 +02:00
iceman1001 e8267e2788 textual 2021-07-25 08:31:43 +02:00
iceman1001 d1ee335675 fix makefile 2021-07-25 08:31:32 +02:00
Stephen Shkardoon 19e118a343 Add a standalone FacilityCode bruteforcer for HID
This requires a known card number, but often works as 1 is a default.
2021-07-22 15:58:29 +12:00
Philippe Teuwen 3c31ee793d make style 2021-07-08 09:53:50 +02:00
iceman1001 2c9851d751 added new standalone mode hf_reblay by @salmg 2021-07-07 13:36:23 +02:00
iceman1001 366014706a fix hf_msdsal standalone patch from @nexting 2021-07-06 07:56:42 +02:00
iceman1001 f0c1665427 Revert "Release v4.13441 - midsummer"
This reverts commit 55e1b6714b.
2021-06-25 23:39:10 +02:00
iceman1001 55e1b6714b Release v4.13441 - midsummer 2021-06-25 23:39:10 +02:00
iceman1001 e2ca0a4abd style 2021-06-24 18:47:11 +02:00
iceman1001 b993236be2 send sync signal to clock when reset 2021-06-24 17:20:48 +02:00
iceman1001 c522de5b79 added "hf mf gview" to view contents of a magic gen3 gtu card 2021-06-24 14:59:33 +02:00
iceman1001 c8e007c9a3 text 2021-06-23 11:42:33 +02:00
rioux 8afd8fd2b6 Standalone update for lf nexwatch 2021-06-23 10:00:56 +02:00
iceman1001 5b8ddfc47e little vs big endian, forgot one 2021-06-22 07:53:43 +02:00
iceman1001 0e7e13db7d fix for client crash in lf hitag eload. Hitag simulation still now working (wip) 2021-06-20 23:02:18 +02:00
iceman1001 f6534e18be style 2021-06-20 16:36:31 +02:00
Philippe Teuwen 1f27be076b make miscchecks 2021-06-04 21:58:38 +02:00
Philippe Teuwen a330401769 change strategy for refs to linker symbols to get compatible again with old GCC (6.3), tested on GCC 11 too 2021-05-25 16:47:13 +02:00
Philippe Teuwen 701f618f97 make clean fpga_version_info.c 2021-05-23 02:37:17 +02:00
Philippe Teuwen 9a00ad0230 rename version.c into version_pm3.c to avoid clash with mbedtls and other future clashes 2021-05-21 00:15:20 +02:00
tharexde 2f17034254 fixed evaluation of eml file size 2021-05-15 16:00:33 +02:00
iceman1001 3a920f4e0c unsigned shift 2021-05-14 22:43:08 +02:00
Philippe Teuwen 13a9afa36d Uniformize source code ref and fix gcc 11.1 warning
Using "extern char linker_symbol[]" notation
cf https://sourceware.org/binutils/docs/ld/Source-Code-Reference.html
2021-05-13 23:12:15 +02:00
tharexde e312e5ced8 watchdog for 4x50 brute force 2021-05-13 19:23:07 +02:00
iceman1001 3b7153045f fix compiler warning on arm-none-eabi 11.1.0 2021-05-13 13:28:03 +02:00
iceman1001 19a2ce4cb3 fix compiler warning on arm-none-eabi 11.1.0 2021-05-13 13:24:54 +02:00
iceman1001 a6712295c7 textual - hw status on device side 2021-05-11 16:11:33 +02:00
iceman1001 078ed4dbd4 init header as 0xFF 2021-05-10 13:59:29 +02:00
Philippe Teuwen 75328a34b6 arraylen 2021-05-09 23:37:45 +02:00
iceman1001 3fce16b7d9 fix cppchecker warnings 2021-05-07 12:27:13 +02:00
Iceman d0f2f6622b
Merge branch 'master' into feature/iso15693-standalone 2021-05-06 00:23:33 +02:00
iceman1001 e4f55556ba style 2021-05-05 21:04:48 +02:00
Tim Mudford 4fd4256acd Added standalone mode for ISO15693 cards. 2021-05-05 19:55:58 +12:00
iceman1001 6d71b9327e ISO15693 SLIX modifications found in @g3gg0 's offical pm3 fork, looks like WIP, with more focus on a standalone mode. I took the base fcts 2021-05-04 09:40:30 +02:00
iceman1001 218dbafdff fiddling with simulating ndef messages on MFC and android 2021-05-03 21:47:12 +02:00
iceman1001 ece1f555f5 style 2021-05-03 21:31:40 +02:00
iceman1001 cd9090b6c8 hf iclass chk - now uses NG 2021-05-03 20:01:12 +02:00
iceman1001 305903c513 rework ISO15693 defines, removing duplicates 2021-05-03 09:35:38 +02:00
iceman1001 80817cea00 hf iclass chk - rework OLD -> NG. And textual 2021-05-03 09:31:51 +02:00
iceman1001 f50691e3de hf iclass eload - now uses NG 2021-05-02 18:41:43 +02:00
iceman1001 49c764de8c fix proper null-terminator in filename. Thanks to @metalauricle 2021-05-02 16:18:02 +02:00
iceman1001 788876538d convert from OLD to NG 2021-05-01 19:01:15 +02:00