Commit graph

4211 commits

Author SHA1 Message Date
Iceman f9aa183382
Merge pull request #1821 from DidierA/gen4_ident
Add Magic Gen4 GTU detection
2022-11-25 17:23:19 +01:00
DidierA 9a0427d4d2 Add Magic Gen4 GTU detection and symbols for Gen4 GTU protocol. 2022-11-25 10:13:33 +01:00
Iceman 2453d9bc81
Merge pull request #1820 from jmichelp/master
Fix overflow in SPI memory when writing default key dictionnaries.
2022-11-25 07:21:09 +01:00
Iceman f3642c1a6e
Merge pull request #1819 from toucan12/ksx6924
Add initialization command response interpretation on the ksx6924 (Tmoney) card
2022-11-24 03:52:43 +01:00
Iceman bad56a74ff
Merge pull request #1818 from DidierA/hf_mfu_esave
use calloc(), not malloc()
2022-11-24 03:48:08 +01:00
Jean-Michel Picod 1adec4dfb2 Fix overflow in SPI memory when writing default key dictionnaries.
Boundaries were defined in the memory layout but weren't enforced
by the client, causing an overflow when trying to load a
dictionnary that was too big.
It's too hard to enforce it on the ARM side as the command is a
generic write.
Now that limits are defined, also outputs them as part of the
`hw status` command.
2022-11-24 03:16:58 +01:00
Geonyeob Kim 878d123a78 parse the hf ksx6924 init response 2022-11-24 00:59:42 +09:00
Geonyeob Kim 0890884cd5 textual 2022-11-24 00:57:13 +09:00
Geonyeob Kim 864b632a19 typo 2022-11-24 00:54:47 +09:00
DidierA d4f08abec3 Change calloc() so it passes Widnows build test
Code compiles under linux (not tested yet, I have no proxmark available right now)
Previous commit fails windows build test with:

src/cmdhfmfu.c: In function 'CmdHF14AMfuESave':
src/cmdhfmfu.c:4220:19: error: array subscript 'mfu_dump_t[0]' is partly outside array bounds of 'mfu_dump_t[0]' [-Werror=array-bounds]
 4220 |         end = dump->pages ;
      |                   ^~
In function 'GetMfuDumpFromEMul',
    inlined from 'CmdHF14AMfuESave' at src/cmdhfmfu.c:4202:15:
src/cmdhfmfu.c:4105:21: note: object of size 1076 allocated by 'calloc'
 4105 |     uint8_t *dump = calloc(MFU_MAX_BYTES + MFU_DUMP_PREFIX_LENGTH, sizeof(uint8_t));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-23 11:40:56 +01:00
DidierA 182d167aad use calloc() 2022-11-21 22:05:24 +01:00
Iceman 1527677bc4
Merge pull request #1815 from DidierA/hf_mfu_esave
Add hf mfu esave
2022-11-21 21:29:05 +01:00
DidierA b857205504 Add hf mf gsave 2022-11-21 19:18:14 +01:00
DidierA 584e0ad833 Added hf mfu esave 2022-11-21 01:05:48 +01:00
iceman1001 b36eaac3bf Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2022-11-20 16:49:41 +01:00
iceman1001 5b790afe43 renamed param dict / f for more consistency overall 2022-11-20 16:48:20 +01:00
iceman1001 317ddf42bc style 2022-11-20 16:47:49 +01:00
iceman1001 4dfcd44edd return default value when arg is not enforced with u32_1 2022-11-20 16:43:12 +01:00
iceman1001 4fb096966e extra checks for argument parsing of ints. And some text updates. There are other int parsing but they are checked with mandatory param int1 2022-11-20 16:34:45 +01:00
DidierA 9dbd6e5f23 change help text to fit screen 2022-11-20 15:31:58 +01:00
DidierA 1d00ef797c hf 14a sim, hf mfu sim: add hint for Ultralitgh EV1 2022-11-20 01:26:42 +01:00
DidierA f828a727c9 Fix: hf 14a sim parsing args was taking tag type as number of reads if no -n option given 2022-11-20 01:01:11 +01:00
iceman1001 6c163fa262 added a check for static encrypted nonces when collecting encrypted nonces for hardnested to run. Will abort the collection if detected. 2022-11-15 07:07:26 +01:00
DidierA da1ce30533 hf mf gview, gload : 2x speed
on Gen4 GTU cards, a select was made before each read or write command.
This commit adds a flag parameter to the read and write commands,
and gload and gview commands use this flag to tell when to select and end.

