Commit graph

3919 commits

Author SHA1 Message Date
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
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
dx林 de0549a269 StaticNested fast decrypt(backdoor 2nt.). 2022-06-10 11:02:06 +08:00
iceman1001 1711338035 added a zero check for data save 2022-06-06 20:06:46 +02:00
iceman1001 ad64fdfeb7 adapt hf mfu eview to take prefix header lenght in consideration 2022-06-06 19:07:16 +02:00
iceman1001 c5d12bba0f adapt hw dbg to query device before setting log level 2022-06-06 18:21:28 +02:00
iceman1001 1f3ec36196 missing comma 2022-06-06 13:23:31 +02:00
iceman1001 b4255eea77 simplify save files 2022-06-06 13:20:39 +02:00
iceman1001 2c61530cba minors stuff, added some blowfish decrypt 2022-06-06 12:59:09 +02:00
iceman1001 2c06054881 text 2022-06-06 12:49:02 +02:00
iceman1001 18bcbf1894 style 2022-06-06 07:57:13 +02:00
mwalker33 f5170f1d18 Mifare Classic Value operations
Added increment value, decrement value via the supplied commands and set value via the normal write command.  Also added "get" to read a value block and decode/display.
2022-06-05 16:58:53 +10:00
iceman1001 4195c9d901 fix logic 2022-06-02 20:44:37 +02:00
iceman1001 f1e228e739 fix cid 393261 2022-05-31 22:30:41 +02:00
iceman1001 a5b5b2f08a fix alway defaulting to freq even if divisor was applied. Will still have issue when addressing both standard values.. 2022-05-30 22:35:33 +02:00
iceman1001 65b9a9fb76 widen mfp detection to include 0004 2022-05-21 09:28:38 +02:00
iceman1001 76da953bcb text 2022-05-16 19:46:31 +02:00
iceman1001 f38a3ad762 adapt load dump file refactoring else where 2022-05-15 23:56:35 +02:00
iceman1001 d4c3082741 refactoring loading dump files 2022-05-15 23:06:46 +02:00
iceman1001 f241bd4b4d added MAD key Sector0 detection and hf mf mad now takes a -f param for offline decoding of dump files 2022-05-15 11:37:06 +02:00
iceman1001 d7459d47b8 fix value block decoding. Its signed. Thanks @mwalker33 2022-05-14 15:26:48 +02:00
Philippe Teuwen 05e48b07cc remove gcc 12.1 warning: output may be truncated writing 21 bytes into a region of size between 15 and 24 2022-05-12 22:57:22 +02:00
Philippe Teuwen c4a8e0fa2e Remove gcc 12.1 warning: strncpy specified bound depends on the length of the source argument 2022-05-12 22:54:11 +02:00
iceman1001 fb91a1ca88 iclass print data now details legcay vs sio credential 2022-05-09 00:19:57 +02:00
mwalker33 320be614fe Update cmdhfmfdes.c
Update format type to match supplied data type (dfnamelen)
2022-05-08 15:54:56 +10:00
mwalker33 3098de7901 Update cmdhfmfdes.c
Add the ability to use hex for the DFName to support non printable dfname values (e.g. as needed to NDEF AIDs)
2022-05-08 12:09:43 +10:00
Philippe Teuwen 9880df8ca7 make style 2022-05-03 15:18:44 +02:00
Philippe Teuwen cc7054fc9b Fixed - search in inverted bitsteam as well 2022-05-03 15:18:05 +02:00
iceman1001 c78459a572 move detection outside SAK 02 check 2022-04-30 21:05:20 +02:00
iceman1001 82fba2d929 correct instructions 2022-04-30 20:52:16 +02:00
iceman1001 dd20083126 improved FUDAN identification and anti-collision select based on @lsylx issue #1599 2022-04-30 18:39:14 +02:00
Philippe Teuwen d31c9747d6 Partial fix of ioProx clone on EM4305 but EM4305 runs at RF/50 instead of the configured RF/64?? 2022-04-30 00:10:47 +02:00
Philippe Teuwen c1c093af62 Fixed support to clone Pyramic, Paradox and Awid on EM4x05 2022-04-30 00:04:49 +02:00
Philippe Teuwen cb5aacd33a make style 2022-04-29 16:44:38 +02:00
Philippe Teuwen 4d264fa63c Preparing EM4100 clone to EM4305 2022-04-29 16:44:38 +02:00
Philippe Teuwen f25c7b1179 text 2022-04-29 15:45:45 +02:00
Philippe Teuwen 7d0910a5ac fix lf cmdread help 2022-04-27 22:54:44 +02:00
iceman1001 da81c6806b style 2022-04-19 19:01:04 +02:00
iceman1001 77520ce489 fix lf sniff input values to be atleast a bit limited 2022-04-10 13:17:21 +02:00
iceman1001 159d5ffd1a fix #1661 - hf sniff shall ignore lf config settings 2022-04-09 19:04:31 +02:00
iceman1001 8d9dd8b346 make style 2022-04-09 18:48:13 +02:00
iceman1001 c5dd07fe8e make hint italic 2022-04-09 17:32:57 +02:00
Iceman c0725dcf05
Merge pull request #1659 from wh201906/plot_tip
Show a tip in the plot window
2022-04-09 17:21:31 +02:00
wh201906 87350205a5 Show a tip in the plot window 2022-04-08 21:15:05 +08:00
wh201906 4a8f425379
Fix a bug in "lf config"
When executing "lf config --reset", the averaging will be 0 rather than 1(default).
This is because the config.averaging is set to 1 at first.(line 621)
Then this argument is overwritten unconditionally by
"config.averaging = (avg == 1);"(line 634)
2022-04-08 19:50:38 +08:00
Robyn 7130d74426
Update cmdhfmfu.c
corrected spelling of ultralight (from ultraligth) in the error message of hf mfu ndefread
2022-04-04 00:57:22 +01:00
iceman1001 26603ad80a text 2022-04-02 15:44:55 +02:00
iceman1001 8a95a62b00 textual 2022-04-02 14:07:34 +02:00
iceman1001 fb5ba83569 added skeleton for HF NTAG424 category of commands 2022-04-02 14:06:16 +02:00
iceman1001 d4f5e729a1 make hf 14a apdufind less verbose in default output 2022-03-31 23:20:26 +02:00
Iceman 5a9432f78a
Merge pull request #1646 from lnv42/master
Fix USB communications when receiving empty frames
2022-03-30 18:03:20 +02:00
Yann GASCUEL 6bc37bb33d fix usb communications when receiving empty frame
E.g. before this fix, iso15 (and probably others) raw commands
expecting results but with no answer from the tag where showing the
previously received commands instead of : "[!] /!\ command failed"
2022-03-30 12:00:14 +02:00
Mark Dietzer ce8f89ccdb Fix --aid in examples for mfdes chk 2022-03-29 09:52:00 -07:00
Mark Dietzer 436bfff41e rename COMPILER_HAS_SIMD to COMPILER_HAS_SIMD_X86 2022-03-29 07:32:11 -07:00
Doridian 62704db5ed Add very basic feature flagging for NEON 2022-03-28 23:06:40 -07:00
iceman1001 9d1e75a9b5 --verbose now also prints the keys 2022-03-27 10:48:18 +02:00
iceman1001 b9baae4b32 --verbose flag now also prints a found value block in cyan color and the decoded value 2022-03-26 20:00:01 +01:00
iceman1001 492ea52dfa adding clone option 2022-03-25 02:24:52 +01:00
iceman1001 2cfe69d92c Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2022-03-24 14:24:51 +01:00
Philippe Teuwen 84e1784335 em4305 tearoff: fix displayed delays 2022-03-24 13:08:21 +01:00
iceman1001 758e7d9d2b improve hf mf wrbl with text and a new param --force to make sure user understands when writing to block 0. 2022-03-24 12:30:48 +01:00
iceman1001 cdf079a0c1 less false positives with indala. Check ratio of zeros in demod. 2022-03-23 23:03:23 +01:00
iceman1001 77e6626c9c textual 2022-03-23 22:40:53 +01:00
iceman1001 732a47944c remove verbose output. less crap on lf search 2022-03-23 22:39:36 +01:00
iceman1001 95d1631bed style 2022-03-23 18:22:03 +01:00
iceman1001 7aeb462e18 convert 15readercommand to use NG frames. Removing the confusing of status and length of received package in same return param. Now returns proper status and length is a ref param 2022-03-23 17:37:40 +01:00
Iceman 42498fd755
Merge pull request #1618 from nemanjan00/iso15693_read_multi
Add first and last block for ISO15693_READ_MULTI_BLOCK to command list
2022-03-22 17:59:33 +01:00
nemanjan00 5c9693529c Get output with UID 2022-03-22 00:55:37 +01:00
nemanjan00 24d3094012 Check cmd size 2022-03-21 21:34:38 +01:00
Benjamin DELPY 568236b265
Minor fix for EV2 XL Signature 2022-03-20 20:16:54 +01:00
iceman1001 f59f8dd528 hf mf restore accepts 4,7,10 hex bytes UID 2022-03-20 07:47:27 +01:00
iceman1001 507d5a43ba new param to view command to print all keys nicely and also print all found value blocks, if any 2022-03-19 20:23:11 +01:00
iceman1001 63612c9375 data diff - handle different lengths 2022-03-13 21:42:38 +01:00
iceman1001 85f16fd471 textual 2022-03-13 04:45:32 +01:00
iceman1001 15b8eb5935 coverity fixes 2022-03-13 04:27:23 +01:00
iceman1001 a45082e045 increase string line array 2022-03-13 03:57:10 +01:00
iceman1001 1953cd953b codeQL fix 2022-03-13 03:54:37 +01:00
iceman1001 a7d099bc2b remove debug statement 2022-03-13 03:08:46 +01:00
iceman1001 7fe8354b47 added ascii to diff command output 2022-03-13 03:04:04 +01:00
iceman1001 1916fa31b5 build error 2022-03-12 20:05:27 +01:00
iceman1001 1222d995ef remove c param 2022-03-12 19:21:09 +01:00
iceman1001 8a54e103cc added a new command 2022-03-12 18:57:56 +01:00
iceman1001 045f30d00d refactoring function to download file from spiffs 2022-03-12 18:57:06 +01:00
nemanjan00 e4c641b708 Add first and last block for READ_MULTI_BLOCK 2022-03-07 02:09:36 +01:00