Commit graph

10087 commits

Author SHA1 Message Date
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
Iceman 429139f174
Merge pull request #1765 from mwalker33/spiffs
Prep spiffs for bigger data files
2022-09-01 05:22:35 +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
Rick Farina (Zero_Chaos) 07c6871861
do not use LD if you aren't using ld
All the uses of LD actually wanted g++, so just use CXX and remove an
unused LD define

Closes: https://github.com/pentoo/pentoo-overlay/issues/1259
Fixes: https://github.com/RfidResearchGroup/proxmark3/pull/1758
2022-08-29 21:04:03 -04: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 ab3e988441 test of PR 1756 2022-08-20 23:20:28 +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
Michael Micsen Johannessen Wehus a80680d7a0 Added script to simulate HID mifare credentials
Only supports H10301
2022-08-17 01:24:38 +01:00
Iceman 76fefacbc4
Merge pull request #1752 from kormax/mobile-aids
Improve ECP annotation, add mobile AIDs
2022-08-15 20:17:05 +02:00
UberGuidoZ 1103f69b96
Removed dupes, added more keys, fixed some HEX o/L
Signed-off-by: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com>
2022-08-13 21:21:32 -07:00
UberGuidoZ d2a7e93778
Correcting L to 1
Signed-off-by: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com>
2022-08-13 13:27:56 -07:00
UberGuidoZ 5dce2d3f5a
Correcting some O to 0
Signed-off-by: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com>
2022-08-13 13:25:43 -07:00
UberGuidoZ 11065e965a
Added Vigik verified by quantum-x & iGuard Simple
Signed-off-by: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com>
2022-08-13 01:15:55 -07:00
kormax 5fed5a8e62 add mobile-first aids 2022-08-11 19:30:05 +03:00
kormax 5e093962bc improve ecp2 annotations to support varying length, append terminal type to annotation 2022-08-11 19:25:35 +03:00
UberGuidoZ 3e15b8f2db
Added Vigik and Blackhat keys
Signed-off-by: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com>
2022-08-07 00:48:20 -07: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
George Talusan 76bc54a414 use core.search_file when searching for amiibo resources 2022-08-01 00:12:41 -04: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
George Talusan 27e24482af add comment indicating pyamiibo should be installed 2022-07-30 22:09:45 -04:00
Iceman b6f0921554
Merge pull request #1738 from gtalusan/master
determine qmake path similar to uic/moc
2022-07-30 21:00:27 +02:00
George Talusan 3e222397ac determine qmake path similar to uic/moc 2022-07-30 14:48:14 -04: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
Iceman e303293477
Merge pull request #1737 from gtalusan/master
fix homebrew dependency detection
2022-07-30 19:54:45 +02:00
George Talusan 6fb4723cd6 fix homebrew dependency detection 2022-07-30 12:18:43 -04:00
iceman1001 fd7216fa89 text 2022-07-30 16:52:09 +02:00
iceman1001 36ee2f082b maur keys 2022-07-30 16:51:17 +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
Iceman 96f977ed8a
Merge pull request #1733 from gtalusan/amiibo-sim
add hf_mfu_amiibo_sim to simulate Amiibo binary dumps
2022-07-26 20:38:36 +02:00
George Talusan 17ee1ba3bb add hf_mfu_amiibo_sim to simulate Amiibo binary dumps 2022-07-26 13:22:32 -04:00
iceman1001 0ba072118e calloc 2022-07-25 08:01:38 +02: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
Nathaniel McHugh 8cfbe6657b Add Paxton hitag2 password 2022-07-22 21:18:51 +01: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 07e5f62cab follow same pattern with assuming memory alignment 2022-07-12 08:59:21 +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 45ea60c92b add to cmake 2022-06-30 23:38:40 +02: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
Iceman 1c7dc22ac2
Merge pull request #1691 from UberGuidoZ/patch-2
122 new keys from Flipper Zero community
2022-06-15 17:34:57 +02:00
Doridian 049e73d45e This actually is bytes 2022-06-14 23:54:43 -07:00
UberGuidoZ 275feecbaf
122 new keys from Flipper Zero community 2022-06-14 18:50:05 -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
Iceman 5e20905a9d
Merge pull request #1687 from Doridian/fix/use-snprintf
Switch usage of sprintf to snprintf
2022-06-12 11:43:31 +02:00
Doridian c24cf70a7b forgot default case 2022-06-11 16:56:45 -07:00
Doridian 6ed6571430 code scan has an issue with this i guess 2022-06-11 16:38:58 -07:00
Doridian 83943aafc8 and done 2022-06-11 16:16:56 -07:00
Doridian 1a4437550b all cmd done 2022-06-11 15:40:33 -07:00
Doridian 789f807e83 100 2022-06-11 15:32:08 -07:00
Doridian 6b951960f1 below 150 2022-06-11 12:29:27 -07:00
Doridian 2aa524be94 below 250... 2022-06-11 12:02:48 -07:00
Doridian 107bfe469a down to precisely 300 problems 2022-06-10 13:16:04 -07:00
Doridian fbed379691 snprintf in some commands 2022-06-10 13:02:23 -07:00
Doridian fe4599fb14 Use snprintf in client/deps 2022-06-10 12:29:18 -07:00