The trace buffer also contains the complete operation instead of the last
blokc read/write.

Speed gain:
`time ./proxmark3 -p /dev/ttyACM0 -c 'hf mf gview --4k'`
before: about 20s, now: about 7s

`time ./proxmark3 -p /dev/ttyACM0 -c 'hf mf gload --4k -f ../../../dumps/4k.bin'`
before: about 23s, now: about 10s
2022-11-13 01:37:52 +01:00
Didier Arenzana 2f49b2c8cf
Merge branch 'RfidResearchGroup:master' into hf_mf_gen4_rewrite 2022-11-13 00:46:07 +01:00
iceman1001 c393b0caca adapted hardnested and autopwn to detect MFC Ev1 cards and use the known sector key in the key recovery vectors 2022-11-12 09:39:28 +01:00
iceman1001 bde4e8d754 test.2 2022-11-12 07:16:02 +01:00
iceman1001 c74e095dc9 test.. 2022-11-12 07:12:41 +01:00
iceman1001 d465c5a921 a test thingy 2022-11-12 06:32:08 +01:00
iceman1001 9353f8ce9a fix coverity CID #402839, resource leak 2022-11-11 23:51:30 +01:00
iceman1001 dbb5e6d4c1 fix coverity CID #402836, #402837, #402838 2022-11-11 23:49:49 +01:00
DidierA 885911c469 Rewrite of magic Gen4 GTU commands : refactor and speed 2022-11-09 15:49:07 +01:00
DidierA 3ac9c61cbf Fix read oob in data diff 2022-11-08 02:04:13 +01:00
DidierA 4f2d86558e correct wrong type in formatting function 2022-11-05 20:20:01 +01:00
DidierA 876abf2818 Add hf mf gload, ggetblk, gsetblk 2022-11-05 19:40:38 +01:00
iceman1001 42b48fec85 Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2022-11-04 21:11:06 +01:00
iceman1001 4b54c79104 fix a square bracket missing in trace list -c when annotating crc bytes. Added color support for crc bytes and square brackets when no ansi colors is supported 2022-11-04 21:10:47 +01:00
Jean-Michel Picod 32d47cb6a4 Fix prolematic return codes in mifare.
Parts of the code returned positive values for error codes, which
could result in the client exiting (return value 2).
2022-11-04 11:06:59 +01:00
iceman1001 97263ab3b1 fixed to get UID from even partial trace lists if 9320 exists 2022-11-02 19:27:03 +01:00
iceman1001 fe11c1876f hf mf dump - if keyA failed to read, zero out its key to indicate in dumped file that the key is unknown. 2022-11-02 15:01:46 +01:00
iceman1001 fede61296b fix return types to follow our style better. 14a/mf needs more love 2022-11-02 14:34:07 +01:00
Jean-Michel Picod b768f8e1a3 Fix comment and unreachable boundary. 2022-10-31 20:28:35 +01:00
Jean-Michel Picod cee55d43ee Modified logic to also try key B on MF cards.
In configurations where keyA is unknown but ACLs are configured to allow
all blocks to be read by keyB the command `hf mf dump` was failing.
This commit attempts to fix this behavior by trying keyA first and
swapping for keyB if half of the allowed tries failed.
2022-10-31 20:13:09 +01:00
iceman1001 d4b71a1774 modified lf indala sim to also accept facility code and card number 2022-10-30 16:29:50 +01:00
iceman1001 a89983d1b3 text 2022-10-30 08:54:33 +01:00
iceman1001 043fed0103 added lf indala brute command. Based on lf hid brute, can go up and down in cardnumbers 2022-10-30 08:54:13 +01:00
iceman1001 063e2da49d Revert "Release v4.15864 - Radium"
This reverts commit 93ca7b4f6e.
2022-10-29 01:34:05 +02:00
iceman1001 93ca7b4f6e Release v4.15864 - Radium 2022-10-29 01:34:05 +02:00
iceman1001 3f92d5ee67 style 2022-10-29 01:26:12 +02:00
Noah Clements af8e84d711
Fixed "Residency Permit" Output
Bug discovered while scanning Swedish Residency Permit, resulted in document type of "German Residency Permit".
Fixed for better accuracy.

Signed-off-by: Noah Clements <noah.clements@unb.ca>
2022-10-27 16:56:51 -03:00
iceman1001 ba225905d3 changed "mf eload" / "iclass eload" to be able to transfer a file from SPIFFS to EMULATOR memory. Original idea from @natesales 2022-10-26 06:57:21 +02:00
iceman1001 5b90ea8117 skeleton code found at https://github.com/ZRD-Saar/proxmark3 2022-10-25 07:56:57 +02:00
iceman1001 a1633f9323 length? 2022-10-24 19:11:53 +02:00
iceman1001 417f1b515d style 2022-10-24 18:52:24 +02:00
iceman1001 5280ada054 bug fix, added 0xFE in the wrong place 2022-10-24 18:49:40 +02:00
iceman1001 8d24e105ea text 2022-10-24 18:49:08 +02:00
iceman1001 2025c8480a added "hf 14a ndefwrite" - writes ndef to type4a tag 2022-10-24 18:48:56 +02:00
iceman1001 8940982c85 changed "hf mfdes lsapp" to print dfname regardless if it is not a genuine strign 2022-10-23 18:45:20 +02:00
iceman1001 e1ae1cdd26 style 2022-10-23 03:20:24 +02:00
iceman1001 2627f3b3b9 the ndef printing is now more dense and it honors verbose output 2022-10-23 02:59:27 +02:00
iceman1001 69fd1ac889 now skips non ndef formmated sectors 2022-10-23 02:17:49 +02:00
iceman1001 ac29a893cf fix hf md ndefread, to correctly skip non ndef formatted sectors 2022-10-23 02:15:47 +02:00
iceman1001 a2c4682d18 Change "hf mf ndefwrite" added option to fix bad ndef records by adding a correct block and a terminator block 2022-10-22 19:51:33 +02:00
iceman1001 17470a3720 keeping inside the arrays 2022-10-22 19:02:18 +02:00
iceman1001 6a74c8fc96 be more lenient with parsing ndef 2022-10-20 17:35:57 +02:00
iceman1001 d3248a7059 make style 2022-10-20 17:35:24 +02:00
iceman1001 76f793c9af added hf mf ndefwrite command. to write a ndef record to mifare tag 2022-10-20 17:34:46 +02:00
iceman1001 9e9d8ddbde style 2022-10-20 17:31:23 +02:00
iceman1001 acb6fcb970 changed "hf mf cwipe" - add a genuine block0 2022-10-20 17:31:01 +02:00
iceman1001 98de0f434b style 2022-10-20 17:30:03 +02:00
iceman1001 f9d0649fe1 text 2022-10-16 18:30:15 +02:00
iceman1001 04f4863dd4 fix label can only be part of a statement and a declaration is not a statement 2022-10-16 18:10:14 +02:00
Iceman bf28e36cd9
Merge pull request #1797 from alisander/master
Update cmdlfhitag.c
2022-10-16 18:02:07 +02:00
iceman1001 71f96ba1e7 make style 2022-10-16 17:56:12 +02:00
iceman1001 2d25716704 verify that there is a card on the proxmark before continuing 2022-10-16 17:52:10 +02:00
iceman1001 eff967923f changed hf mf cwipe with genuine data 2022-10-16 17:48:13 +02:00
iceman1001 885a43aadb added a new command to format a MFC tag as NFC with NDEF empty message 2022-10-16 17:45:46 +02:00
Alisander be1c5305f8
Update cmdlfhitag.c
correct issue where only 4 or 6 key are used. 

Signed-off-by: Alisander <alessandro@lisi.cc>
2022-10-16 14:26:51 +02:00
Iceman a0e275acca
Merge pull request #1781 from DidierA/fix-srt512-uid
print_sr_blocks(): don't assume uid is at begining of dump
2022-10-15 16:33:32 +02:00
iceman1001 ba1def2409 added well used keys 2022-09-23 04:12:51 +02:00
DidierA 3e582b246a print_sr_blocks(): don't assume uid is at begining of dump 2022-09-20 23:01:25 +02:00
Iceman bf143219a0
Merge pull request #1779 from DidierA/fix-srt512-dump
Fix dump of SRT512 tag
2022-09-20 09:07:43 +02:00
Iceman ec5afd00ad
Update cmdlfparadox.c
printing an used variable

Signed-off-by: Iceman <iceman@iuse.se>
2022-09-20 09:07:25 +02:00
DidierA c145c4b78b Fix dump of SRT512 tag 2022-09-20 01:52:53 +02:00
iceman1001 fa5e69ceef fix coveriy 2022-09-09 20:27:49 +02:00
iceman1001 fbc9e3f631 p2p identification 2022-09-09 19:01:16 +02:00
Markus Walter 69100e0e04 Use printf options to output variable width segments. 2022-09-06 11:00:47 +02:00
Markus Walter b49201ea6e Use pm3_save_dump() for storing to disk. 2022-09-06 10:00:43 +02:00
Markus Walter f511333b4d Fix linter complaint. 2022-09-05 11:13:18 +02:00
Markus Walter 42eafc5e93 Merge branch 'master' into iso15693-improvements 2022-09-05 10:56:32 +02:00
Markus Walter de99fee83c Add commands hf 15 eview and hf 15 esave. 2022-09-05 10:36:31 +02:00
Markus Walter 7cc47eebba Accept eml and json files for hf 15 eload. 2022-09-05 10:36:02 +02:00
iceman1001 7a831fc94e CID 398738, missing init 2022-09-03 11:23:44 +02:00
iceman1001 1a3aa7eb02 missing var 2022-09-03 11:23:01 +02:00
iceman1001 eaebf46961 CID 398739 , init of array w structs 2022-09-03 10:51:45 +02:00
iceman1001 0f96bcff05 CID 398740, init a struct 2022-09-03 10:51:45 +02:00
mwalker33 e0eeafe27f mdu ndef error
Patch to stop buffer overflow on ndef read from card
Typo fix in change log.
2022-09-02 22:35:48 +10:00
iceman1001 41f36199aa format string 2022-09-02 05:34:47 +02:00
Iceman b82feee002
Merge pull request #1766 from markus-oehme-pg40/iso15693-emulation
ISO15693 emulation
2022-09-02 05:29:16 +02:00
Markus Walter d79bd5b6b8 Switch hf 15 sim to use image in emulator memory. 2022-09-01 18:53:31 +02:00
Markus Walter 03fa757395 Implement hf 15 eload command to move image dump to emulator. 2022-09-01 18:52:57 +02:00
Markus Walter eef1ce9c33 Enhance simulation of ISO15693 devices.
This adds the following things:
- support for reading multiple blocks,
- configurable block size,
- ability to provide a memory image.
2022-08-31 12:25:22 +02:00
mwalker33 d8c18e6db8 Prep spiffs for bigger data files
- added spiffs check after flase wipe to force it to update its status
- added spiffs write and append to write in 8192 byte chunks to allow spiffs space to be freed in time.
- fixed spiffs dump to correctly handle issues if it could not allocate bugbuff space.
2022-08-31 18:51:39 +10:00
iceman1001 bebfe0ad2f allow data load to load binary files as raw signal from device (@mwalker33) 2022-08-28 12:23:26 +02:00
iceman1001 e18194028b style 2022-08-24 07:25:10 +02:00
iceman1001 811f76785d textual 2022-08-22 12:25:25 +02:00
iceman1001 c27264e4c4 text 2022-08-22 05:49:47 +02:00
iceman1001 6eaff873ba remove debug statements 2022-08-21 11:12:11 +02:00
iceman1001 b6908ab9c7 need an even better check if we got anything 2022-08-21 11:01:30 +02:00
iceman1001 38a664f00c lets see if this still detects sentinels 2022-08-21 09:40:36 +02:00
iceman1001 28449aa580 hf mf mad - detect and decode of HID PACS 2022-08-21 09:40:06 +02:00
iceman1001 643f77996a hf mf mad - should be available offline too. Added some checks to quit if no device present 2022-08-21 00:52:53 +02:00
iceman1001 ec403485b6 init vars 2022-08-20 13:09:43 +02:00
iceman1001 4a31ce1656 hf mfdes mad textual 2022-08-20 13:08:24 +02:00
iceman1001 5a6440f298 fix double param name 2022-08-18 23:16:08 +02:00
kormax 5e093962bc improve ecp2 annotations to support varying length, append terminal type to annotation 2022-08-11 19:25:35 +03:00
iceman1001 003623e5a7 fix binary string printing. Making sure no left over data is in static array 2022-08-06 13:31:46 +02:00
iceman1001 62980b5038 refactored topaz commands. It still uses a global var with dynamic memory. Added rdbl, wrbl, view, dump commands to match rest of client 2022-08-05 22:46:59 +02:00
iceman1001 5a4b8c8224 fix #1748 - failed to take in consideration size of legic struct packet when uploading data to device 2022-08-05 15:34:16 +02:00
nvx d11999a811 Fix eload from json files failing (ie, hf mf eload -f file.json) when the dump is the full size.
Also fixed an accidental client double free when loading dumps.
2022-08-05 18:38:51 +10:00
iceman1001 06e54d4399 textual 2022-08-02 23:51:34 +02:00
iceman1001 88d45d641c Do not create empty dump files 2022-08-02 22:49:25 +02:00
mywalk 2459fd43ee
Fix undefined symbol when build with clang 2022-08-02 21:36:17 +02:00
Iceman 1ec4e98a3c
Merge pull request #1740 from gtalusan/emrtd-images
add -i to hf emrtd info
2022-07-31 17:10:57 +02:00
George Talusan 566b805357 add -i to hf emrtd info 2022-07-31 09:46:00 -04:00
iceman1001 bf81acb55b hf topaz reader - output and continuous mode support. hf topaz info - output text changes 2022-07-31 13:08:37 +02:00
iceman1001 de9be10d28 14a reader/info - now hints topaz tags better 2022-07-31 13:06:55 +02:00
iceman1001 2cfc4dc733 minor hitag adaptations 2022-07-30 20:11:39 +02:00
iceman1001 a236604716 style 2022-07-30 20:11:15 +02:00
iceman1001 1df51f3875 add hf lto reader command with continious mode 2022-07-30 15:42:07 +02:00
iceman1001 ac0088791a style 2022-07-30 11:49:30 +02:00
iceman1001 02d07f16c9 prepair for extended reading for LTO 2022-07-30 11:48:37 +02:00
iceman1001 8f8f9f97ad prepping for fudan pm3 commands 2022-07-30 11:47:03 +02:00
George Talusan d89ed735b0 add hf_mfu_amiibo_restore to restore an Amiibo dump to a blank NTAG215 2022-07-28 22:05:49 -04:00
iceman1001 6290d50564 make style 2022-07-25 08:00:30 +02:00
iceman1001 2f7083a59a text 2022-07-25 07:45:57 +02:00
iceman1001 51408c89f6 fix #1722, this should fix the breaking on OSX for apdufind. Seems u64 triggers something in memory. Passing ref to array and makeing array u32 instead 2022-07-24 11:41:25 +02:00
iceman1001 9040a1a7d7 causes extra lines in trace list. 2022-07-24 08:21:49 +02:00
iceman1001 3001e2edce fix some SE / SIO ends with 0x05 , 0x00 only 2022-07-23 18:08:33 +02:00
iceman1001 5a8d9b7954 prep mac 2022-07-23 17:39:40 +02:00
iceman1001 cb82e848cc dense format to follow previous .... style 2022-07-23 17:37:04 +02:00
nvx 0177d2185f Added more details to the annotations of hf mfdes list output 2022-07-23 22:26:25 +10:00
Tiernan 925589a214
Merge branch 'master' into feature/iclass_dump_view_suppress_repeated_blocks 2022-07-23 12:39:14 +10:00
nvx 728e6d27c7 add preference for dense output option and -z cmd flag 2022-07-23 12:37:07 +10:00
iceman1001 881c32e0be change - added desfire product type identification 2022-07-22 09:47:11 +02:00
Tiernan 1b8fdfd5f5
Merge branch 'master' into feature/iclass_list_keys_on_check 2022-07-22 17:13:11 +10:00
Iceman 5b435ea034
Merge pull request #1727 from nvx/bugfix/iclass_key_access
Fixed incorrect card config bit being checked for iClass key access flag
2022-07-22 08:44:19 +02:00
nvx 30cc57d3aa Fix some bugs in the iClass SIO detection and printing 2022-07-22 14:06:47 +10:00
nvx 1acecc29b1 Changed hf iclass view to suppress consecutive blocks with repeated contents 2022-07-22 14:01:13 +10:00
nvx eb6b170e51 Changed hf iclass list to display matched keys on the CHECK command rather than the card response, and made it check for elite keys too 2022-07-22 13:58:04 +10:00
nvx 5c5a53963a Fixed incorrect card config bit being checked for iClass key access flag 2022-07-22 13:52:09 +10:00
nvx c36395f2cc Add hf gallagher decode command 2022-07-20 17:49:54 +10:00
iceman1001 6d950e1e48 fix coverity scan 2022-07-18 22:17:53 +02:00
merlokk c8b5ddc0fc fix int 2022-07-18 16:22:52 +03:00
merlokk e33e99e268 comment 2022-07-18 14:31:42 +03:00
merlokk 7818161e95 change option 2022-07-18 14:24:21 +03:00
merlokk 8df134f11a display fix 2022-07-18 14:22:16 +03:00
merlokk 24806f70e0 add tk15 decoding 2022-07-18 14:19:37 +03:00
merlokk 60d5cf1983 get samples from graph buffer instead of reading 2022-07-18 12:48:40 +03:00
merlokk 6f35f7c878 add no-fix parameter to data load to not to change source pm3 files 2022-07-18 12:46:11 +03:00
Oleg Moiseenko 1e1b669297
Merge pull request #1717 from merlokk/tk_mmbit
add mmbit
2022-07-18 11:39:49 +03:00
merlokk 075c530962 fix crc 2022-07-18 10:11:13 +03:00
merlokk 29086a42ab add check in the read command 2022-07-18 09:59:13 +03:00
merlokk 4b55047c5b add mmbit 2022-07-18 09:47:15 +03:00
iceman1001 0554ec220f hf plot - now uses NG 2022-07-17 19:29:47 +02:00
iceman1001 4fc72f8112 fix some colors 2022-07-11 22:03:08 +02:00
iceman1001 e7f7925dec adding asn1 tvl decoding of SIO in decrypt, view, eview commands. Available when giving the -v verbose flag 2022-07-11 06:44:07 +02:00
iceman1001 1faca20f5e textual when flashing 2022-07-10 14:41:09 +02:00
iceman1001 0d5d6d8add fix credential coloring in iclass 2022-07-10 13:01:48 +02:00
Oleg Moiseenko 497d261efb
Merge pull request #1715 from merlokk/hf_sniff_skipping
`hf sniff`. skip some bytes from data to get long data to the buffer
2022-07-10 11:36:05 +03:00
iceman1001 9d337dbc01 fix missing AIA block in dump 2022-07-09 21:16:22 +02:00
iceman1001 3bbcefacf9 fix hf iclass decrypt wiegand 2022-07-09 18:20:23 +02:00
iceman1001 c6386c68e0 hf iclass textual and saving to files unified 2022-07-09 17:02:44 +02:00
merlokk 660858a02c add some verbosity 2022-07-09 17:34:26 +03:00
merlokk e8b742414e client part 2022-07-09 17:27:04 +03:00
iceman1001 dcea185ca2 fix viegand decoder in hf iclass rdbl 2022-07-09 14:14:48 +02:00
iceman1001 08c797a638 now colors SR types of iclass 2022-07-09 13:47:44 +02:00
iceman1001 cf58ba72f2 use defines 2022-07-09 12:25:55 +02:00
iceman1001 e17fc29e41 added the skeleton for fudan card support 2022-07-09 12:25:03 +02:00
iceman1001 11e097c1bb fixing hf search loop and lessing the debug statements 2022-07-07 23:43:45 +02:00
iceman1001 4697994ec7 added hf xerox reader, and added it to hf search 2022-07-07 23:26:10 +02:00
merlokk 9fa8d9175b make style 2022-07-08 00:19:26 +03:00
merlokk 5f1c41503b texkom simulation timeout and verbose fixes 2022-07-08 00:15:10 +03:00
iceman1001 dca7e81d71 enable continious mode and spelling mistakes 2022-07-07 23:06:15 +02:00
iceman1001 367c84bce3 newline 2022-07-07 22:57:36 +02:00
iceman1001 9b2bf3e544 adapted to hf search etc.. 2022-07-07 22:45:15 +02:00
iceman1001 6ff336759f fix ascii to print only the char C 2022-07-07 15:28:03 +02:00
merlokk 1a620c5563 add timeout and some debug messages 2022-07-06 19:41:08 +03:00
merlokk a88cc901d9 update sending parameters 2022-07-06 18:55:35 +03:00
iceman1001 346b929c4d see if this silences coverity 2022-07-06 14:57:12 +02:00
iceman1001 8065d7eda0 trying to free a pointer 2022-07-06 14:56:42 +02:00
iceman1001 2d4db27539 fix hex printing 2022-07-06 14:56:08 +02:00
iceman1001 2494fef7fd fix cid 357754 2022-07-06 13:55:59 +02:00
iceman1001 50429c8476 cppcheck fixes 2022-07-06 12:43:21 +02:00
iceman1001 805b8e1e44 cppchecker fixes 2022-07-06 12:42:25 +02:00
iceman1001 88b583417e fix cid 395628 - make local copy. Odd that it frees it 2022-07-06 12:34:18 +02:00
iceman1001 742194896d fix cid 395629 - simpler logic 2022-07-06 12:21:14 +02:00
iceman1001 1d66525b8e fix cid 395631 - making a local copy instead of object 2022-07-06 12:14:54 +02:00
iceman1001 d7165b3aa9 comments to @merlokk 2022-07-06 12:08:02 +02:00
iceman1001 a49e2ff342 fix cid 395634 2022-07-06 11:59:49 +02:00
iceman1001 444eabd207 fixed hex_to_buffer fct. 2022-07-06 07:38:04 +02:00
Nemanja Nedeljkovic 86f0f2cc75 cleanup 2022-07-05 18:12:49 +02:00
nemanjan00 187d10060b Bootloader mode 2022-07-05 16:44:11 +02:00
nemanjan00 0d41ed0bba --reboot-to-bootloader 2022-07-05 16:15:05 +02:00
iceman1001 9407be8ea8 fix overflow in print hex 2022-07-04 22:10:23 +02:00
iceman1001 009b91e096 limit hex print outs 2022-07-04 19:23:44 +02:00
iceman1001 c08c2dcf3a make sure size_t doesnt overflow an int 2022-07-04 18:49:30 +02:00
iceman1001 e98675f8e5 fix faulty enum 2022-07-04 10:20:01 +02:00
Oleg Moiseenko 56eaf34315
Merge pull request #1706 from merlokk/texkom_sim
Texkom simulation
2022-07-04 00:36:05 +03:00
merlokk 4ada5a9952 add help 2022-07-04 00:05:04 +03:00
merlokk d2e671b7d1 send raw data and compose raw data from id 2022-07-03 23:21:20 +03:00
iceman1001 7b732e152e added hf 14b view and modified dump command to be prepared to handle the different tags 2022-07-03 20:06:11 +02:00
merlokk 6a28ca39f6 tk13 transmit sketch 2022-07-03 00:20:56 +03:00
merlokk 1e91895b90 simulate sketch 2022-07-02 22:45:32 +03:00
iceman1001 9ecbe2da41 fix coverity div by zero 2022-06-30 23:28:29 +02:00
iceman1001 cc93354148 fix coverity and style 2022-06-30 23:28:09 +02:00
iceman1001 56525cc453 style 2022-06-30 22:54:13 +02:00
iceman1001 6d699d66bc adding support to read fuji/xerox tags, thanks to user Horror 2022-06-30 22:50:52 +02:00
merlokk 22f1e8e209 check noise at the antenna 2022-06-28 19:06:17 +03:00
merlokk 4df92e2655 crc for tk17 works 2022-06-28 12:26:20 +03:00
merlokk 67fc919c72 make style 2022-06-28 11:45:48 +03:00
merlokk 45804fb45c show code as in the duplicator and some comments 2022-06-28 11:41:03 +03:00
merlokk 7feca91687 refactoring decoders and verbosity 2022-06-28 09:47:27 +03:00
merlokk 5fd951a799 remove debug 2022-06-28 00:36:09 +03:00
merlokk 383dc934d6 print modulation type 2022-06-28 00:31:42 +03:00
merlokk 6bb71fb860 bit names refactoring 2022-06-28 00:22:29 +03:00
merlokk a18e50b18a move print code to one place and check preamble 2022-06-28 00:14:50 +03:00
merlokk 2fdf09606f calc tk17 raw bitstring 2022-06-28 00:05:18 +03:00
merlokk f163862496 fix codeql 2022-06-27 23:50:23 +03:00
merlokk cea9806226 tk17 raw reading 2022-06-27 23:47:02 +03:00
merlokk e341ce68e4 remove crc debug and add dynamic threshold 2022-06-27 19:00:24 +03:00
merlokk a0d37a84c6 read tk13 with crc ok 2022-06-27 18:39:15 +03:00
merlokk a58c5b57ba calculate signal periods 2022-06-27 01:03:13 +03:00
merlokk 2248eadc7f locate start of the sequence and level 2022-06-27 00:31:15 +03:00
merlokk 5784999002 first look at the data 2022-06-25 16:11:59 +03:00
merlokk f007db6661 fill samples - get samples 2022-06-25 15:42:11 +03:00
merlokk 0392cfaa9b read response 2022-06-25 15:23:04 +03:00
merlokk 541c060a5d hf read adc low level command 2022-06-25 00:36:42 +03:00
merlokk ded87056d4 hf texkom command 2022-06-24 22:26:10 +03:00
merlokk f3b5c7e8ba decode password in case of the read/write comand 2022-06-24 15:17:02 +03:00
iceman1001 b9b6f06bbb style 2022-06-23 22:02:42 +02:00
iceman1001 6118b11a3e fix proxspace breaking 2022-06-15 18:48:36 +02:00
iceman1001 e3b6086941 fix data diff, where wrong length was used 2022-06-15 18:09:50 +02:00
Doridian 049e73d45e This actually is bytes 2022-06-14 23:54:43 -07:00
Doridian 824d2129a0 Fix wrong length calcuation in *_to_buffer utilities 2022-06-14 15:56:04 -07:00
iceman1001 2a25e7e1a3 missing fix 2022-06-14 23:40:03 +02:00
kormax b11b4e66af Change 'hf 14a list' to annotate more ECP frame formats 2022-06-14 21:42:50 +03:00
iceman1001 f4011f3283 fix test sequence 2022-06-13 07:27:05 +02:00
iceman1001 b841bd4f41 skip readB for staticnested and skip checkkeys 2022-06-12 14:26:55 +02:00
iceman1001 372ab2af98 style 2022-06-12 11:51:50 +02:00